Page 1 of 1

Products module and pretty urls

Posted: Thu May 17, 2012 3:28 pm
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

Re: Products module and pretty urls

Posted: Thu May 17, 2012 4:18 pm
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...

Re: Products module and pretty urls

Posted: Thu May 17, 2012 4:29 pm
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?

Re: Products module and pretty urls

Posted: Thu May 17, 2012 5:51 pm
by Dr.CSS
Yes only products will have non-pretty URLs...

Re: Products module and pretty urls

Posted: Mon May 21, 2012 12:31 pm
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.

Re: Products module and pretty urls

Posted: Thu May 31, 2012 1:23 pm
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.

Re: Products module and pretty urls

Posted: Thu May 31, 2012 5:52 pm
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...