Page 1 of 1

Pls Help to make custom design work with CMS MS

Posted: Sat Apr 29, 2006 8:28 pm
by trud
I have several custom made designs I would like to implement to various cms ms simple sites.
However I do find it a bit hard to make a static css/xhtml design work well in cms ms.
I am sure this is only due to the fact that I am not used to having the markup/style sheets in the database. With all the number of layouts and stylesheets it does get confusing.

I know I will need to add the tags in the markup, ie:

CMS Made Simple Demo - {title}

{metadata}
{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

But how can I just link a layout to a plain old css file, placed right in the root, or whatever other folder?

I always work with css editors when doing css layouts, and the way it is now I feel it is to much stress to CTRL+C n´CTRL+V all the time.

any tips?

Re: Pls Help to make custom design work with CMS MS

Posted: Sat Apr 29, 2006 8:55 pm
by cyberman
Replace the {stylesheet}-Tag with



This will be faster too cause the original stylesheet.php uses a lot of server ram.

Re: Pls Help to make custom design work with CMS MS

Posted: Tue May 02, 2006 12:09 am
by trud
cyberman wrote: Replace the {stylesheet}-Tag with



This will be faster too cause the original stylesheet.php uses a lot of server ram.
Thx for the tip. Will change it now.
Hmm, the size of the stylesheets are rather small, and even all stylesheets combined will not
use really much memory, I think. But the way I see it, is that it might be worth using separate stylesheet, cause that will save one DB call on the
initial page load. For me I have the DB on a different server, so a DNS routing is used, and that will also slow things down. Thats is why I will
use plain old static css file, rather then crum it all in the DB. So when I now Am done optimizing the css, I am sure there will be mush faster load time on initial page load.