Directory structure clarification

127 views
Skip to first unread message

halcyon

unread,
Dec 9, 2012, 8:47:54 PM12/9/12
to phps...@googlegroups.com
Hi

I have a query regarding the directory stucture.

How is the relative path of the css and js files derived? Is it in relation to the controller only and not the template file?

My current structure is as follows:

controller/
templates/
templates/css/
templates/js

when I invoke the template, the css and js are not found.

regards
halcyon

Brett Bieber

unread,
Dec 10, 2012, 9:57:03 AM12/10/12
to phps...@googlegroups.com
It is most likely in relation to the controller — but to be more explicit, the css and js are relative to the URL the client reads the HTML from.

--
Brett Bieber
Reply all
Reply to author
Forward
0 new messages