Thanks Andrew! That would definitely work but for some reason that method isn't in my version of ZF (1.8.1) although it appears in the docs for 1.8:
http://framework.zend.com/apidoc/1.8/Zend_View/Helper/Zend_View_Helper_Navigation_HelperAbstract.html#setRenderInvisible -- *Hector Virgen* Sr. Web Developer Walt Disney Parks and Resorts Online http://www.virgentech.com On Tue, Aug 31, 2010 at 12:46 PM, Andrew Ballard <[email protected]> wrote: > On Tue, Aug 31, 2010 at 2:38 PM, Hector Virgen <[email protected]> wrote: > > On Tue, Aug 31, 2010 at 10:57 AM, Hector Virgen <[email protected]> > wrote: > >> I'm using ZF 1.8.1. My sitemap config contains visible and non-visible > >> pages. The non-visible pages should not appear in the site's navigation > menu > >> (this works) but I can't get them to appear in the sitemap.xml. I have > tried > >> disabling the sitemap validators but it hasn't helped. Here's how I'm > >> rendering the sitemap: > >> > > After getting my hands dirty and digging through the source I managed to > get > > around this by extending the Sitemap view helper and overwriting the > > accept() method to allow non-visible pages to be accepted. This only > affects > > the sitemap rendering and not the menu. I'm still open to other > suggestions > > though :) > > > > What about setRenderInvisible(true) on the sitemap view helper? > > Andrew >
