Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 05-21-2006, 03:33 PM
ruherflo Offline
forum loafer
 
Join Date: May 2006
Posts: 7
Ligth.css failing

Hi guys

I 'm using the "simple" template in my photoblog
http://www.instantaneas.eu/

And I have found a problem: sometimes the page is shown with styles, sometimes no. By example, at he beginnig it doesn't happens, but then when I browse two or three photos, it happens. I' dont understand why it happens.

I think two possibles explications:
- The firewall of computer is blocking the stylesheet.

- The value of attribute "content" in meta "description" is too long and it has car line feeds. Can it be a reason of bad interpretation of html in browsers?

Please help me! I dont' understand

thanks a lot
Reply With Quote
  #2  
Old 05-21-2006, 05:13 PM
Connie
Guest
 
Posts: n/a
I am sure you are using Internet Explorer and I am also sure you did not search the forum here for this problem ;=)

as there is a problem with the styleswitcher in IE the solution was mostly either to ignore it or to take out the styleswitcher
Reply With Quote
  #3  
Old 05-23-2006, 09:30 AM
ruherflo Offline
forum loafer
 
Join Date: May 2006
Posts: 7
hi connie

no, i don't mean about styleswitcher. I was talking about problem from the beginning, when the page is loaded. I search information about that problem in forum and I didn't find anything.

Anyhow, I think I 've reached a solution for this problem and I think is a important theme about pixelpost functionality.
The reason of problem was the value of attribute "content" in "description" tag meta. This "content" shows the description of photos and some descriptions of my photos contained Double quotes. It provoked a bad ending of tag meta and that one did the browser reads badly the next tag: <link>. This tag contained the reference of my stylesheet

I think it can be a problem which maybe deserve a correction in pixelpost system?

Well, i hope it is useful
Bye

ps: sorry for my poor english
Reply With Quote
  #4  
Old 05-23-2006, 09:36 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
great point. hopefully i've fixed this by simply moving the stylesheet link above all the meta tags.
Reply With Quote
  #5  
Old 05-23-2006, 10:39 AM
Connie
Guest
 
Posts: n/a
Joey,

yes this problem with the broken link to the stylesheet, caused by doublequotes in the description, will be avoided when moving the link above the other meta-tags

but it can break the other following directives as well

we must check why the PP-tags which are used in the header can break the code.

Ruben, gracias por la informacion! Esta muy valable para nosotros!
Reply With Quote
  #6  
Old 05-23-2006, 10:42 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
it cant as i made the meta tags last in the head section - </head> should cancel out any broken areas. the only other way would be to strip quotes from image descriptions etc ... or to just simply remove the meta tags all together sacrificing search capability. for now i think it's good enough to just move the meta tags to the bottom of the head section - that way they can only break themselves - and this will only be a problem for search engines. unless you want to strip the quotes from descriptions but i think this will be more of an inconvenince for users.

p.s. i don't have access to cvs right now - it won't connect. sf doesn't say anything about server problems but i assume that's what it is.
Reply With Quote
  #7  
Old 05-23-2006, 12:01 PM
Connie
Guest
 
Posts: n/a
Ruben,

please tell us which version if PP you are using, because I fairly remember that this case should be fixed in 1.5

is it 1.42 or 1.4.3 ?
Reply With Quote
  #8  
Old 05-23-2006, 12:19 PM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
FWIW http://www.instantaneas.eu/ works as expected for me in Light as well as Dark CSS from the begining....
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #9  
Old 05-24-2006, 08:25 PM
e300 Offline
pp regular
 
Join Date: Dec 2005
Location: Adelaide, Australia
Posts: 39
I had this problem several months ago and wrote a small hack to fix it for 1.4.3

I did look at the code for 1.5b at the time and it was not fixed in that version.

From memory, what I did was to create some additional tags that get parsed for the headers and I made sure that the content contained no quotes.
__________________
My Pixelpost Blog
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:10 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs