Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#529 2009-11-14 23:44:06

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: gbp_permanent_links

I have clean search result urls working, but how do you get <txp:search_input /> to send you to them instead of the messy ones?

Offline

#530 2009-11-15 08:34:12

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: gbp_permanent_links

graeme wrote:

Instead of modifying the admin library can I suggest you define var $permissions = etc... in the PermanentLinks, PermanentLinksBuildTabView and PermanentLinksListTabView classes within the gbp_pl source. The admin library is used for other plugins (eg. MLP) so any changes made to it would also effect them too.

True. It would be possible to upgrade the plugin with the new restricted permissions? I think that is better that only the admin can define the Links by default.

Offline

#531 2009-11-16 11:26:38

speeke
Member
From: Bruny Island, Australia
Registered: 2009-03-29
Posts: 161
Website

Re: gbp_permanent_links

I also have a question regarding the output of search results. I have tried a number of different configurations, but can’t seem to get clean urls.

I have my permanent link mode set to /section/title (in preferences), which I need to retain so another plugin functions the way I need it to – namely: upm_date_archive

I am using section name “search”, page name “search”, form name “search_results”.


“People who value their privileges above their principles soon lose both.”
Dwight D. Eisenhower

Offline

#532 2009-11-18 12:33:55

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: gbp_permanent_links

mericson wrote:

For some reason when gbp_permanent_links is enabled bad URLs are being generated for txp:link_to_next and txp:link_to_prev the generated URLs look something like the following…

graeme wrote:

That’ll change if you’re in live mode.

Same thing happens here. Changing to “Live” mode didn’t seems to make any difference at all. Also tried wrapping the tags (link_to_prev) with gbp_disable_permlinks, with no luck.

BTW, the output is just one link, always to the same article.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#533 2009-11-19 14:47:42

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: gbp_permanent_links

A follow up about my previous post: it also affects (in the same way) the output of smd_horizon tags (a replacement of link_to_prev and link_to_next).


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#534 2010-02-01 00:40:55

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

Re: gbp_permanent_links

Is there a way to implement the URL structure /section/category/sub-category/?

If one uses category1 and category2 all category listings have their name twice in the url, rather than being nested in parent-child fashion.

Last edited by dl33 (2010-02-01 00:46:46)

Offline

#535 2010-02-25 22:59:10

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Re: gbp_permanent_links

I tried enabling redirect for certain rules and discovered the redirect isn’t as seamless as I would have hoped. Other redirects I have (in .htaccess) look seamless in the browser. The redirects by gbp_permanent_links seems to load the page twice and also renders a link at the top of the page. This flashes and looks invasive. I want to make sure I redirect to common links rather than have a variety of links on the site.

Is this to be expected because the redirect is in HTTP and not Apache? Is there any way to not display the link?

Offline

#536 2010-04-16 21:48:33

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: gbp_permanent_links

I’m trying to get this to work with the vdh_flickr plugin. I don’t actually need clean URLs for the photo pages but gpb_permanent_links seems to interfere with the flickr-set URLs.

Is there a way I can tell gpb_permanent_links to leave one section alone?

Thanks for your help.

Offline

#537 2010-04-18 07:23:48

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: gbp_permanent_links

Some more details, perhaps.

When I switch off gbp_permanent_links, the vdh_flickr plugin generates these types of URLs

  • http://www.domain.de/fotos/?set=72157623745343871 (flickr photo set)
  • http://www.domain.de/fotos/?set=72157623745343871&img=4526255150 (individual photo)

When I switch ON gbp_permanent_links all I get is http://www.domain.de/fotos

I’d like to tell gbp_permanent_links to simply leave the section /fotos/ alone. Of course, if there’s a simple way of making the above URLs clean with gbp_permanent_links that would be even better.

Any ideas? Thanks in advance.

Offline

#538 2010-04-18 12:49:45

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

Re: gbp_permanent_links

Does it work if you create a seperate permanent link rule for each section, except for ‘fotos’? I know it’s not very efficient, but it’s the only thing I can think of right now…

Offline

#539 2010-04-18 13:04:11

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: gbp_permanent_links

Thanks for the suggestion. I don’t have the time at the moment to try it out (this is for my private, hobby website). Maybe someone else (perhaps grame himself?) has other ideas?

Offline

#540 2010-06-03 09:46:52

beechy
Member
Registered: 2006-03-02
Posts: 92

Re: gbp_permanent_links

Hi I am using gbp_permanent_links (awsome plugin by the way).

On my blog page i use

<txp:older showalways=“1”>Older</txp:older>
<txp:newer showalways=“1”>Newer</txp:newer>

To paginate articles and this work fine, both with clean_page_archive_links on and off in the plugin preferences.

However on my search page it doesn’t work. I have turned off clean_page_archive_links and this doesn’t help either. I dont have any gbp_permanent_links setup for my search page.

When I click newer or older on the search page it seems to remove the query (?q=searchquery) and replace with (?pg=2) is this a preferences issue or a problem with the plugin.

I have looked through this thread but cant seem to find an answer. Any help would be appreciated.

Thanks

Offline

Board footer

Powered by FluxBB