ArtcoInc Posted April 23, 2015 Share Posted April 23, 2015 This is in regards to http://addons.oscommerce.com/info/9147 I have this installed and working. I have even modified it to be a box_module with a scrolling display for 234 Responsive - Gold.. My questions are: 1) I can see that the 'status' field in the 'latest_news' table is used to enable/disable that news record. What is the purpose of the 'important' field? 2) This add-on is supposed to be Multilingual. While I do not have multiple languages installed on my site, I am curious as to how one creates and manages news records in different languages? Malcolm Quote Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted April 23, 2015 Share Posted April 23, 2015 just had a quick look at the code 1) i can't see any ref to the important field in the sql for the box, it does not seem used 2) the same way as it is done on products and categories the content table has a language id, and the admin page iterates through the different languages to create headline and content fields for data entry in each language ArtcoInc 1 Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
De Dokta Posted April 23, 2015 Share Posted April 23, 2015 (edited) The "important" field is to decide, whether you want to display a news message on the main page module or not. You may not want to display any news which is enabled on the index page but only the really important. In the admin tool you find for that a field "Display on main page?" Edited April 23, 2015 by De Dokta Quote Link to comment Share on other sites More sharing options...
ArtcoInc Posted April 24, 2015 Author Share Posted April 24, 2015 @@De Dokta Thank you for the explanation. Yes, the admin screen has two check boxes: 'Main Page' and 'Status'. Malcolm Quote Link to comment Share on other sites More sharing options...
panos13 Posted May 16, 2015 Share Posted May 16, 2015 Hi all I want to install this application but the instructions mentioned in 2.2 /includes/modules/boxes/bm_information.phpeinfόgen/insert: osc 2.3.x:' <a href="' . tep_href_link(FILENAME_LATEST_NEWS) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a><br/>' . BS2334:' <li><a href="' . tep_href_link(FILENAME_LATEST_NEWS) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a></li>' . but I can not figure out at what point. I put it in the beginning, i put in the end but nothing. Its not working. I have the 2.3.4bs and the page code is very different.I would appreciate any help.Thank you (Sorry for my english). Quote Link to comment Share on other sites More sharing options...
De Dokta Posted May 16, 2015 Share Posted May 16, 2015 Hi In 2.3.4BS it's a little bit different: Insert ' <li><a href="' . tep_href_link(FILENAME_LATEST_NEWS) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a></li>' . into includes\modules\boxes\templates\information.php. J.J. Quote Link to comment Share on other sites More sharing options...
panos13 Posted May 17, 2015 Share Posted May 17, 2015 Thanks @@De Dokta The command is litle different <li><a href="<?php echo tep_href_link('latest_news.php') ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_NEWS; ?></a></li> Thanks. You saving me. Quote 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.