Inline Zend Navigation links in view content saved to db

Posted by takeshin on Stack Overflow See other posts from Stack Overflow or by takeshin
Published on 2010-06-09T08:20:30Z Indexed on 2010/06/09 8:22 UTC
Read the original article Hit count: 163

I'm storing the page content in the database (both as markup and HTML code) and displaying this content in the view (let's say it's CMS or forum post).

The this data have also some links to internal pages existing in sitemap (Zend_Navigation object). It's easy to insert the link in page body just by using <a> tag. But the contents of this inline links does not change when I update the sorce XML for Zend Navigation (url's, attributes, ACL permissions).

How do you handle this case? Special markup for the link, converting the link using url view helper? Iterate Zend_Navigation object extracting specific link (one by one)?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about cms