I am modifying the default vanilla theme, which went fine for a while, but eventually the .css stopped updating.
The html is calling: /themes/defaultsmarty/design/custom_orkn.css?v=1.0
While it should be calling at least: /themes/defaultsmarty/design/custom_orkn.css?v=2.0
I need help clearing this cache/version feature.
Thanks.
EDIT I'm not using minify I've cleared all .ini files from /cache
Answers
Whenever you make a change to your theme's css be sure to increment your theme's version in your
$ThemeInfoarray.- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks Todd
Was looking for something like that.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hi Todd,
Can you explain what does that mean "increment your theme's version in your $ThemeInfo array" I have the same problem. Cannot see CSS updates in case Vanilla load from \cache\Minify...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Zhanat when you make changes to your theme, you have an about.php file in your theme folder.
there you have
$ThemeInfo['your_theme'], in it you haveVersion => 'some_number',;You might have
'Version' => APPLICATION_VERSIONbut this is not advisable.Say you have
'0.1'change it to'0.2'. it really does not matter what number scheme you have so long as you update the number, and you don't use a previous one it will update the cache. you can have characters in there too, like'v0.1', etc.Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Thank you! I have changed the version (using Vanilla Default) in about.php and it don't want to be ubdated. May be I should wait a little bit after I change it?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •sorry what is your theme name, where you have put your css?
if you delete the files in cache/Minify/ it should work, but you it is recommended when you are doing your own custom theme that you create your own by copying the default over, and specifying your own meta. Then in future when you update the version, it will update the cached version.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •x00, using defaultsmarty-theme-1.0. Trying to change \dashboard\design\style.css, \defaultsmarty\design\custom_bigcity.css etc. In localhost everything works perfectly and firebug refer to exact .css (not \cache\minify...)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •first of all best not edit the core, you can copy style.css and admin.css to your theme's design folder.
secondly can you post the content of your about.php file
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Hi x00,
Thank you very much! I copied style.css and admin.css and all works perfectly.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •If you really want to hear The failures and reverses which await Balenciaga - and one after another sadden the brow of Borse Balenciaga - add a dignity to the prospect of human life, which no Arcadian success would do. Our destiny offers not the cup of despair, but the chalice of Scarpe Gucci. So let us seize it, not in fear, but in Gucci Sito Ufficiale.
- 4Spam
- Abuse
- Troll
-4 • Off Topic Insightful Awesome LOL •I had the same problem. All my files where cached in $VANILLIA_ROOT/cache/css I've cleared the CSS cache and removed write persmissions (chmod -R a-w cache/css) That did the trick for me and I can finally go ahead with building my theme.
However the cache is a good thing, so use it when you're done ;)
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •