Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#145 2008-05-14 21:10:30

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: [plugin] [ORPHAN] ob1_title

On “non-live” articles, display nothing but the site name. Only the article titles would show if on “live” articles.

There’s an if_status plugin?

I can’t remember the error because I don’t use it anymore but if the plugin is to be modified, I would use it.

EDIT: I think I am going to stick with the if_section tag in the title.

Last edited by Ruhh (2008-05-14 23:03:24)


<txp:Ruhh />

Offline

#146 2009-08-03 15:16:44

pompilos
Member
From: Spain
Registered: 2005-06-07
Posts: 114
Website

Re: [plugin] [ORPHAN] ob1_title

Hello, Henrik. I have upgraded to the 4.1 version of the plugin and I have lost the posibility of using this simple conditional tag:

<title>
<txp:ob1_title order="<txp:if_individual_article>article<txp:else />section</txp:if_individual_article>,sitename" />
</title>

It worked fine in version 2.2 (with “%” sign), but it doesn’t with the new version, as you can see in Departamentos. I didn’t save the old version of the plugin so that I can’t downgrade. Any idea?

Last edited by pompilos (2009-08-03 15:24:44)

Offline

#147 2009-08-03 15:40:03

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [plugin] [ORPHAN] ob1_title

Use single quotes for tags within tags.


Code is topiary

Offline

#148 2009-08-07 10:55:57

pompilos
Member
From: Spain
Registered: 2005-06-07
Posts: 114
Website

Re: [plugin] [ORPHAN] ob1_title

Ooops! Sorry, jsoo, for such a simple question. I thought I had tested the solution you give and that it didn’t work, but obviously I made some mistake. It works well with single quotes. Bye and thaks.

Offline

#149 2011-02-18 21:02:11

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,371
Website GitHub Mastodon

Re: [plugin] [ORPHAN] ob1_title

Does anyone have a copy of 4.1 handy. The latest one I seem to have downloaded is 2.2.

Offline

#150 2011-02-21 09:15:31

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: [plugin] [ORPHAN] ob1_title

here it is:
http://pastebin.com/9j7uQxwa


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#151 2011-02-21 14:23:01

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,371
Website GitHub Mastodon

Re: [plugin] [ORPHAN] ob1_title

Thanks. Someone had sent it to me via e-mail but I think it is good to have it added to the thread since the link to the original was broken.

Offline

Board footer

Powered by FluxBB