Quick Nav:  Online Store   |   Login | Register

last child

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
rekreisler
<20 Posts
Posts:7


03/24/2008 6:17 PM  

I am using a template to generate a menu for levels 0-1.  I need to add a cap to the bottom of each level 1 list, so I test to see if the anchor belongs to last child, and add another list item with a cap style if it is.  This works great until the level 1 child of the last level 0 item - for some reason the cap is not added.  I've attached the template file and the menu generated from the template file.  Any ideas on how to make this work?


Attachment: 1324174638571.txt
Attachment: 1324174640154.txt

John Mitchell
Posts:3188


03/24/2008 7:59 PM  
Hi,
Please respond to the notification of this post directly through e-mail and I will send you the latest build. This sound like a bug that I recently fixed.
rekreisler
<20 Posts
Posts:7


04/06/2008 11:34 PM  

I uninstalled the previous version and installed the new version, but I still seem to have the same issue.  Is there anything else I should try or tricks I'm not thinking of?  Is there anything else I could provide to make it easier to track down the issue?

John Mitchell
Posts:3188


04/07/2008 12:16 PM  

Try adding the extra LI to the front of the closing item instead of the end of the anchor like this:



[/Level1-Item[IIF({Tab.IsLastChild}='True',</li><liclass="cap">)</li>]] 

rekreisler
<20 Posts
Posts:7


04/08/2008 11:08 AM  

Hmm - that makes the cap show up right before the actual last item for every item 1 level list, except for the last one, where I still get no cap showing up at all.

list 0 items 1-n

    list 1 item

    list 1 item

    cap

    list 1 item

 

last list 0 item

    list 1 item

    list 1 item

    list 1 item

John Mitchell
Posts:3188


04/09/2008 11:58 PM  
Ok, sorry for the delay.
I think I have tracked down the problem.
I'm sending you a new DLL. Let me know if you do not get it, or how it works out.
rekreisler
<20 Posts
Posts:7


04/10/2008 8:45 AM  
Thank you! It works perfectly now! I'll send a link once the site is accessible to the outside world - it looks like I'll have to use the module for some fancy side navigation as well, as the client decided they're not happy with simply having the child links displayed on the side, and want a solution with the current page and it's cohorts displayed, with the children of the current page shown beneath the current page listing.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software