- Posts: 11746
- Thank you received: 2750
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
I do not see the buttons
- holch
- Offline
- LimeSurvey Community Team
Less
More
7 years 3 months ago #145816
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic I do not see the buttons
So when we adapt / create templates we should switch the debug mode on?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- LouisGac
- Visitor
7 years 3 months ago #145817
by LouisGac
Replied by LouisGac on topic I do not see the buttons
when you do it via the template editor, assets are refreshed automatically at each save action. Again: end user don't have to worry about it at all.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 3 months ago #145819
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic I do not see the buttons
OK, great to know that the template editor takes care of this. So I only need to watch out if I develop outside of the template editor.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- LouisGac
- Visitor
7 years 3 months ago - 7 years 3 months ago #145820
by LouisGac
The assetManager copy (or symlink when the option is on) all the CSS/JS files to some subdirectories in the tmp folder. The subdirectories are like: tmp/assets/3ef97d39/
The number is generated on the base of the modification date of the folder containing the css and js files. So, when the css and js files are updated (when the modification date of the directory containing those files is changed to be accurate), a new folder with a different number is created in tmp/assets, like tmp/assets/4de86e46/ . So the browser considerates they are new CSS/JS files, and it renew its cache. It's very close to your system with a "?ver=2.54.2".
My bet is that josegovia updated manually an old installation, which updated the css files of the editor extension without changing the modification date of the folder containing those files. The solution to this problem is: use the comfortUpdate.
Replied by LouisGac on topic I do not see the buttons
Ben_V wrote: like Holch I'm a quiet lost with Yii AssetManager ... Do you mean that users (with debug mode turned off) now don't have to clear their browser cache ?
The assetManager copy (or symlink when the option is on) all the CSS/JS files to some subdirectories in the tmp folder. The subdirectories are like: tmp/assets/3ef97d39/
The number is generated on the base of the modification date of the folder containing the css and js files. So, when the css and js files are updated (when the modification date of the directory containing those files is changed to be accurate), a new folder with a different number is created in tmp/assets, like tmp/assets/4de86e46/ . So the browser considerates they are new CSS/JS files, and it renew its cache. It's very close to your system with a "?ver=2.54.2".
My bet is that josegovia updated manually an old installation, which updated the css files of the editor extension without changing the modification date of the folder containing those files. The solution to this problem is: use the comfortUpdate.
Last edit: 7 years 3 months ago by LouisGac.
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
7 years 3 months ago #145821
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic I do not see the buttons
Thank You... It's for me really "clear" now...
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.