Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Holiday Promotional Message 2.0 BS


Rwe

Recommended Posts

Hello @Rwe,

Please post your question in the official support thread for this contribution:

 

Your question is also not specific for this add-on. It is about all header modules.

The header modules can't be placed before the navbar in a standard store because the order of the content groups is defined in template_top.php and header.php

However you could create a new group which contains only the holiday message module and place it before the navbar.

Have a look in template_top.php and header.php to see how it is made.

You would need to add the call for the new group ("before_navbar" is just an example, you can call it as you wish) :

  <?php echo $oscTemplate->getContent('before_navbar'); ?>

in template_top.php before:

  <?php echo $oscTemplate->getContent('navigation'); ?>

Then create a directory called "before_navbar" in includes/modules/content/

Then you would need to move the holiday module into this directory and change the coding  in the holiday message module to fit the class name etc.

Edited by raiwa
Link to comment
Share on other sites

@raiwa

Thanks for your explaination,

I made it by moving the files to the  modules/content/navigation folder and make the nescessary changes in the files.(  _HEADER_  to _NAVBAR  etc. )

i did not change  template_top.

 

 

Link to comment
Share on other sites

Link to comment
Share on other sites

  • 3 weeks later...

Update uploaded:

Holiday-Promotional Message 2.1 BS

Changes version 2.1:
- added tep_db_input function to text input fields to allow sql sensitive special characters like single quote (apostrophe)

 

Link to comment
Share on other sites

Update uploaded:

Holiday-Promotional Message 2.1 BS

Changes version 2.1.1:
- reverted wrong fix introduced in 2.1.
- applied correct fix in admin/modules_content.php to allow sql sensitive special characters like single quote (apostrophe) in Text definitions.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...