Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-02 20:32:05

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

r2930 - First Post does not display properly

Probably nothing to do with the revision I’m on but I though I should bring the_ghost’s problem over here as I can confirm his trouble. The first post currently included in the download does not display correctly after install. All the bullet points are missing from the lists (li) and the code is deemed invalid at W3C. I have found though that simply re-saving the article fixes all the problem and I can also say that this occurs both on my XAMPP install and on my host server (whether that is relevant I don’t know but I thought I’d mention it).


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#2 2008-07-03 19:24:31

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: r2930 - First Post does not display properly

Maybe the problem occures because textile doesn’t parses the firs post? I mean that “parsed” version of body was “hardcoded” into db?

Last edited by the_ghost (2008-07-03 19:25:28)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#3 2008-07-03 19:44:20

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: r2930 - First Post does not display properly

Well what the problem may be is that the post is injected into the database in html format only and it requires the “re-save” to create the textiled version. Maybe a textiled version needs to be injected as well but I’m not the expert on this. I’m not sure if it may be possible to force a “Save” during install or at first login??


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#4 2008-07-03 21:34:23

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: r2930 - First Post does not display properly

Just tried to validate – errors. Resaved first-post – valid xhtml page :)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#5 2008-07-05 06:33:42

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: r2930 - First Post does not display properly

Both versions are created by the setup scripts, so apparently the HTML version is not created correctly there.

Offline

#6 2008-07-05 10:47:15

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: r2930 - First Post does not display properly

Ah, so it’s the other way around then, the textile version is correct (I have to say I couldn’t see anything wrong with it in the Write screen) and the re-save corrects the HTML version. I presume that can be fixed? Probably all that “escaping” you have to do?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB