XF 1.4 Solution for dynamic linkpaths $requestPaths.basePath

fred66

Member
Hello,

i have the following code:

<xen:if is="{$requestPaths.basePath} != '/xxx/'">
SEE ME
</xen:if>

Now, when i call the site forum.de/xxx/ the text SEE ME is not viewable (good).
But when i call forum.de/xxx/bb/ i see the Text SEE ME (bad).

I generate dynamic links, and dont want to insert all if statments for all links.
only 1 statment code for subnames in link.
How i can fix this problem? is there a solution?

thanks
fred
 
Back
Top Bottom