21285 Posts in 5732 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 876 Views |
-
Using InSection for admin

1 August 2009 at 3:48am
How would I use <% if InSection(page-url) %> for the admin/log in page.
Thanks
-
Re: Using InSection for admin

1 August 2009 at 9:01am
Hi there,
It might help to explain exactly what you are trying to do.
Cheers
Aaron -
Re: Using InSection for admin

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.
-
Re: Using InSection for admin

2 August 2009 at 9:02pm
Something like this?
<% if ElementName != Security %>
...
<% end_if %>
| 876 Views | ||
|
Page:
1
|
Go to Top |


