- Posts: 57
- Thank you received: 0
Product Page - Using different template
- rockstaran
-
Topic Author
- Offline
Less
More
14 years 6 months ago #48324
by rockstaran
Product Page - Using different template was created by rockstaran
I would like to know, how can I use a different template in the product page from the template used on the overall site.
For example, my home page has a product list, thumbnail (image/title), when user clicks it takes them to the products page. I want this page to be completely blank with only the products information (no header/footer/etc..). Any Suggestions?
For example, my home page has a product list, thumbnail (image/title), when user clicks it takes them to the products page. I want this page to be completely blank with only the products information (no header/footer/etc..). Any Suggestions?
Please Log in or Create an account to join the conversation.
14 years 6 months ago #48382
by nicolas
Replied by nicolas on topic Re: Product Page - Using different template
You will have to edit the file "listing_img_title" of the view "product" via the menu Display->Views and add :
&tmpl=component
in the URL link which is set at the beginning of the file.
&tmpl=component
in the URL link which is set at the beginning of the file.
The following user(s) said Thank You: rockstaran
Please Log in or Create an account to join the conversation.
- rockstaran
-
Topic Author
- Offline
Less
More
- Posts: 57
- Thank you received: 0
14 years 6 months ago #48768
by rockstaran
Replied by rockstaran on topic Re: Product Page - Using different template
Thank you,
I solved it differently (more involved), since I had a deadline on friday.
I added code (in the index.php of the template) so that if the querystring reads pop=1, it will show an empty template (no header or footer, and no borders, etc..), so when pop-1 in the querystring, I load certain css which overrides the css of the template. worked perfectly. Thank You, will use your solution next time.
I solved it differently (more involved), since I had a deadline on friday.
I added code (in the index.php of the template) so that if the querystring reads pop=1, it will show an empty template (no header or footer, and no borders, etc..), so when pop-1 in the querystring, I load certain css which overrides the css of the template. worked perfectly. Thank You, will use your solution next time.
Please Log in or Create an account to join the conversation.
10 years 11 months ago #221618
by AntinJH
Replied by AntinJH on topic Re: Product Page - Using different template
Hi,
I tried this technique whitch works. But is it possible to set a joomla template instead of the "component template" ?
Thanks !
I tried this technique whitch works. But is it possible to set a joomla template instead of the "component template" ?
Thanks !
Please Log in or Create an account to join the conversation.
10 years 11 months ago #221624
by nicolas
Replied by nicolas on topic Re: Product Page - Using different template
Hi,
Joomla doesn't have by default a system in place to switch the template for different pages of the same menu item (which is what you want).
For that, you'll need to use another extension like these:
extensions.joomla.org/extensions/extensi...templating/chameleon
extensions.joomla.org/extensions/extensi...ced-template-manager
Joomla doesn't have by default a system in place to switch the template for different pages of the same menu item (which is what you want).
For that, you'll need to use another extension like these:
extensions.joomla.org/extensions/extensi...templating/chameleon
extensions.joomla.org/extensions/extensi...ced-template-manager
Please Log in or Create an account to join the conversation.
10 years 11 months ago #221795
by AntinJH
Replied by AntinJH on topic Re: Product Page - Using different template
Thanks a lot, I'll try this !
Have a nice day.
Have a nice day.
Please Log in or Create an account to join the conversation.
Time to create page: 0.048 seconds