1259 Posts in 348 Topics by 484 members
|Go to End|
7 April 2011 at 10:01pm
I am using a jQuery UI theme for the SS theme/template that I'm developing.
Where would be the best place to locate the jQuery UI theme files? I currently have it in a folder (jquery-ui-theme/) in my theme's folder. And I'm linking to it using:
This doesn't seem to be the best approach - I feel that it would be better to programatically select the theme, not hardcode it... How do I use THEME_PATH or something like that? It doesn't seem to like it when I try...
Requirements::css(THEMES_DIR . '/' . self::$theme . '/jquery-ui-theme/vader/jquery-ui-1.8.2.custom.css');
Thanks very much.
7 April 2011 at 10:13pm Last edited: 7 April 2011 10:14pm
or in the template... maybe... using $ThemeDir and...
hmmm I can't find an example of the second (I know $themeDir works and <% require %> but haven't used together), best stick with the first
8 April 2011 at 8:49pm
Thanks very much for your response Swaiba.
PS. From a proper MVC design perspective, since this jQUery theme is tied in with my SS theme/template, do you agree that the jQuery theme files should be located within SS theme folder?
|Go to Top|