[Solved]How to call stylesheet

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

[Solved]How to call stylesheet

Post by jasnick »

Using CMSMS 1.9.4.3.

What is the difference between using {stylesheet} and {cms_stylesheet}

I know the latter needs something added to the path to images - which is more correct?

Thanks
Last edited by jasnick on Thu Sep 08, 2011 1:40 pm, edited 1 time in total.
uniqu3

Re: How to call stylesheet

Post by uniqu3 »

{stylesheet} is old method and will be removed so you should use {cms_stylesheet} which also caches your stylesheet in cache folder.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: How to call stylesheet

Post by jasnick »

Yes, I thought that was the case as it appears in the latest version of CMSMS.

Does this mean that if I have the old version {stylesheet}in other sites, and I upgrade to 1.9.4.3, I will have to go and change all the image paths?

I am really not technical. If I have the following line in body:
background:#eeeee7 url([[root_url]] uploads/images/site/bodybg.png) no-repeat center 200px;

is that it, or do I have to replace root_url with something and if so, what?
Edit - I think I've got it - I added a forward slash in front of uploads.
Locked

Return to “[locked] Installation, Setup and Upgrade”