Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2006-12-08 14:11:01

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

Re: gbp_permanent_links

graeme:
wooo. this extended debug report helped me a lot, thanks very much. by the way, the problem was a misconfiguration.

but i have found a small issue:
i am using movabletype like permalinks: section/year/month/title/
my new default permalink structure: section/year/month/day/title/
what i am doing now is forwarding from the first one to the default one. it is working if i set up the permalink as section/date/title/ where date is the embedded year/month/day/ expression. in case i set up the whole thing manually (so no /date is used) then the page is displayed, but the redirect is not working. this does not affect me at all because i can use the /date solution but might confuse somebody else in the future.

and a question:
is it possible to match and replace with a regexp field? or matching is enough for forwarding? (i’d like to forward titles like ‘word1_word2_word3.html’ to the texpattern default ‘word1-word2-word3’)

update: well i have just seen this show suffix option. :)

Last edited by ghz (2006-12-08 14:23:33)

Offline

#77 2006-12-08 14:38:17

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

Re: gbp_permanent_links

ghz wrote:

wooo. this extended debug report helped me a lot, thanks very much. by the way, the problem was a misconfiguration.

Great! Glad you were able to figure it out.

but i have found a small issue…

Thanks for letting me know about this. I shall look into it.

is it possible to match and replace with a regexp field? or matching is enough for forwarding? (i’d like to forward titles like ‘word1_word2_word3.html’ to the texpattern default ‘word1-word2-word3’)

Are Movable Type urls like this ‘word1_word2_word3.html’ ? This isn’t possible at the moment but it would make a good option to include. Shouldn’t be too hard, I’ll give it a go once I get home from work.

Offline

#78 2006-12-09 08:35:25

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,475
Website

Re: gbp_permanent_links

I’ve installed the plugin on my localhost, but after this screen:
You haven’t created any custom permanent links rules yet.
Click here to add one.

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


Dozy P My attempt at music

Offline

#79 2006-12-11 11:36:14

grinstead
Member
From: UK
Registered: 2006-10-06
Posts: 19

Re: gbp_permanent_links

Thanks for the Plugin.

All works fine apart from I can not seem to find a way to add the full url to permlinks? Permlinks are showing as /section/category/title this results in my my feed xml file being invalid as its not the full url (http://…..)

Thanks

Offline

#80 2006-12-11 15:31:01

grinstead
Member
From: UK
Registered: 2006-10-06
Posts: 19

Re: gbp_permanent_links

Just an update, I’m using domain/section/category/rss for the feed but if I use domain/section/category/?rss=2 then I’m getting this as the permlinks domain/section/title which is better but missing the category!

I’m using this set up section/category/title/

Does that make sense?

Thanks

Offline

#81 2006-12-12 23:52:08

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

Re: gbp_permanent_links

Work with ob1_googlenav?

Edit: Yes, no problem.

Thanks and Great Plugin!

Last edited by Rigel (2006-12-18 18:56:42)

Offline

#82 2006-12-13 10:19:14

grinstead
Member
From: UK
Registered: 2006-10-06
Posts: 19

Re: gbp_permanent_links

[Update]

Thanks Graeme for helping me out yesterday, as an inpatient sod I am I emailed Graeme, in which he provided me with a work around.

Thanks again.

Offline

#83 2006-12-13 18:17:51

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,475
Website

Re: gbp_permanent_links

I still can’t use this plugin. Can anyone explain?

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


Dozy P My attempt at music

Offline

#84 2006-12-14 13:52:02

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

Re: gbp_permanent_links

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?

Offline

#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

Board footer

Powered by FluxBB