Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2005-11-02 20:13:07

codylindley
Member
From: Boise, Idaho
Registered: 2004-06-09
Posts: 29
Website

Re: Textpattern 4.0.2 Released

Say, I’m stoked about the update. However, I am wondering why the change to the title. Before the update I could use elements in my title (when creating a article) now the title is not parsing my html elements that I have added.

Check it out

I’m guessing I’m going to have to figure somthing else out? And change all my articles?


codylindley.com

Offline

#50 2005-11-02 20:13:34

Nathan Smith
Member
Registered: 2005-01-14
Posts: 66
Website

Re: Textpattern 4.0.2 Released

Actually, they don’t. The way I’ve done my CSS, paragraphs have side margins, rather than padding to the containing DIV, to avoid using the box-model hack. I guess I’ll just write some CSS in to handle P’s nested in LI’s and call it a day, since it doesn’t seem like anything will be done about this. ;)

I also find it incredibly odd that people can insert H1, H2, etc. in the comments. I really wish comments were handled the old way. I don’t want people sticking in what looks like a page header in my comments. Sure, it probably won’t happen, but it seems like the wrong way to go about handling Textile, in my opinion.

Last edited by Nathan Smith (2005-11-03 00:49:37)


Are we all figments of God’s imagination?

Offline

#51 2005-11-03 06:55:48

andrewbarnett
New Member
From: Melbourne, Australia
Registered: 2005-09-28
Posts: 5
Website

Re: Textpattern 4.0.2 Released

I’m saw this in diagnostics:

18 Tables: textpattern: 2 clients are using or haven’t closed the table properly, txp_css: 1 client is using or hasn’t closed the table properly, txp_page: 2 clients are using or haven’t closed the table properly, txp_prefs: 2 clients are using or haven’t closed the table properly

And the Comments link doesn’t show for articles now.

I logged out and back in, and the MySQL table errors above are gone, but comments still don’t show. If I click on an article, the comment form is there, it’s just that there’s no Comment link in the default view.

Offline

#52 2005-11-03 07:01:28

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Textpattern 4.0.2 Released

Go into your article form and remove <txp:if_comments> around the invite. Replace it with <txp:if_comments_allowed> for example.

Offline

#53 2005-11-03 07:06:49

andrewbarnett
New Member
From: Melbourne, Australia
Registered: 2005-09-28
Posts: 5
Website

Re: Textpattern 4.0.2 Released

> Sencer wrote:

> Go into your article form and remove <txp:if_comments> around the invite. Replace it with <txp:if_comments_allowed> for example.

Done. It worked. Many thanks.

Offline

#54 2005-11-03 08:39:06

Henrik Pejer
Member
From: Sweden
Registered: 2005-10-13
Posts: 23

Re: Textpattern 4.0.2 Released

Great going guys!

I finished a custom 404 page plugin right about the same day that 4.0.2 got released… I feel liks such a moron ;)

Take care!


.:8):.

Offline

#55 2005-11-03 09:30:22

clivewalker
Member
From: Horsham UK
Registered: 2004-07-19
Posts: 26
Website

Re: Textpattern 4.0.2 Released

Thanks for the new release.

On the subject of wrapping comments around paragraph tags, I think I prefer the old method (without paragraphs). The new method just seems to add extra mark-up within the Comments li tag – and it means an additional style rule to remove certain paragraph styles that I have. Just my 2 cents…

Last edited by clivewalker (2005-11-03 09:31:31)

Offline

#56 2005-11-03 14:34:39

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: Textpattern 4.0.2 Released

@codylindey – the issue you’re experiencing was discussed here. Looks as though the decision was made to ensure valid markup over stylistic concerns (which I can understand).


And then my dog ate my badger, and the love was lost.

Offline

#57 2005-11-03 14:55:28

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Textpattern 4.0.2 Released

<blockquote>@codylindey – the issue you’re experiencing was discussed here. Looks as though the decision was made to ensure valid markup over stylistic concerns (which I can understand).</blockquote>

I have suggested a tip for avoiding invalid mark-up (in <code><title></code>) when using HTML elements in article titles .

But the changes in 4.0.2 are a step backward in the flexibility of TXP.
Now, it seems you cant use HTML in article titles, when before it was possible and didnt generate invalid markup (if you follow the tip).


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#58 2005-11-03 15:01:27

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: Textpattern 4.0.2 Released

@maniqui – I saw your suggestions, and thought they were damn clever. However, it was dependent on plugins, and the idea is that TXP should produce valid markup out of the box, so I understand the reason for the changes.

As time allows I’ll be working on a patch to re-enable HTML in article titles…unless someone beats me to it (he said hopefully).


And then my dog ate my badger, and the love was lost.

Offline

#59 2005-11-03 15:24:05

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Textpattern 4.0.2 Released

<blockquote>and the idea is that TXP should produce valid markup out of the box, so I understand the reason for the changes.</blockquote>

Yes, but now, we have more limitations than before.

Before:
TXP users can use HTML in article titles and:

  • strip it out by using a plug-in.
  • dont include article title in <code><title></code>, if they dont want to use the plug-in and also dont want invalid mark-up.

And those options (to use HTML in articles titles, to use a plug-in, to remove article title from title tag) are in the user-side.

Now:
TXP users dont have the option to use HTML elements in article titles.

I’m not a programmer, but i ask:
is it very hard to include the functionality of sab_striphtml only applied to “<code><txp:page_title /></code>”?
So, TXP “out-of-the-box” will strip-out html from article titles when showed in <code><title></code> rather than limiting the use of HTML elements in article titles.

Last edited by maniqui (2005-11-03 15:25:45)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#60 2005-11-03 16:47:25

codylindley
Member
From: Boise, Idaho
Registered: 2004-06-09
Posts: 29
Website

Re: Textpattern 4.0.2 Released

@maniqui & igner – Thanks guys…I guess I’m going to have to adapt. : – /


codylindley.com

Offline

Board footer

Powered by FluxBB