Splash or intro page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Tzalim
New Member
New Member
Posts: 5
Joined: Mon Feb 25, 2013 10:03 pm

Splash or intro page

Post by Tzalim »

Hello,

I'm not sure where to put this thread but is there any way to put a splash or intro page? I'm not sure how to explain it with this CMS but the intro or splash page that I want, is like, nothing will be on it except the splash page, no links no navigational bar... just the splash page. Then, I want the page to link to my home page. I hope you understand what I'm talking about.

Thanks
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Splash or intro page

Post by velden »

You can make a template with nothing in it but the splash code.
A default content block is required but you don't need to use id per se:

Code: Select all

{content assign="devnull"}
Then create a page and attach the spash template. Fill in same dummy text in the content area (required again). Save the page and make it the default page (column in content page overview).

Of course you need to create a link to your 'home' page.

This approach means that on every visit to the root url of your cmsms installation ("http://www.example.com) the splash page will be shown.

If first-time-visitors land on another page (e.g. via Google search result to specific page) the splash will NOT be shown.
Last edited by Dr.CSS on Sat Aug 03, 2013 5:29 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
Tzalim
New Member
New Member
Posts: 5
Joined: Mon Feb 25, 2013 10:03 pm

Re: Splash or intro page

Post by Tzalim »

Hello,

I'm sort of getting the idea, but still stuck. See, I don't know that much about HTML and CSS, and I want to attach a CCS to my template, sorry if I forgot to say that. But I did half of what you said, about making a template. Lets just take this one step at a time, for my sake. Ok, I made a template called index beside my main template and put my splash info, then I attached my CSS, but I'm not getting none of my styles, why is that? Sorry be a noob at all this.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: Splash or intro page

Post by Jo Morg »

The page you are using also needs to have that template assigned to it, otherwise you'll still be seeing the old template.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
frany

Re: Splash or intro page

Post by frany »

Hi there,

I wanted to do the same, and I wonder if is possible to do the intro without the CMS.

I have my intro in pure html file, index.html, and there is a link to my home page index.php.

It's work fine, but unfortunately when a clik "home" in the menu the lik send me to my intro.

How can i solve this.?

Thank you.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Splash or intro page

Post by velden »

Not tested:

Create a new content page and make that one default (pages overview).

Call {menu} with the 'excludeprefix' parameter with alias of the created (default) page, so it will be hidden from the menu.

You might consider adding a page specific meta tag which redirects a visitor to the 'real' homepage in case one visits "http://www.example.com/index.php

The fact that this works in your case does not mean it does for every other server/hosting provider. In this case the webserver gives priority to index.htm(l) over index.php but I've seen webservers that were configured differently.
frany

Re: Splash or intro page

Post by frany »

thank you velden, I will try to do it, anyway there are many things in your explannation that I can't undertand due to the fact I am very new with this CMS ( only 3 days ::) )
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Splash or intro page

Post by Dr.CSS »

I make a new page using a template that doesn't have a menu but it does have a link to the "home" page, set it to not show in the menu, this site is one that does have a link back to the 'splash' page...

http://tributetoaking.com/
Locked

Return to “Layout and Design (CSS & HTML)”