Page 1 of 1

my own folder names

Posted: Sat Oct 04, 2008 11:49 am
by gotfredsen
Hi

This is my first post here so if this should be in a different place here in the forum , feel free to move it because I could not get where to ask this type of question .. so here we go ..

I have now made my website as static html files, css files and javascript files .

Now I want to transfer this into CMSMS. For you people who have done this befour this should be a pice of cake .. but not for me bacuse i´m rather new to cmsms ..

I have the following structure (and would realy like if its possible to keep this)

www.mysite.com/global/
www.mysite.com/global/styles/
www.mysite.com/global/scripts/
www.mysite.com/global/and other folder/

I think you get the general idea here ..

I´m usingboth prototype.js and scriptaculius.js for all the pages and it would be great if I could keep this structure where prototype is stored in www.mysite.com/global/scripts/lib/prototype.js

so how is this done ... ? do i edit something in the config ?

any help here would be realy great :-)

thank you and best regards from Sweden ...

Re: my own folder names

Posted: Sat Oct 04, 2008 12:59 pm
by nhaack
well, if I got you right, it should be sufficient to create your needed folders right in your CMSMS root directory and upload your static files to them. Then, in your template, you can refer to them with something like:

Code: Select all

<__script__ type="text/javascript" src="global/scripts/lib/prototype.js"></__script>
or

Code: Select all

<link rel="STYLESHEET" type="text/css" href="global/styles/layout.css" />
BEst
Nils