Rwe Posted November 26, 2018 Share Posted November 26, 2018 @raiwa How can this addon be placed above the header navbar? thanks in advance Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted November 26, 2018 Share Posted November 26, 2018 (edited) 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 November 26, 2018 by raiwa Rwe 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Rwe Posted November 26, 2018 Author Share Posted November 26, 2018 @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. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted November 26, 2018 Share Posted November 26, 2018 OK, also possible and easier 😉 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted December 15, 2018 Share Posted December 15, 2018 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) altoid 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted December 17, 2018 Share Posted December 17, 2018 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. altoid 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.