Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path in external JS
#7
(2013-08-19, 14:03:41)rpetges Wrote: The filesystem structure is the following one :

/cms/theme/mytheme/js <-- config.js is located here
/cms/theme/mytheme/css <--- styles inside this folder cannot be loaded

I also tried the ../ option and it does not work.

If Kolyok's solution doesn't work, you could put your styles and config.js file in the same folder (js or cs, or a new one, e.g. assets), and then just use:

prefix: 'style',

[edit] fixed typo.
Reply


Messages In This Thread
Path in external JS - by rpetges - 2013-08-18, 07:43:47
RE: Path variable in external JS - by Carlos - 2013-08-18, 17:42:56
RE: Path in external JS - by rpetges - 2013-08-18, 17:51:03
RE: Path in external JS - by Carlos - 2013-08-18, 18:17:24
RE: Path in external JS - by rpetges - 2013-08-19, 14:03:41
RE: Path in external JS - by Carlos - 2013-08-19, 16:39:43
RE: Path in external JS - by Kolyok - 2013-08-19, 15:45:55
RE: Path in external JS - by shawn_a - 2013-08-19, 23:08:07
RE: Path in external JS - by rpetges - 2013-08-23, 00:58:17



Users browsing this thread: 2 Guest(s)