Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#109 2005-10-18 13:13:35
Re: [plugin] [ORPHAN] ob1_title
Thanks, thebombsite!
I didnt know they werent “errors”, but they look like errors for common people like me!
Of course I will keep my site in “Production”.
I remember now that I reported an “error” (notice) for Manfre’s mem_randimg plugin too. Ups!
Offline
#110 2005-10-19 20:29:16
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] ob1_title
I found a ‘solution’ for my abovementioned problem, which was this:
If you have a plugin tag for instance like this:
<txp:ob1_title separator=" :: " order="%sitename,%category,%article" />
and there is a comma in the article title, that comma is converted to the separator ‘ :: ‘ as well. Which looks kind of strange if you even have three commas in an article title like I did.
In the plugin code I changed this line
$arrOb1Order = explode(",",$order);
into this
$arrOb1Order = explode(";",$order);
and changed the tag to
<txp:ob1_title separator=" :: " order="%sitename;%category;%article" />
Of course if you also have ‘;’ in article titles this won’t work ;)
(edited to present code better)
Last edited by els (2007-01-09 18:08:38)
Offline
#111 2005-10-19 21:29:25
Re: [plugin] [ORPHAN] ob1_title
You’re getting too good at this Els. :grin:
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#112 2005-10-19 21:37:45
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] ob1_title
Yeah, I’m very proud of myself, adding exactly one dot ;)
Offline
#113 2005-10-19 22:16:22
Re: [plugin] [ORPHAN] ob1_title
Yes but it’s where you put the dot that counts. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#114 2005-10-25 16:58:13
Re: [plugin] [ORPHAN] ob1_title
A suggestion:
Can be added the option to display the site slogan?
It could be the %slogan attribute.
Thanks <small>and excuse my english</small>
Offline
#115 2005-10-27 20:55:45
Re: [plugin] [ORPHAN] ob1_title
Hi,
I want to share <a href=“http://forum.textpattern.com/viewtopic.php?pid=83109#p83109”>this tip</a> I wrote.
It explains how to strip out HTML tags from article title, when the article title is being showed in the browser title bar.
It’s a combination of two plug-ins: ob1_title and <a href=“http://forum.textpattern.com/viewtopic.php?id=6443”>sab_striphtml</a>.
Maybe, what I did with this two plug-ins can be merged inside ob1_title.
I mean, that by default, ob1_title strips out HTML tags that are in article title (%article).
Thanks.
Offline
#116 2005-12-09 00:28:54
Re: [plugin] [ORPHAN] ob1_title
On the (non)issue of the undefined offset, are there certain areas of the plugin that can be updated to make it meet 4.0.x specs? I would be glad to work on it if I was pointed in the right direction.
Offline
#117 2005-12-09 00:54:20
- Infi
- Member
- Registered: 2005-05-28
- Posts: 75
Re: [plugin] [ORPHAN] ob1_title
> doggiez wrote:
> I found a ‘solution’ for my abovementioned problem, which was this….
Very glad I stumbled on this one. I’ve been wondering what one might do about that. Now, I don’t have to wonder anymore. :D Thanks!
Offline
#118 2005-12-09 09:24:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] ob1_title
Glad it can help someone else as well, I really thought I must be the only one having trouble with this ;)
Offline
#119 2006-01-30 12:03:46
Re: [plugin] [ORPHAN] ob1_title
Great plugin, thank you!
Offline
#120 2006-10-19 09:57:51
Re: [plugin] [ORPHAN] ob1_title
Just wanted to let you know, that versions 2.x lack integration with spc_section_alias. Versions 1.x have such “integration”, but do not accommodate for the group=”“ parameter.
Offline