Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2008-08-02 18:05:37

amyng
Member
Registered: 2007-01-05
Posts: 55

Re: replace permalink title with thumb?

YAY!
I did a little tinkering with the code you’ve provided and it looks great! (see here) I haven’t tested it out in IE yet, but I’m hopeful it’s fine.

Now I’m off to open a new thread about the commenting form.
Thanks so much Jonathan for walking me through this!

x
Amy

Offline

#14 2008-08-02 18:29:28

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: replace permalink title with thumb?

My pleasure! Suggest you clear the content div to avoid any problems with the .setpreview floats – to do this, you can create a class called .clear and set it to clear:both, then add the clear class to the content div tag.

Offline

#15 2008-08-03 13:37:54

amyng
Member
Registered: 2007-01-05
Posts: 55

Re: replace permalink title with thumb?

Ah, I tried that, but it turned out weird (the whole content was pushed to the bottom of the center div).

So what I did instead was to clear the div for the img class. That seemed to make things okay again (I am only guessing if I’m doing this correctly!)

Thanks Jon!

Offline

#16 2008-08-03 14:58:44

amyng
Member
Registered: 2007-01-05
Posts: 55

Re: replace permalink title with thumb?

Oh, another thing, Jon — what if I wanted to divide it into a few categories, so that it would output it like this . Having a txp:article tag would not enable me to do so, right?

Offline

#17 2008-08-03 17:41:29

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: replace permalink title with thumb?

Yes, for that you would need article_custom tag. Not sure How Jared outputs it on his page, but several article_custom tags should get you going.

Offline

#18 2008-08-05 12:13:53

amyng
Member
Registered: 2007-01-05
Posts: 55

Re: replace permalink title with thumb?

Aha! Thanks Jon — that’s a silly question actually, but it wasn’t outputting anything on the page. And I know the reason why. It’s because I used rss_unlimited_category plugin, so all my articles were output using the rss_article tag.

All fixed and good. :)

x
Amy

Offline

Board footer

Powered by FluxBB