kelvin95 Posted March 21, 2017 Share Posted March 21, 2017 Hi, I am a bit new to oscommerce. And I am just a bit confused when I look at footer.php files. <?php if (($oscTemplate->hasBlocks('boxes_footer'))) {?><div class="footer-boxes"><?php echo $oscTemplate->getBlocks('boxes_footer'); ?></div><?php } ?> Any Idea where the argument 'boxes_footer' is coming from so that I can edit the footer? Link to comment Share on other sites More sharing options...
burt Posted March 21, 2017 Share Posted March 21, 2017 Do. Not. Edit. Any. Files. What is it that you are trying to achieve? Link to comment Share on other sites More sharing options...
kelvin95 Posted March 21, 2017 Author Share Posted March 21, 2017 I am just trying to change some of the texts in footer. Link to comment Share on other sites More sharing options...
burt Posted March 21, 2017 Share Posted March 21, 2017 Look at the relevant language file. Use a tool such as Grepwin to search for text. Once that text is located, you change it. Link to comment Share on other sites More sharing options...
kelvin95 Posted March 21, 2017 Author Share Posted March 21, 2017 Thanks. But I could not find the argument 'boxes_footer' in language files. Thats why I am asking. Link to comment Share on other sites More sharing options...
ArtcoInc Posted March 21, 2017 Share Posted March 21, 2017 @@kelvin95 Kelvin, There are multiple 'boxes' available to install into the footer. In your Admin, click on 'Modules' on the left hand side. Then click on 'Install Modules' in the upper right corner. You will find additional 'boxes' or modules you can install. Each module has it's own language file, usually in catalog/admin/includes/languages/<your language (typically English)>/<module_name>.php It's in the language file that you change the text. HTH Malcolm Link to comment Share on other sites More sharing options...
Dan Cole Posted March 22, 2017 Share Posted March 22, 2017 Thanks. But I could not find the argument 'boxes_footer' in language files. Thats why I am asking. Gary didn't say search for boxes_footer....you search for the text that you want to change. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
♥14steve14 Posted March 22, 2017 Share Posted March 22, 2017 The footer contains mainly modules, so you need to look in the includes/languages/english/modules/content/footer folder and then select the module that you need to change. Use an ftp program to save a copy of your site on your computer, then edit the files there and upload them back to your server, remebering to backup the files before editing in case you made a mistake and want to revert back to the original files. Once you get the hang of it is easy. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
ArtcoInc Posted March 22, 2017 Share Posted March 22, 2017 @@kelvin95 FYI ... This code: <?php if (($oscTemplate->hasBlocks('boxes_footer'))) {?> <div class="footer-boxes"><?php echo $oscTemplate->getBlocks('boxes_footer'); ?></div> <?php } ?> states ... If there are any footer boxes (modules) installed and enabled, find them and add them to the footer code. Each box (module) will have it's own language file. That's why there is no 'boxes_footer' in the language files. HTH Malcolm Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.