Jump to content

Recommended Posts

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

post-296568-0-27156500-1323349343_thumb.jpg

post-296568-0-14397900-1323349344_thumb.jpg

Link to comment
Share on other sites

  • 1 month later...

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

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

 

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

×
×
  • Create New...