Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Offline
#74 2008-07-20 08:28:46
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: rvm_css (v1.2)
Forgive me if i’ve asked this before but is there anyway this plugin could to file versioning? Because at the moment people don’t see CSS changes until their cache clears.
It would be cool if it could change the output file name each time it saves. For example….
- default.v001.css
- default.v002.css
Offline
Re: rvm_css (v1.2)
Nope, no versioning.
Offline
Re: rvm_css (v1.2)
Bug!
When creating a new stylesheet, the content of the textarea seems to be saved on the database, but the served static file is just a copy of the default CSS (more precisely, of the stylesheet being used by the default section, that may not necessary be the one with name default).
Steps to reproduce it:
1. create a new stylesheet using the “Create or load a new style”
2. add your rules, paste your stylesheet, whatever…
3. Save it.
You will see your stylesheet on the textarea, but if you check the corresponding file, it has the rules for your default CSS.
I’m on Txp 4.0.7.
Offline
Re: rvm_css (v1.2)
Thanks. If you edit the plugin, you can replace this line:
[incomplete/incorrect fix removed. New plugin version is available]
Last edited by ruud (2008-12-20 21:49:23)
Offline
Re: rvm_css (v1.2)
Does this require a plug-in update Ruud, or should we all just do the above mod, or is it an individual problem that Julián is suffering from?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: rvm_css (v1.2)
I’ll update the plugin tonight (at work right now). This problem only occurs if you create a new style sheet or if you copy a style sheet. Updating stylesheets works fine.
Offline
Re: rvm_css (v1.2)
Working on a Saturday Ruud? Deary me! ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: rvm_css (v1.2)
Version 0.4 of rvm_css is now available.
NOTE: those that used my earlier fix should upgrade as well, because the fix was incomplete and will cause problems if you use style sheet names which translate to a different filename.
Offline
Re: rvm_css (v1.2)
having problems with my css….
on the default page, everything shows proper, but when I move to sections, or individual articles, then I loose all the CSS formating of the page,
Currently using different ‘page’ codes for the different sections, with the css files ‘hard-linked’ in the head section of the page, which is cumbersome, would like to use just a single, or two ‘pages’ for the install, and link properly to the CSS.
Any ideas?
Que,
Que-Multimedia
Offline
#83 2009-01-06 14:38:57
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: rvm_css (v1.2)
How are you linking to the css at the moment? Use something like this:
href="<txp:site_url />name-of-css-folder/your.css"
Last edited by els (2009-01-06 14:39:32)
Offline
Re: rvm_css (v1.2)
Thanks Els,
Now working perfectly.
Que,
Que-Multimedia
Offline