You are not logged in.
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:
example.com/section1/
example.com/section2/
example.com/section3/
to:
example.com/section1/current_category/
example.com/section2/current_category/
example.com/section3/current_category/
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:
example.com/category/category1/
example.com/category/category2/
example.com/category/category3/
instead of (the correct):
example.com/section3/category1/
example.com/section3/category2/
example.com/section3/category3/
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.
Cheers,
Mitch.
Last edited by cain-mi (2010-09-10 06:30:48)
Away for a while, all plugins will be updated in August 2012
Offline
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.
Offline
Andreas you saved my day with your post…
This is also the solution to my problem
Thanks !
_
I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder_
Offline
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 ?
Thanks !
_
I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder_
Offline
Graeme,
I’ve got a little bug, which I think has to do with gbp_permanen_links.
Problem can be reproduced by:
section/category/titleProvided 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.
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.
Cheers,
Mitch
Last edited by cain-mi (2010-09-24 05:29:30)
Away for a while, all plugins will be updated in August 2012
Offline
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!
Offline
Is there a trick to using <txp:gbp_disable_permlinks>? I am trying to use it around upm_date_menu with no luck.
Offline
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).
<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields
Offline
Els wrote:
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).
Post 546 related.
Away for a while, all plugins will be updated in August 2012
Offline