Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#331 2008-02-04 21:22:50

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: gbp_permanent_links

sthmtc wrote:

problem seems to disappear when i deactivate zem_redirect… hmm…

graeme wrote:

Very interesting. I shall have a look into this.

If it helps, zem_redirect has the same effect on tru_tags (also in 4.0.5). So it may be not gbp_permanent_links that causes it. I will try and contact zem about it, though I don’t know if he still supports his plugin.

Offline

#332 2008-02-04 21:32:04

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: gbp_permanent_links

Els wrote:

If it helps, zem_redirect has the same effect on tru_tags (also in 4.0.5). So it may be not gbp_permanent_links that causes it. I will try and contact zem about it, though I don’t know if he still supports his plugin.

weird, i’m using gbp_permanent_links, tru_tags and zem_redirect without any problems on another (4.0.5) install….

Offline

#333 2008-02-04 21:42:44

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: gbp_permanent_links

ok to provide further information:

this configuration works:

  • php 4.7.1
  • txp 4.0.5
  • zem_redirect v1.2
  • gbp_permanent_links v0.11.613 & gbp_admin_library v0.4.581

this configuration works (although you can’t access gbp’s preference tab due to the recent changes to txp):

  • php 4.7.1
  • txp 4.0.6
  • zem_redirect v1.2
  • gbp_permanent_links v0.11.613 & gbp_admin_library v0.4.581

this configuration does not work:

  • php 4.7.1
  • txp 4.0.6
  • zem_redirect v1.2
  • gbp_permanent_links v0.11.669 & gbp_admin_library v0.4.669

-> problem: clean urls are being redirected to messy ones.
problem disappears when zem_redirected is deactivated.

also, changing from PHP 4.7.1 to 5.2.4 seems to have no effect, nor does upgrading to zem_redirect v1.2.1 (which i’ve found in the support thread).

Offline

#334 2008-02-04 22:01:41

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: gbp_permanent_links

I found this on Thresholdstate, under Limitations and system requirements:

May not be compatible with custom clean URL plugins and add-ons, or with other URL redirection tools.

Offline

#335 2008-02-19 13:04:01

diniscorreia
Member
From: Lisbon, Portugal
Registered: 2007-07-18
Posts: 19

Re: gbp_permanent_links

Quick cry for help:

I’ve used the plugin before, but can’t see what I’m doing wrong right now. I’m using Txp 4.0.5 with the latest version of the plugin. I want the following permalink structure — domain/section/categoryname/

I do get a page (no 404 error), but a blank page, with no articles. If I type domain/section/?c=categoryname everything works. Also, debug shows everything went ok:

<!-- Checking if "portfolio" is of type "section" -->
<!-- Section name: portfolio -->
<!-- YES -->
<!-- Checking if "metec" is of type "category" -->
<!-- Category name: Metec -->
<!-- YES -->
<!-- We have a match! -->
<!-- Pretext Replacement Array
(
    [permlink_id] => 47bac5bd1fe53
    [s] => portfolio
    [c] => Metec
)
 -->

Last edited by diniscorreia (2008-02-19 13:04:33)

Offline

#336 2008-02-19 13:52:58

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: gbp_permanent_links

diniscorreia wrote:

Quick cry for help

i was recently having trouble with mixed uppercase/lowercase spelling of category names. could that be an issue here? maybe try changing the category name to all lowercase (title can stay as it is). might be a bit of a stretch, but oh well maybe you’re overlooking the same thing i was. also for debugging check if <txp:if_category> returns true.

Offline

#337 2008-02-19 14:34:51

diniscorreia
Member
From: Lisbon, Portugal
Registered: 2007-07-18
Posts: 19

Re: gbp_permanent_links

sthmtc wrote:

might be a bit of a stretch, but oh well maybe you’re overlooking the same thing i was. also for debugging check if <txp:if_category> returns true.

Just tried both – oddly, <txp:if_category> does return true. Rrrgg so why aren’t articles showing?! :\

Last edited by diniscorreia (2008-02-19 14:39:06)

Offline

#338 2008-02-23 10:33:34

diniscorreia
Member
From: Lisbon, Portugal
Registered: 2007-07-18
Posts: 19

Re: gbp_permanent_links

Well, problem solved: in TXP preferences I had the URLs set to /section/article – and I had both an article and a category named ‘metec’, hence the problem. Everything is working now :)

Offline

#339 2008-03-01 14:59:19

zhe
New Member
From: Rome
Registered: 2008-01-14
Posts: 6
Website

Re: gbp_permanent_links

hi, graeme! Thanks for this great plugin!

Here is a small problem I faced, but solved already.

I customized gbp_permanent_links to be /section/category/year/title/ format, and I used Permanent link mode in /section/id/title, when I’m using <txp:link_to_prev> (container tag) which generated the permalink by system preference. The single article page can’t be found, the link breaks.

The solution is change the preference Permanent link mode to /section/title, until now it works just fine.

Hope this is useful.

zhe

Last edited by zhe (2008-03-01 15:12:39)

Offline

#340 2008-03-05 14:32:46

qrayg
Member
From: USA
Registered: 2004-08-27
Posts: 81
Website

Re: gbp_permanent_links

Having a few issues:

I’m using TXP 4.0.6, gbp_admin_library 0.4.669, gbp_permanent_links 0.11.669

Here’s my link list in precedence order:

4. section/category/title/
3. section/title/
2. title/
1. section/category/category/title/

My problem is that all of the links on my site will always try to use the section/category/title rule no matter what. Conditions on the link options do nothing.

There are a few articles on my site that do not have categories assigned. Those articles will always use the messy url scheme.

What is the purpose of creating multiple url rules if only the first one will be used for creating permanent links?

In my case I was hoping it would use the second url rule on article links where the article does not have a category assigned.

I even went so far as to try and create multiple section/category/title rules and setting the Conditions to the 2 specific areas of my site that need them, but again, the Conditions do absolutely nothing no matter the situation.

I understand this is a beta plugin, but is there a way to achieve what I’m trying to do in my examples above?

Offline

#341 2008-03-19 16:50:48

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: gbp_permanent_links

Hi Graeme, is there a way to get this to work with the MLP (Multi Language Pack). Permanent Links break as MLP puts a language identifier in the url. (en, de, nl, etc) I tried adding a plain text component to at least get it working for one language, but that only produces a 404.

Offline

#342 2008-03-24 17:02:27

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: gbp_permanent_links

I hope this is a basic question… My current project relies heavily on this plugin. The only thing that I’m missing is that it never throws a 404 error when pages aren’t found anymore.

Is there a way to setup the rules to make this happen?

Offline

#343 2008-03-24 19:22:34

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: gbp_permanent_links

Is there debugging features for this plugin?

I’d like to see what it matched and where what it’s going to do based on that match.

Is this possible? Or does anyone know how to modify the code to “dmp” that information?

Thanks.

Shige

Offline

#344 2008-03-25 01:29:02

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

Re: gbp_permanent_links

typeshige wrote:

Is there debugging features for this plugin?

Yes – under the plugins’ preferences there is a debug option which if enabled and if Textpattern’s production setting isn’t set to Live the plugin will output debugging information – hidden as a HTML comment.

The only thing that I’m missing is that it never throws a 404 error when pages aren’t found anymore.

This will depend on the type of rules being used. Can you pass me some examples – or email me your debugging output and I’ll take a look to see what is happening and why.

BTW, I’m thrilled that you’re using gbp_permanent_links for a NASA website :-D

Offline

#345 2008-03-25 18:45:11

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: gbp_permanent_links

Thanks. I sent you an email through the system earlier today.

BTW, I’m thrilled the plugin enabled the subsection functionality to work. Otherwise, we probably couldn’t have used Txp!

graeme wrote:

typeshige wrote:

Is there debugging features for this plugin?

Yes – under the plugins’ preferences there is a debug option which if enabled and if Textpattern’s production setting isn’t set to Live the plugin will output debugging information – hidden as a HTML comment.

The only thing that I’m missing is that it never throws a 404 error when pages aren’t found anymore.

This will depend on the type of rules being used. Can you pass me some examples – or email me your debugging output and I’ll take a look to see what is happening and why.

BTW, I’m thrilled that you’re using gbp_permanent_links for a NASA website :-D

Offline

Board footer

Powered by FluxBB