Guest Posted July 22, 2008 Share Posted July 22, 2008 Hey guys,I want to create a FAQ page to the Prestashop C5. But i donot know how. So can somebody inform me?Any advise is appreciated.Better have the details. Thanks a lot.Rachal Link to comment Share on other sites More sharing options...
shake Posted July 23, 2008 Share Posted July 23, 2008 If you want to create a simple manually coded one then create a new php file in your root directory (www.example.com/example.phpin that file add: <?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/header.php'); $smarty->display(_PS_THEME_DIR_.'example.tpl'); include(dirname(__FILE__).'/footer.php'); ?> from above you can see that this example.php is calling for the example.tpl file, so in your themes directory you need to create the file example.tplat the top of example.tpl add: {capture name=path}{l s='Example Page'}{/capture} {include file=$tpl_dir./breadcrumb.tpl} that changes the breadcrumb title, then you could just create your faq page using normal html in dreamweaver etc.. and paste the code in, or a much better way would be to add it using css. like: {l s='FAQ number1'} {l s='answer for faq1'} {l s='FAQ number2'} {l s='answer for faq2'} {l s='FAQ number3'} {l s='answer for faq3'} {l s='FAQ number4'} {l s='answer for faq4'} Link to comment Share on other sites More sharing options...
shake Posted July 23, 2008 Share Posted July 23, 2008 last thing, you would need to link that page in somewhere, so either edit the themes/theme/sitemap.tpl and add a line for FAQ, or the modules/blockvariouslinks/blockvariouslinks.tpl file (that adds it to the footer) etc.. Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2008 Share Posted July 24, 2008 Dear Shake,Thanks a lot for the help.It works well.I am really appreciate your help.Rachal Link to comment Share on other sites More sharing options...
pilokki Posted August 23, 2008 Share Posted August 23, 2008 last thing, you would need to link that page in somewhere, so either edit the themes/theme/sitemap.tpl and add a line for FAQ, or the modules/blockvariouslinks/blockvariouslinks.tpl file (that adds it to the footer) etc.. How can I add a link to the Information Block (the block that has Delivery, Legal notice, Conditions, and About us)? I'm not very good at this stuff so any detailed, clear, step-by-step, simple instructions would be greatly appreciated! Link to comment Share on other sites More sharing options...
graes0 Posted August 23, 2008 Share Posted August 23, 2008 One more question. When you add a FAQ page how do you make it in several languages so the language cahnges based on the language chosen by the customer.Thanks,Geert Link to comment Share on other sites More sharing options...
sernu Posted September 19, 2008 Share Posted September 19, 2008 The example you gave it's not working for me. Can you specify more. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts