Contributions
random tips&tricks with administration
Tips&tricks box for oscommerce 2.2. rc2 with administration from Vadim Lyakh
php > 4.4
MySQL
WARNING! no errors reporting
SCREENSHOT included
Have questions or donate?
Mail me at asdf77@mail.ru
russian language if possible
Install:
1.
upload the tipsadm.php to catalog/admin
upload the tips.php to catalog/includes/boxes
upload and execute tips_install.php to create table tips
2
.Add
define('BOX_HEADING_TIPS', 'Tips');
define('BOX_TIPS_NO_TIPS', 'No Tips');
to english.php and other before the closing ?>
3.Add
require(DIR_WS_BOXES . 'tips.php');
to column_left.php or column_right.php below the require for the box under which you would like the daily word box to appear.
4.
Add
<br>' .
'<a href="' . tep_href_link('tips.php', '', 'NONSSL') . '" class="menuBoxContentLink">Tips</a>
after
'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>
in /catalog/admin/includes/boxes/catalog.php
enjoy
It is pretty simple. Hope I did not confuse anyone.
| 17 Apr 2009 |
I got a question about little modification of the contrib. This addon allow you:
1) Select as many tip infoboxes as you want.
2) Set and unset random order for tips, selected from database. So you have an ability to create static tips.
3) If random is OFF you now may sort tips by their create order asc or desc.
No file modification needed. Replaced only 1 file. Instructions included.
ADDON ONLY
| 17 Apr 2009 |
| 2 Apr 2009 |
Note: Contributions are used at own risk.
