Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#85 2006-12-14 14:01:52

ghz
New Member
From: Budapest, Hungary
Registered: 2006-10-10
Posts: 4

Re: gbp_permanent_links

“I just want all of my permalinks to be:
section/title.htm”

switch on admin > Permanent links > Preferences > show_suffix. now you will be adble to add a suffix in the permalink builder. (i am not sure if it works but should be.)

Offline

#86 2006-12-14 14:46:32

johnny_fx
New Member
From: Bulgaria
Registered: 2006-04-27
Posts: 8
Website

Re: gbp_permanent_links

Yes, I tried this option – doesn’t work.

Offline

#87 2006-12-14 22:55:58

rockthenroll
Member
From: Jacksonville.FL
Registered: 2004-11-07
Posts: 14
Website

Re: gbp_permanent_links

Is anyone having an issue with random sections using the default page once this plugin is active? I have a page for each section, yet random ones are using the default templte…

It’s working great except for this problem. I’ve deleted the plugin entirely and reinstalled and a different section will do this.


Travis Schmeisser // rockthenroll
rockthenroll.com

Offline

#88 2006-12-14 23:47:56

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links

zero wrote:

I get this error message:
Fatal error: Non-static method PermanentLinksBuildTabView::gbpFInput() cannot be called statically in C:\mylocalpath\textpattern\lib\txplib_misc.php(512) : eval()‘d code on line 1495

I think it’s due to how your php install is configured. I can change my code to fix it, I will have a shot tomorrow.

johnny_fx wrote:

I just want all of my permalinks to be:

section/title.htm

It can’t be done with this plugin.
How can I do this?

I think this might be a bug with the plugin, I will look into it asap.

rockthenroll wrote:

Is anyone having an issue with random sections using the default page once this plugin is active? I have a page for each section, yet random ones are using the default templte…

It’s working great except for this problem. I’ve deleted the plugin entirely and reinstalled and a different section will do this.

Strange. Not sure why or what would be causing this. I shall have a look, could you send me some debugging information? Thanks.

Offline

#89 2006-12-15 04:56:18

rockthenroll
Member
From: Jacksonville.FL
Registered: 2004-11-07
Posts: 14
Website

Re: gbp_permanent_links

graeme I just sent you debugging info. There’s 3 examples: one working, one normal unaffected page and one with the random default anomaly.

Thanks!

Last edited by rockthenroll (2006-12-15 04:57:08)


Travis Schmeisser // rockthenroll
rockthenroll.com

Offline

#90 2006-12-18 18:55:13

Rigel
Member
From: España
Registered: 2005-09-02
Posts: 99
Website

Re: gbp_permanent_links

<txp:php>echo $pg;</txp:php> works with urls clean, how I solve it?

Thanks.

Offline

#91 2006-12-23 19:13:29

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: gbp_permanent_links

Any tips yet as to how to solve the Non-static method PermanentLinksBuildTabView error?

Offline

#92 2006-12-23 19:48:42

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: gbp_permanent_links

My guess is it’s a fairly simple fix that involves syntax changes for php5?

Offline

#93 2006-12-23 19:57:24

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: gbp_permanent_links

Really slick plugin, Greame,

Nice attention to detail on the interface. Just want to second the request for categories other than articles being supported. That’s the only thing that keeps me using the ‘old as the hills’ sgb_url_handler’.

I’m really impressed though. good work, especially from a usability perspective.

Offline

#94 2006-12-23 20:28:20

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: gbp_permanent_links

Are the nested functions the source for the fatal errors in PHP5?

class PermanentLinksBuildTabView extends GBPAdminTabView
{
	function preload()
	{
		[...]
	}

	function main()
	{
		[...]

		function gbpFLabel( $label, $contents='', $label_right=false )
		{
			//  This function is nested... is this legal in PHP5?

Offline

#95 2006-12-23 20:34:06

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links

Andrew wrote:

Are the nested functions the source for the fatal errors in PHP5?

Probably, I’m working on it now along with a couple of other bugs. Should have something up in a couple of hours…

Offline

#96 2006-12-23 22:59:09

bisk
Member
From: The Netherlands
Registered: 2005-03-23
Posts: 12
Website

Re: gbp_permanent_links

I’ve set omit_trailing_slash to no. But somehow google indexed some urls without the trailing slash.

My permanent links are built like this: section/title/

I noticed if I type in a section/title url in the adres bar it works as well.

So I want any faulty external section/title link to be either redirected with a 301 to section/title/ or given a 404. Is this possible, I’ve tried mod_rewrite but couldn’t get it to work.

Offline

Board footer

Powered by FluxBB