Textpattern CMS support forum
#541 2010-09-10 06:28:36
I’ve stumbled on an issue that I haven’t seen before, which is strange because I’ve used this great plugin quite freqently.
I’m using the pretty standard /section/category/title rule for my permanent links, but enabled for only 1 section (we’ll call it section3).
Works great, except when I’m viewing a category or article under section3, the URLs in the top level navigation of my site (generated using section_list) change from:
current_category being the category currently being viewed, or the category of the article currently being viewed.
Anyone know how to stop this?
I can disable join_pretext_to_pagelinks but that stuffs up the second level navigation in section3, i.e. it becomes:
instead of (the correct):
Any tips would be great. I don’t particularly want to hard code it in the plugin.
Also, I hope this wasn’t too confusing.
Last edited by radneck (2015-11-04 07:48:45)
#542 2010-09-14 14:44:52
With graeme’s help I found a solution to my problem.
Using the tag <txp:gbp_disable_permlinks> … </txp:gbp_disable_permlinks> you can tell the plugin to leave certain sections of your site alone.
I enclosed the relevant vdh_flicks tags with the above tags and all works fine.
#543 2010-09-14 15:03:07
#544 2010-09-14 15:12:25
There’s an issue I have come across using this plugin. In the Permanent Links tab: List, Build, Preferences, and Edit, they all point to siteurl/textpattern/…
In a multisite setup the path is siteurl/admin/…
Links have to be changed manually in your browser to reach the links…
Anyone came across this ?
And knows which values to change in the library and the plugin ?
#545 2010-09-15 01:17:21
Thanks very much Andreas, perfect.
#546 2010-09-24 04:18:27
I’ve got a little bug, which I think has to do with gbp_permanen_links.
Problem can be reproduced by:
- Starting with fresh 4.2.0 install
- Upload and activate gbp_permanen_links (and gbp_admin_library obviously)
- Add the site-wide rule
- Add a new article called ‘about’ in the section ‘about’ and give it a category
- Go to your new site, and click the section link ‘About’
Provided you’re using the stock Pages and Forms, you should see some errors regarding
<txp:link_to_next>, which I think is caused by the
<txp:if_individual_article> tag returning true incorrectly (it should return false because you are viewing the section, not the individual article). This seems to be a case when there is an article with the same title (and therefore URL part) as a section – something to do with algorithms in gbp_permanen_links perhaps?
Its worth noting that disabling the plugin and refreshing will get rid of all the errors.
: It almost definitely has to do with the logic in the cleaver partial match tests.
I’ve implemented a rough hack to disable it in the mean time, but is there any chance this could be added as a pref so it can be disabled if necessary?
Your thoughts would be appreciated.
Last edited by radneck (2015-11-04 07:45:25)
#547 2010-10-01 09:36:25
Sorry if this has been asked before, but the only search result that came back was in German!
After installing gbp_permanent_links, I get 404 errors when I “preview” articles that are not of “live” status.
Preview as in: http://domain.com/section/id/?txpreview=id.timestamp
Any suggestions? Thanks!
#548 2010-11-03 22:47:53
- Registered: 2008-12-23
- Posts: 25
Is there a trick to using <txp:gbp_disable_permlinks>? I am trying to use it around upm_date_menu with no luck.
#549 2010-11-14 22:29:28
Since Txp 4.3.0: using the standard section/category/title rule, going to a section/category URL made <txp:if_category> return false (see post JanDW).