List Info

Thread: Unnoticed changes to my custom stylesheet




Unnoticed changes to my custom stylesheet
country flaguser name
Spain
2007-04-17 07:06:24
Hi everybody, as I edit my custom stylesheet 
"portal_skins/custom/ploneCustom.css" my site
doesn't notice the 
changes. First of all I have that file, as most of them,
managed and 
merged by portal_css. AFAIK the portal_css tool, as soon as
detects a 
change on any merged css file it merges the files again and
gives the 
file a new name in order to safely avoid css caching, so it
should be no 
problem and my changes should be immediately shown in my
site. However 
it's not the case. Once I reboot zope or save a change on
the portal_css 
form it noticed my file has changed, so I guess we can
safely ignore I'm 
using CacheFu and don't blame it.
I can't remember this happening before neither have
installed new 
products lately so I have no clue why portal_css, as I guess
it's where 
the problem lies, is doing its job right.

Thank you for your help and patience!


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Plone-Users mailing list
Plone-Userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users


Re: Unnoticed changes to my custom stylesheet
country flaguser name
United States
2007-04-17 10:42:45
To me caching issues in plone are a bit of a black art. When
ever I  
start running into caching issues during development work, I
start by  
killing caching at all levels.

* Put portal_css & portal_javascript into debug mode
* Turn off CacheFu (by uninstalling it)
* Turn off browser caching and maybe delete the local cache
files.
   I have found IE to sometimes keep using old cache data
long
   after it should have been purged.
* Access the plone site via a different domain or via the
port address
   which neither your browser or CacheFu should have a copy
of.

CacheFu could be causing the problem. If portal_css has
updated  
itself, but CacheFu is still serving html that points to the
old css  
you will have this problem.

--
Lee Joramo
	/ designKiln.com
	/ 970.261.8426



On Apr 17, 2007, at 6:06 AM, El Chupacabra wrote:

> Hi everybody, as I edit my custom stylesheet
> "portal_skins/custom/ploneCustom.css" my site
doesn't notice the
> changes. First of all I have that file, as most of
them, managed and
> merged by portal_css. AFAIK the portal_css tool, as
soon as detects a
> change on any merged css file it merges the files again
and gives the
> file a new name in order to safely avoid css caching,
so it should  
> be no
> problem and my changes should be immediately shown in
my site. However
> it's not the case. Once I reboot zope or save a change
on the  
> portal_css
> form it noticed my file has changed, so I guess we can
safely  
> ignore I'm
> using CacheFu and don't blame it.
> I can't remember this happening before neither have
installed new
> products lately so I have no clue why portal_css, as I
guess it's  
> where
> the problem lies, is doing its job right.
>
> Thank you for your help and patience!
>
>
>
------------------------------------------------------------
---------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Plone-Users mailing list
> Plone-Userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Plone-Users mailing list
Plone-Userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users


Re: Unnoticed changes to my custom stylesheet
user name
2007-04-17 11:16:40
On 4/17/07, Lee Joramo <lee.listjoramo.com> wrote:

>
> CacheFu could be causing the problem. If portal_css has
updated
> itself, but CacheFu is still serving html that points
to the old css
> you will have this problem.
>

CacheFu and development do not go together, create a
DIYPloneStyle or
a paster skin for production, and a parallel site to develop
in
custom.  It's never too early to develop good habits.

Also, it's necessary to reset the portal_css tool the first
time
something is customized, e.g. copied into the custom folder
via zmi.
This can be done by restarting zope or more easily by going
into the
front page of portal_css in zmi and hitting
"save".

-- 
Justin Alan Ryan
Independent Interactivity Architect
http://www.sigg
raph.org/members/jryan
+1-415-738-7513

"You don't lead by pointing and telling people some
place to go. You
lead by going to that place and making a case." -Ken
Kesey

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Plone-Users mailing list
Plone-Userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )