22999 Posts in 11854 Topics by 2828 members
|Go to End|
1 August 2009 at 3:48am
How would I use <% if InSection(page-url) %> for the admin/log in page.
1 August 2009 at 9:01am
It might help to explain exactly what you are trying to do.
2 August 2009 at 4:13am
Thanks for your reply.
Nothing really difficult. The login page uses page.php template. This template has a side menu, which does not appear on the login page (as it does not have a "section"). This means that the formatting of the page goes a little odd with the login form appearing over the left hand side menu area.
All I was going to do is load some other code to stop this happening IF its the login page.
Hope that is clear - let me know if not.
2 August 2009 at 9:02pm
Something like this?
<% if ElementName != Security %>
<% end_if %>
3 August 2009 at 8:18am
Thank you. This works 100%
|Go to Top|