li($hc, 'sitemaplevel')

General questions about CMSimple
Post Reply
doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

li($hc, 'sitemaplevel')

Post by doczimut » Sat Jan 29, 2022 9:06 am

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?

olape
Posts: 2731
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: li($hc, 'sitemaplevel')

Post by olape » Sat Jan 29, 2022 9:26 am

Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: li($hc, 'sitemaplevel')

Post by doczimut » Sat Jan 29, 2022 9:55 am

Thanks, that's strange, because replacing {{{li($hc,' sitemaplevel');}}} by #cmsimple $output.=li($hc,' sitemaplevel');# it works!

Post Reply