Strange things with Treetag
Hi, This is probably a trciky question, but hopefully someone might be able to help me out. I am currently using a treetag for the main navigation element of my website. It works fine and dandy, however if I go directly to a page nested deep in my web-site, (either by a normal link other than the tree, or by directly typing in the URL) the tree navigation wont reflect this change. In essence I guesss what I would likew todo is expand all the parent folders in the tree. I have a feeling the only way for me to accomplish this will be to edit the source for the Treetag element, I have had a look at the source and it is easy to read and well documented, unfortunately as I am still trying to get my head around Zope I don't really know where I should even start. Any assistance would be grateful, Cheers, Ben Leslie
I have a quick and dirty bit of javascript that I wrote yesterday to do this. It simulates the user clicking on the + sign of the tree to open up the appropriate branches. This means it is kind of slow, but it works (at least in IE5 - I haven't had the chance to test with Netscape yet). If you are interested then let me know and I will mail it to you. The ideal solution is to change the Python source, but I just don't have the time at this point to do so. Robert Leftwich Ben Leslie wrote:
Hi,
This is probably a trciky question, but hopefully someone might be able to help me out.
I am currently using a treetag for the main navigation element of my website. It works fine and dandy, however if I go directly to a page nested deep in my web-site, (either by a normal link other than the tree, or by directly typing in the URL) the tree navigation wont reflect this change. In essence I guesss what I would likew todo is expand all the parent folders in the tree.
I have a feeling the only way for me to accomplish this will be to edit the source for the Treetag element, I have had a look at the source and it is easy to read and well documented, unfortunately as I am still trying to get my head around Zope I don't really know where I should even start. Any assistance would be grateful,
Cheers,
Ben Leslie
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Ben Leslie -
Robert Leftwich