Home template
Home template
I am working on a intro for a website which uses a full screen div. The code for this is in the home template. Is it possible to hook a different template up to the home links on the website? Switching CSS would also do the trick.
Re: Home template
make a home template. Don't make that the default template. Make a subpage template for the other pages, make that the default template.
There's also other ways.
There's also other ways.
Re: Home template
Does the default template then also serves for the home page if some presses "home"? Cause I think it will use the home template for that again.
Re: Home template
However way a person lands on the home page, CMSMS displays the template assigned to it.
Re: Home template
So that would mean it is not possible..
If you go to xyz.com it will use the home template with intro. After that you go to a subpage and click "home" which will use the home template with intro again.
No way to change the behavior of the home link or reroute it to a different "home" page?
If you go to xyz.com it will use the home template with intro. After that you go to a subpage and click "home" which will use the home template with intro again.
No way to change the behavior of the home link or reroute it to a different "home" page?
Re: Home template
Yes, it's possible. The low tech way I can think of offhand is:
Create main page this is the home page that you want people to see when they first arrive at your site. Make this alias "intro" or something
This is the default page for the site, when they reach it through the main url: "http://sitename.com
Then create the normal home page and the rest of the pages. These can use any template(s). I generally make a home template and a subpage template (the default template, not the default page).
In your menu call in the templates, exclude the page alias "intro" see menu manager instructions.
Usually, if it works out that way, I make a coming soon template, that does not include the menu call, that is the default while I work on the rest of the site. When it goes live, I remove the coming soon, then I make the home page the default page. In the same way you can have an intro page, a home page, and the secondary pages.
Create main page this is the home page that you want people to see when they first arrive at your site. Make this alias "intro" or something
This is the default page for the site, when they reach it through the main url: "http://sitename.com
Then create the normal home page and the rest of the pages. These can use any template(s). I generally make a home template and a subpage template (the default template, not the default page).
In your menu call in the templates, exclude the page alias "intro" see menu manager instructions.
Usually, if it works out that way, I make a coming soon template, that does not include the menu call, that is the default while I work on the rest of the site. When it goes live, I remove the coming soon, then I make the home page the default page. In the same way you can have an intro page, a home page, and the secondary pages.
Last edited by carasmo on Sun Sep 16, 2012 8:26 pm, edited 1 time in total.
Re: Home template
Ah ok, now I get it
Will go ahead and give that a try! Thanks for the help.
Like your work btw!

Like your work btw!
Re: Home template
You can make an 'intro' page the 'default' home page and just set it to not show in the menu, the only place it will mess up is if you use {cms_selflink dir='start'} in the header h1 like the default templates do...