This topic is quite old but it is exactly my issue.
I wanted to define a custom page for not logged people and show category otherwise.
I used the odebb-plugin-custom-pages plugin. I created a new page,
add in the html widget of the page the next code :
<!-- IF !loggedIn -->
code if not loggedin, work fine
<!-- ELSE -->
<!-- IMPORT categories.tpl -->
<!-- ENDIF !loggedIn -->
However, the IMPORT
doesn't work.
Every thing is at the same directory. I used <!-- IMPORT ../categories.tpl -->
but it didn't work. I restart everything I could restart. Nothing. If I put code and text after the ELSE
, it works fine, it is just the IMPORT
that does not work.