Hello.
I have been working with the Company Directory module but I cannot figure out something.
Basically I have 2 categories and 2 different page template with different navigation on the top of the site.
I have added each category to each of these pages and it is showing the listing fine. The problem is when you click on a item to go to the detail page of that particular item, the page template changes to a default page for both separate categories.
There is nothing I could find in the settings to fix this.
How can I get this to stay in the same page template when I go to the details page?
Please help me and let me know if it was clear.
For example if you go to the following link:
http://www.discovercharlottetown.com/en ... o-Stay.php
and choose one of the accommodation entries, you'll see that it will change to a different page template with a different navigation on the top until you click return and it switches back to the previous template.
Thanks
CompanyDirectory module, Page template problem
Re: CompanyDirectory module, Page template problem
I figured it out but didn't know how to delete this topic.
Thanks
Thanks
Re: CompanyDirectory module, Page template problem
It would be better to post your solution(so others can learn from you) than deleting the topic.
Re: CompanyDirectory module, Page template problem
Oh sure.
I learned that you cannot attach a template to the CompanyDirectory tag but you can choose a particular page for the detail page in the tag.
For example detailpage="alias-of-the-page-you-want" parameter in the example below.
Example:
{CompanyDirectory category="Wedding_Photographers" detailpage="alias-of-the-page-you-want" detailtemplate="packages2"}
I learned that you cannot attach a template to the CompanyDirectory tag but you can choose a particular page for the detail page in the tag.
For example detailpage="alias-of-the-page-you-want" parameter in the example below.
Example:
{CompanyDirectory category="Wedding_Photographers" detailpage="alias-of-the-page-you-want" detailtemplate="packages2"}