From: steven s. <ste...@go...> - 2008-02-29 16:06:13
|
Hi Can anyone help? I am wanting to add a specific id for each list item in the navigation portlet, so that I can then individually style each list item. This was previously possible in Plone 2.5 by amending the portlet_navtree_macro by adding the following line of code: tal:attributes="id python:'level_%s_%s' % ( level, item.getId )" I cant figure out how to achieve the same result in Plone 3. Can anyone help? Thanks Steven On Wed, Feb 27, 2008 at 6:31 PM, Alexander Limi <li...@pl...> wrote: > It does. #portlet-navigation-tree. > > If that doesn't exist in 3.0, it's a bug. > > > > On Wed, Feb 27, 2008 at 12:01 AM, Espen Moe-Nilssen <es...@me...> wrote: > > > > > > while we are at it: It would be nice if the (new) navigation portlet got its > > own id (for example for having its own css) > > As far as I know it doesnt.... > > > > > > > > Den 27. feb. 2008 kl. 06.32 skrev Alexander Limi: > > > > On Sun, 24 Feb 2008 10:26:49 -0800, emerperson <ray...@bi...> > > wrote: > > > > > > Where of where can I get into the guts of the navigation portlet??? > > > > Click the "Manage portlets" in the root of your site as an admin user. That > > will give you quite a few options you can adjust — if you want to go any > > deeper, you'll have to customize the template and possibly the underlying > > Python code. |