Products module and pretty urls

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cowtan
Forum Members
Forum Members
Posts: 70
Joined: Mon Jan 19, 2009 5:04 pm

Products module and pretty urls

Post by cowtan »

Hi - I'm trying to get pretty urls working with the products module. Using the standard methods, they're working on other pages but within pages that are using the products module everything goes a bit wrong. It looks bit like it might be trying to use the standard, default templates which I'm not using.

It cmsms 1.10.3 I'm using and products 2.17.

Any suggestions on how to get this working? Is it because I'm not using default templates?

cheers,
Gordon
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Products module and pretty urls

Post by Dr.CSS »

when using Products and pretty URLs you have to let it use the default templates, if you call the template in the tag it won't use pretty URLs...

iirc...
cowtan
Forum Members
Forum Members
Posts: 70
Joined: Mon Jan 19, 2009 5:04 pm

Re: Products module and pretty urls

Post by cowtan »

Dr.CSS wrote:when using Products and pretty URLs you have to let it use the default templates, if you call the template in the tag it won't use pretty URLs...

iirc...
Thanks. That's a shame because I use different templates in different places so at times I have to use templates that aren't the default.

As a follow-up... do you know if it's possible to use pretty urls in the rest of the site but let products based pages use the standard ones?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Products module and pretty urls

Post by Dr.CSS »

Yes only products will have non-pretty URLs...
cowtan
Forum Members
Forum Members
Posts: 70
Joined: Mon Jan 19, 2009 5:04 pm

Re: Products module and pretty urls

Post by cowtan »

Sorry, I should have been clearer... Do you know how I would go about having pretty urls in the rest of the site and non-pretty ones for the product pages?

At the moment if I take the standard steps for turning on pretty urls, it affects the whole site including the product pages which then break because they're trying to use the default templates.
User avatar
andriesinfoserv
Forum Members
Forum Members
Posts: 78
Joined: Wed Aug 31, 2011 6:37 am

Re: Products module and pretty urls

Post by andriesinfoserv »

dr. css: does this also apply when using the non default template assigned to the page but not calling it via the tag? Do you know why it demonstrates this behavior? is there a workaround? i wonder if other modules are affected as i have some pretty url issues with self reg.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Products module and pretty urls

Post by Dr.CSS »

If you use pretty URLs in the normal way all pages should have pretty URLs, but Products won't use pretty URLs if you use the template= parameters in it's tag...

This has nothing to do with the 'template' used for the 'page' itself, the reason product links aren't 'pretty' when using the template= parameter is that it has to carry that call with it thru the link, iirc...
Post Reply

Return to “Modules/Add-Ons”