splash Page based on current theme selection

Started by Ceryon, February 22, 2010, 09:04:48 AM

Previous topic - Next topic

Ceryon

hi All,

My question is as follows. before going to the forum/ portal I want to display a splash page, but the layout of this page needs to match the chosen template layout ( default if not selected, or read the cookie if they revisit). How can I display an empty page, without header, footer or topics that matches the selected template?

Regards,


Kays

Hi, welcome to SMF. :)

If you include SSI.php on that page then you can use the $settings array such as $settings['theme_dir'] and $settings['theme_url']. Take a look in index.template.php of a theme for how it's done there for linking to the style sheets and use only select parts to put your page together.

Some reading material to help get you started
SSI Readme
How do I integrate SMF into my PHP coded website?

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: