Add some text in header

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeAdd some text in header

This topic has been marked as not resolved.

Hello,
I am with old version of Pavilion heme. Can you tell me how can i add manually some text in header? Some like a phone or some other text. I try to add the text in header.tpl, but is not working.

 icedge
May 31, 2017 at 5:00 pm #59519

Hi,

You need to add the code in an existing system slot, e.g:

<?php $tbData->slotStart('common/header.search'); ?>

  INSERT HERE

  <?php echo $search; ?>

  OR HERE

<?php $tbData->slotStop(); ?>

You can use any slot in the header.tpl.

BR,
ThemeBurn team

June 5, 2017 at 12:05 am #59630

Thank you. I add the code, but nothing happening. I don’t any changes.
Here is the code that i add in header.tpl :

При поръчка над 100.00 лв доставката е безплатна до офис на Еконт

slotStart(‘common/header.search’); ?>

slotStop(); ?>

The website is : http://blackcatbg.com.

Please for help.

 icedge
June 5, 2017 at 9:38 pm #59654

Hi,

You need to use <code>< tags in order to post code here in support forums. Please check if you have inserted the custom HTML inside the slot and not outside. Any code should be between the opening and closing slot code:

<?php $tbData->slotStart('common/header.search'); ?>

INSERT THE CUSTOM CODE HERE

<?php $tbData->slotStop(); ?>

BR,
ThemeBurn team

June 6, 2017 at 4:50 pm #59667
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.