dedeziel Posted December 8, 2011 Share Posted December 8, 2011 I have a 2 part question here and I think the first one is pretty easy. 1. I need to edit the header links on the site. I have been able to edit the actual display name but I want to edit the landing links to the edited links and I am unsure exactly where to put the URL in the code. <li><a href="{$link->getPageLink('prices-drop.php')}"{if $page_name == 'prices-drop'} class="active"{/if}>{l s='distributors' mod='tmheaderlinks'}</a></li> Currently it pulls from the prices-drop.php file but I just want to put in an external website URL. 2. Is it possible to add another tab to the product tabs on the product pages? I thought this would be done in the global.css but I tried a few things and failed miserably. a. Does anybody know of a way to add the contact form or any contact type form to a tab. So on every product page the tab would read "Contact Us" or "Receive a Quote" and a contact form would be there so they didnt have to leave the product page to do so? Any help would be great, but a solution would be down right amazing!! Bump Link to comment Share on other sites More sharing options...
webcoachonline Posted January 28, 2012 Share Posted January 28, 2012 I'am also trying to add a custom external link in the tmheader module. I tried to modify the file modules /tmheaderlinks/tmheaderlinks.tpl And add a line, just like the post above mentions it but there is no change I asdo added a line in the language file But nothing happens Is it possible to add a header link that points to an external page in this tmheader module or is it better to replace it by another module that allows that? Link to comment Share on other sites More sharing options...
El Patron Posted January 28, 2012 Share Posted January 28, 2012 I'am also trying to add a custom external link in the tmheader module. I tried to modify the file modules /tmheaderlinks/tmheaderlinks.tpl And add a line, just like the post above mentions it but there is no change I asdo added a line in the language file But nothing happens Is it possible to add a header link that points to an external page in this tmheader module or is it better to replace it by another module that allows that? make sure to change back office-->preferences-->performance-->force compile: Yes otherwise you will not see your .tpl changes. I typcially also turn off caching when I am testing changes. Link to comment Share on other sites More sharing options...
El Patron Posted January 28, 2012 Share Posted January 28, 2012 2. Is it possible to add another tab to the product tabs on the product pages? I thought this would be done in the global.css but I tried a few things and failed miserably. a. Does anybody know of a way to add the contact form or any contact type form to a tab. So on every product page the tab would read "Contact Us" or "Receive a Quote" and a contact form would be there so they didnt have to leave the product page to do so? Any help would be great, but a solution would be down right amazing!! Bump There are a couple modules avaialbe that allow you to add product tabs, we use the module by jeevan but there is a nicer module on the prestashop add'ons. I say nicer module because apparently you can add a tab to a cat or sub category and it will display the tab on all products contained...as opposed to adding a tab to each product. Link to comment Share on other sites More sharing options...
Recommended Posts