Page 1 of 1

li($hc, 'sitemaplevel')

Posted: Sat Jan 29, 2022 9:06 am
by doczimut
Hello
I created a page available by the menu (published and displayed in the menu), to see the sitemap with the instruction {{{li($hc, 'sitemaplevel');}}}
But during a search by the search engine of the template 'searchbox()' I have an error message: fatal error. The page disabled from the menu and still published, the search works.
How could I work around this problem, while keeping this page published and displayed in the menu?

Re: li($hc, 'sitemaplevel')

Posted: Sat Jan 29, 2022 9:26 am
by olape

Re: li($hc, 'sitemaplevel')

Posted: Sat Jan 29, 2022 9:55 am
by doczimut
Thanks, that's strange, because replacing {{{li($hc,' sitemaplevel');}}} by #cmsimple $output.=li($hc,' sitemaplevel');# it works!