permalink

"ndettenbach" <[email protected]> Wed, 07 Jul 2010 14:28:35 -0000
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
Dear all,


usually just a simple task - but i cant get it running.

In several websites with hundreds to thousands of pages i want to provide a "permanent link" to PAGE objects - callable by links from external third party websites, even if the object is moved within the ZMS object tree.

This means i want to provide something "permanent" like
   http://zmswebsite.org/permalink_to?id=e123

which points to the current place of e123 - i.e. in
   /e45/e123

or
   /e123

or i.e.
   /e56/e121/e123

For this i tried different solutions - i.e. with
  findFilteredTreeNodes(REQUEST, PAGES, ["id", "e123"])
which won't work for me - other ZMS methods seems to need the "full" path - 

or with some own (but slow) python script which recurses the complete tree.

Are there any ideas how i can find the current object within a zms tree by the object id (e123)?

I assume the solution would be easy - but it seems i'm completely blocked here.

Many thanks in advance.


best regards,


Niels.
---
http://www.syndicat.com