Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2004-11-23 19:22:07

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_title

wilshire,

Great idea! Wonder why I haven’t thought of that ;).

I’ll implement it into the upcoming version 2 release. I am thinking of naming the attribute categoryonsingle. Thoughts?


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#62 2004-11-25 01:27:33

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] ob1_title

Sounds good to me. Looking forward to version 2…

Offline

#63 2004-12-15 05:10:19

proph3t
Member
Registered: 2004-09-26
Posts: 31

Re: [plugin] [ORPHAN] ob1_title

Is version 2 coming anytime soon, for some reason I can’t get the showsitename=“0” to work for the life of me, and I have narrowed it down to the plugin.

Version 2 seems nice though.

Offline

#64 2004-12-15 05:15:55

babeskidoodle
New Member
Registered: 2004-11-22
Posts: 4
Website

Re: [plugin] [ORPHAN] ob1_title

> proph3t wrote:

> Is version 2 coming anytime soon, for some reason I can’t get the showsitename=“0” to work for the life of me, and I have narrowed it down to the plugin.

Version 2 seems nice though.

Proph3t, I had the same problem and I got around it by changing the default in the plugin to off and then turning it on were I wanted it. don’t know why it works this way around instead of the other way but it did for me.


charlie

Offline

#65 2004-12-15 20:10:15

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_title

I’ve been away a while and will be for some more weeks (it’s the holidays soon ;). All my development have been put on hold for these weeks, still no internet access at home. The cablecompany got some kind of hassle .. Lovely ..

But as soon as that is fixed I (finally) got internet at home. Hurrah! And after that, development will restart yet again.

Regards,
Henrik


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#66 2005-03-08 01:29:44

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] ob1_title

This is plugin is acting strange.

<txp:ob1_title order="article" showsection="1" separator=" &#183; " />

If I keep the spaces (the way I want), I get the default separator (-). If I remove the spaces, then it uses that separator, but no space in between the names and the separator.

This is on rc3, so maybe it’ll right itself. Just thought I’d mention it.

Offline

#67 2005-03-08 02:17:56

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

Re: [plugin] [ORPHAN] ob1_title

Similar problem here, it refuses to take any custom separator. Somewhere the plugin conflicts with the publish.php file code in RC3.

As a temporary workaround, I changed the default separator in the plugin code to what I want to use (a ‘|’), and that works, but I saw errors in my logs.

This from my logs
PHP Notice: Use of undefined constant ob1_changecase - assumed 'ob1_changecase' in /Library/WebServer/Documents/textpattern/publish.php(710) : eval()'d code on line 438 [Tue Mar 8 11:16:15 2005] [error] PHP Notice: Use of undefined constant spc_section_alias_name - assumed 'spc_section_alias_name' in /Library/WebServer/Documents/textpattern/publish.php(710) : eval()'d code on line 445 [Tue Mar 8 11:16:15 2005] [error] PHP Notice: Undefined variable: title in /Library/WebServer/Documents/textpattern/publish.php(710) : eval()'d code on line 130 [Tue Mar 8 11:16:15 2005] [error] PHP Notice: Undefined variable: out in /Library/WebServer/Documents/textpattern/publish.php(710) : eval()'d code on line 748

OS X, localhost, PHP 4.3.10


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#68 2005-03-10 20:27:17

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] ob1_title

mary, phiw13,
I am currently running on RC1 myself so no possible way to check what might be wrong. And as you all might have noticed I currently have no time developing my plugins, nor hanging around the forum. Sad but true (does a Metallica riff) but I need to get my non-computer-geeky life get some better structure than it currently has.

The problem with the spaces/separator I don’t have the slightest idea what might be causing them. But as phiw13 wrote, it’s easy to edit the default one in the plugin code.

The problem that comes out in phiw13’s log seems to be a problem with the is_callable() function since I check if the plugins ob1_changecase and spc_section_alias is available and then use them. Might be a PHP setting that does that, not sure… Strange…


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#69 2005-03-26 03:14:52

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: [plugin] [ORPHAN] ob1_title

Proph3t, I had the same problem and I got around it by changing the default in the plugin to off and then turning it on were I wanted it. don’t know why it works this way around instead of the other way but it did for me.

What do you mean by this exactly?

Last edited by blumie607 (2005-03-26 03:17:07)


bludrop studios .::. Creative Expression

Offline

#70 2005-03-26 19:32:26

_Glass
New Member
From: Somewhere.
Registered: 2005-03-19
Posts: 3
Website

Re: [plugin] [ORPHAN] ob1_title

I like this.


love, IAN

dropic.org/
droptothetop.com/

Offline

#71 2005-05-08 01:34:38

t1m
Member
From: Massachusetts, USA
Registered: 2004-09-11
Posts: 17
Website

Re: [plugin] [ORPHAN] ob1_title

I think RC3 has problems with this plugin in that my titles will not use the attr changecase=“ucfirst”.
My section titles display lowercase. See for yourself http://tim.textdriven.com
Any thoughts on a fix? Thanks.


“You know you’ve achieved perfection in design, not
when you have nothing more to add, but when you have
nothing more to take away.” -Antoine de Saint-Exupery

Offline

#72 2005-05-08 11:23:16

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

Re: [plugin] [ORPHAN] ob1_title

You also need ob1_changecase plugin to do that.

Offline

Board footer

Powered by FluxBB