User Profile

Collapse

Profile Sidebar

Collapse
nirmala
nirmala
Last Activity: Aug 29 '13, 05:35 AM
Joined: Aug 9 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to render a template page by calling its method from TAL portlet(@@manage-portlet

    I want to know that how to call a method which is in file system (createPictMenu .py in my case) from TAL Portlet(from zmi) which is in @@manage-portlets(in the Add Portlet drop down list).
    I did like this

    1.Created one new class for the address(tal portlet) in my createPictMenu. py
    2.I then registered the portlet in configure.zcml.

    Here is my code bit:

    Code:
          class
    ...
    See more | Go to post

  • how to replace navigation portlet with my own template file in plone4.3

    can anyone tell how to replace a navigation portlet with my own template. I did like this

    1. I created one new class for portlet in my .py file and its look like below

    Code:
      class navigation_address(Renderer):         
                  index = ViewPageTemplateFile('templates/portlet_address.pt')

    2. I registered the portlets in overrides.zcml like
    Code:
    
    
    ...
    See more | Go to post

  • how to delete all .svn hidden files/folders from a project in ubuntu 11.10

    Hi I have a problem in using svn repository. When i try to update my project in svn i m getting the following error

    oomsys@oomsysmo b-6:~/brundelre3$ svn st
    svn: warning: '.' is not a working copy
    oomsys@oomsysmo b-6:~/brundelre3$ svn up
    Skipped '.'

    I tried the things which explained about these error previously from this links

    Removing .svn files from all directories

    ...
    See more | Go to post

  • Type Error: __init__() takes exactly 5 arguments (3 given) in python



    Hi

    Can you please edit the line which is wrong in my code.I tried as lot but its not working

    thanks
    Nirmala Sudhir...
    See more | Go to post

    Leave a comment:


  • TypeError: __init__() takes exactly 5 arguments (3 given)

    Hi everyone

    I m trying to hide plone 4.3 default logo from the file system using viewlets. Here is my code which inherits the default code of viewlets from eggs directory. (i.e /eggs/plone.app.layou t-2.3.4-py2.7.egg/plone/app/layout/viewlets/common.py ->class LogoViewlet(Vie wletBase)

    Code:
    [B]common.py[/B]
    
    
    from cgi import escape
    from datetime import date
    from urllib import unquote
    ...
    See more | Go to post
No activity results to display
Show More
Working...