I'm trying to combine a template using an individual start page with the adduser event plugin, i.e.
not the sidebar, but the event plugin which generates a seperate page for user registration.
This is (roughly) the code from the index.tpl which creates the content:
Code: Select all
{if $currpage == $serendipityBaseURL or $currpage2 == $serendipityBaseURL or ($view == "start" && $staticpage_pagetitle == '')}
<!-- code for individual start page -->
{elseif $view == '404'}
<!-- 404 page -->
{else}
{$CONTENT}
{/if}
Now, the registration page is supposed to be at index.php?serendipity[subpage]=adduser -- which doesn't work with the code above. I'm assuming I need another if statement, but I can't figure out which one.
Help, please
YL