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

Reply via email to