21294 Posts in 5734 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 925 Views |
-
Startpage without navigation

6 August 2009 at 10:19pm Last edited: 30 March 2010 12:50am
I wonder if it is possible to have a startpage without the navigation menu, what I want is a flashintro.
Regards
Joakim -
Re: Startpage without navigation

8 August 2009 at 8:19pm
Yes this is your homepage so you could do
<% if Page(home) %>
// show something on the home
<% else %>
// show the usual thing
<% end_if %> -
Re: Startpage without navigation

28 July 2010 at 11:37pm
Hi will, I wonder about that code, becaus I want one page with different background color than the other pages, i tried to implenet it on themes/wines/templates/layout/page.ss So what i did was
<% if Page(Hem) %>
<div id="Content-Container2">
<% else %>
<div id="Content-Container">
<% end_if %>But that made all the pages have the different backgr color.
Is if page(Hem) is the the Hem the name of the page in the cms?
Joakim
-
Re: Startpage without navigation

29 July 2010 at 10:51am
I think the issue is Page() says If one of these pages exists... To get the current page you could use the URLSegment
<% if URLSegment = Hem %>.... <% else %> <% end_if %>
| 925 Views | ||
|
Page:
1
|
Go to Top |


