catalogue module detail display

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
whiteduck
Forum Members
Forum Members
Posts: 13
Joined: Sun Apr 03, 2011 1:16 pm

catalogue module detail display

Post by whiteduck »

CMSMS version 1.9.4.2

I have been using CTLModulemaker to create a couple of catalogues. The catalogues work and I can show both the list of items and the details of each item. However, I am having trouble directing where the detail is shown. I have tried using detailpage="" in the smarty tag to show details of an item. The detail still shows in the same page as the list details even when I specify a different page alias. I did something similar in the news module and no probs. Also, on one of the catalogues, I want to show the detail on the same page but in a different content block when an item in the list is clicked for more detail.

Below is the code for the more basic catalogue and its detail template:
{assign var="item" value=$itemlist[0]}
{$item->name->Label()}: {$item->name}<br/>
{$item->definition->Label()}: {$item->definition}<br/>

cheers WD
klenkes
Power Poster
Power Poster
Posts: 307
Joined: Mon Sep 08, 2008 9:43 am

Re: catalogue module detail display

Post by klenkes »

You are right.
The parameter detailpage=" " doesn't seem to work.

I don't think that you can specify a content block other than content_en which is the default content block.
If you call your module in a second content block you can give the parameter inline="1" and the details open in the second block.(means same one)
But if you call your module in the default content block you cannot show your details in another block.

At least not to my knowledge.
whiteduck
Forum Members
Forum Members
Posts: 13
Joined: Sun Apr 03, 2011 1:16 pm

Re: catalogue module detail display

Post by whiteduck »

thanks for your advice
cheers WD
Post Reply

Return to “Modules/Add-Ons”