zegar911 Posted July 19, 2010 Posted July 19, 2010 hi, i am trying to instal this add On, i got stuck on step.3, STEP #3 - Add a link in the Admin Panel. Edit file "/catalog/admin/incudes/boxes/catalog.php" Find this code (Around Line 25): '' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '' . Directly AFTER add this: 'Easy Populate' . ""'' now where and how should i paste i tried as directed but could not get result, here us my file, can some one who used this contrib please help.. <?php /* $Id: catalog.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ ?> <!-- catalog //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_CATALOG, 'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')); if ($selected_box == 'catalog') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>'); } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- catalog_eof //--> please help.... 0
chadcloman Posted July 19, 2010 Posted July 19, 2010 The instructions are incorrect. See this thread for the correct code to insert. Check out Chad's News.
zegar911 Posted July 20, 2010 Author Posted July 20, 2010 thanks Chad! i did it, now when i am clicking "easy populate" on catalog i am getting this "Internal Server Error" The server encountered an internal error or misconfiguration and was unable to complete your request." Please Help, Thanks in Advance. Zegar
zegar911 Posted July 20, 2010 Author Posted July 20, 2010 Never mind, i checked the error log, it said easy populated is writeable by group, so i change permission to 755, now its working great, thanks alot for your help, Zegar,
Recommended Posts
Archived
This topic is now archived and is closed to further replies.