Page 1 of 1

Product Module detail template bug

Posted: Thu Jan 22, 2009 12:23 pm
by blackrain
Hi,

I am working on a project that requires multiple summary and detail pages to be used.

The issue I am having, is that although i can use a different summary templates on each page when clicking on the product thumb to view the details, it uses the default detail template and not the template specified.

E.g.

detail01 is the default, when thumb is clicked detail05 should show but instead detail01 the default displays.

Code: Select all

{Products summarytemplate="summary05" detailtemplate="detail05" category="books" sortorder="asc"}
I am running cmsms 1.5.2 and Products module 2.2.2

I thought it might be javascript issue but its not as it happens when its turned off.

Many Thanks

Mark

Re: Product Module detail template bug

Posted: Fri Mar 20, 2009 11:09 am
by oliverseddon
I am also having this problem, anyone know if there's a solution? I have two Detail templates, but when I specify I want to use a certain detail template only the default one is used.

This is the tag I have in my page:

{cms_module module='products' detailtemplate='Reed' category='business cards - reed'}


I'm running CMS MS 1.5.2 and Products 2.2.3


Thanks in advance.

Re: Product Module detail template bug

Posted: Fri Jan 15, 2010 12:40 pm
by manc
did anyone find the resolution to this?

Re: Product Module detail template bug

Posted: Fri Jan 15, 2010 1:53 pm
by jmcgin51
CMSMS 1.5.2 is not supported.  Please update to the latest version of CMSMS (1.6.5 or 1.6.6) and see if the problem continues.

Re: Product Module detail template bug

Posted: Wed Jul 11, 2012 3:34 pm
by kube
I am digging this up as the problem remains and i am facing it.

Any solutions ?

Re: Product Module detail template bug

Posted: Wed Jul 11, 2012 4:07 pm
by kube
OK, i've been doing my homework today and scratched the problem a little further...
in action.default.php we have :
- $params that stores all the params so we have: $params['detailtemplate'] that is holding my info
- line 443 $parms gets the values of $params
- line 445 the link for the detail is created with Createlink (see http://www.cmsmadesimple.org/apidoc/CMS ... CreateLink). $parms is passed on.

SO my conclusion so fat is that the problem seems to come from the link creation...our $parms is lost somewhere in the process !

Now on the forum i found this old thread (about the news module): http://forum.cmsmadesimple.org/viewtopic.php?t=4557 .

Could it be related ? Does pretty url stop our $parms somewhere ?

Let's find a fix because it is a very nasty limitation !