I've playing around on my website and I can't understand how the css files are included on the pages.
For example:
On the adp file, "site-master-kelp.adp" which is located in "/home/yabtdev/yabtdev/www/"
i have the variable:@css_url@
link rel="stylesheet" type="text/css" href="@css_url@" media="all"
On the respective tcl page "site-master-kelp.tcl", located in the same folder "/home/yabtdev/yabtdev/www/"
i have this include call:
set css_url "/resources/acs-subsite/site-master.css"
But the file "site-master.css" is located on:
"/home/yabtdev/yabtdev/packages/acs-subsite/www/resources/site-master.css"
and the thing is that the folder "/acs-subsite/" bellow /resources/ doesn't even exist.
In my view it should be like this:
set css_url "/packages/acs-subsite/www/resources/site-master.css"
Since the root folder is "/home/yabtdev/yabtev/"
Another example:
on the file: "dotlrn-master-kelp.adp" located in "/home/yabtdev/yabtdev/packages/dotlrn/www/"
I have the tag
link rel="stylesheet" type="text/css" href="/resources/dotlrn/dotlrn-master-kelp.css" media="all"
and the file "dotlrn-master-kelp.css" is located on
/home/yabtdev/yabtdev/packages/dotlrn/www/resources/dotlrn-master-kelp.css
but the folder /dotlrn/ bellow /resources/ doesn't even exist.
In my view the right path should be
link rel="stylesheet" type="text/css" href="/packages/dotlrn/www/resources/dotlrn-master-kelp.css" media="all"
So what does the tcl code do to recognize and find the file on the exactly folder?
What is the logical sense to these files being included?