Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
General Questions
SilverStripe Forums » General Questions » Dev mode and Live mode JS issues
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|
Page:
1
|
Go to End | |
| Author | Topic: Dev mode and Live mode JS issues | 321 Views |
-
Dev mode and Live mode JS issues

27 May 2009 at 10:14am
Hi,
When I switch between the different modes I am able to see that certain files are not utilized on page processing thus causing issues. This mainly happens with JS files. The issues that I am experiencing follow. Please could you see if there are any work arounds available for me so that I can resolve this on SS 2.3.0 and have my local and server versions of website working in sync.1) If I switch between the different modes certain JS files are not being included in the page processing
2) The requirement classes combine function is not working on my live server however works locally
3) Sometimes the calendar JS is not being included even if it is a requirement
4) JS files that are required for the admin to work correctly seem to give hassles in the different modes when loading the CMS and/or trying to open a page from the left list for it to be managed on the right frameThanks
-
Re: Dev mode and Live mode JS issues

27 May 2009 at 10:23pm
For the combining of the files - its not that smart so it will just throw all the files in at once, sometimes you make come across collisions. For combined files to work make sure assets/ is fully writable and also if you update or change JS on the live site SS will not detect this as *changed* so you have to remove the old combined files and republish it so it generates a new file.
Also I thought the combine function only works in live mode? (eg its disabled in devmode) Have you set your localhost up in live mode just to check it can combine correctly in that one?
| 321 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: Euphemismus
Welcome to our latest member: fearofbuttons


