![]() |
FAQ set up - clicking goes to home page
Hi there,
Can anyone help here: I have set up a static FAQ page and included the accordion content following the template instructions using the code {include file="custom/addons/faqs/faqs.tpl"} and checking the "Parse Smarty tags in the content of embedded static pages" in the general options. Now when I click on a FAQ item to expand it I am sent to my home page. Any ideas how to set it up so it works as intended i.e. the FAQ item expands? See this link: http://www.flysite.eu/FAQ.html Thanks for your help. Richard flysite.eu |
Re: FAQ set up - clicking goes to home page
In skin/ability/custom/addons/addons_common.tpl
Find this line... Code:
{if ($main eq "product" && $config.Ability_Template.abi_product_info_display eq "accordion") || ($main eq "help" && $config.Ability_Template.abi_addon_faqs eq "Y") || $smarty.get.pageid eq "1"} Replace... $smarty.get.pageid eq "1" With the ID # if your FAQ static page. |
Re: FAQ set up - clicking goes to home page
Hi Phil,
I have replaced the code you referenced with pageid eq "1" The FAQ now shows an expanded accordion, but will not collapse i.e. it is a static page. Also when I click the links to expand or collapse it sends me to my home page. What did I miss? Thanks Richard |
Re: FAQ set up - clicking goes to home page
Are you sure the ID of your FAQ static page is 1 ?
|
Re: FAQ set up - clicking goes to home page
|
Re: FAQ set up - clicking goes to home page
Please open a support ticket and I'll take a look.
|
All times are GMT -8. The time now is 08:51 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.