This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.

Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.

Topic with no new replies

Change Skin for one Page?


Author Message
Written on: 09/01/2010
Lisa Davidson
Topic creator
registered since: 06/18/2010
Posts: 14
Hi,

Does anyone know if it is possible to change the skin for a certain page of the site, but still keep the overall skin for the site as is? I thought this would be swapping a template, but that doesn't look right when I read through the instructions. Please let me know if there is a way. Thanks!

Lisa Davidson
Written on: 09/01/2010
Peter Schott
registered since: 03/17/2007
Posts: 321
You should just be able to add a new template for that page and edit the template on that page to choose the new skin. It will take effect for that page and its sub-pages by default. I think it's under the Info/Modify menu, Edit the whole template, and use the "Skin Selector" to pick a different skin.

If you need help with adding a page-specific template, check out the "Classes" section on this site. I'm pretty sure there's an entry there on creating/changing templates.

-Peter
Written on: 09/02/2010
Lisa Davidson
Topic creator
registered since: 06/18/2010
Posts: 14
"Peter Schott" wrote:

You should just be able to add a new template for that page and edit the template on that page to choose the new skin. It will take effect for that page and its sub-pages by default. I think it's under the Info/Modify menu, Edit the whole template, and use the "Skin Selector" to pick a different skin.
If you need help with adding a page-specific template, check out the "Classes" section on this site. I'm pretty sure there's an entry there on creating/changing templates.
-Peter


Good to know this is possible Peter! I did see instructions for this in the support site, but didn't know if I would be able to select a new skin after changing the template. That makes sense though now that I think about it a little more. Thanks again for your help!

Lisa
Written on: 01/07/2011
Chris Bischoff
registered since: 01/06/2011
Posts: 4
Hi,
I don't have the option to select a skin when creating a new template on a page and I didn't find anything that applied specifically to this in the Classes area. Is there a way in Typoscript to simply point to a different CSS file?

Thanks,
~Chris
Written on: 01/07/2011
Chris Bischoff
registered since: 01/06/2011
Posts: 4
To answer my own question...

By excluding certain CSS entries in the mainstyles.css, I can write unique entries into different CSS files that I can include on other website pages.

So, I just simply created an extension template on a page where I want to have a different CSS file and then in the Setup of that template record I put in:

page.includeCSS.file = fileadmin/../../css/different.css
Written on: 01/07/2011
Chris Bischoff
registered since: 01/06/2011
Posts: 4
It's also important to include this kind of entry in the Default Template on your site's main page, so that the main page (and subpages that you don't customize) will have all the necessary styling.
Written on: 01/20/2011
Lisa Davidson
Topic creator
registered since: 06/18/2010
Posts: 14
Thanks for the extra info on this question Chris. I haven't attempted to make these changes yet, but will soon be working on it so this will come in handy.