Page 1 of 1

locator

Posted: Tue May 24, 2022 9:38 am
by ustalo
we have
{{{locator()}}}
on the page we see

level 1 level 2 our page

level 1 have link to level 1
level 2 have not link

haw to make all levels with link?
Mostly we need go back- one directory up. This is not a link exactly.

Re: locator

Posted: Tue May 24, 2022 1:43 pm
by olape
for this you have to adjust the function

https://github.com/cmsimple-xh/cmsimple ... s.php#L361

I think, but untested

https://github.com/cmsimple-xh/cmsimple ... s.php#L374

Code: Select all

        if (isset($url) && $i < $last) {
to

Code: Select all

        if (isset($url) ) {
Edit

Or make line 378 the same as 375 and 376.

Re: locator

Posted: Tue May 24, 2022 7:02 pm
by ustalo
it works
that a lot