giftmaster Posted April 16, 2005 Share Posted April 16, 2005 I have just installed Gallery Intergration The instructions tell you how to add a link to the infomation box but I would like to display the box on the main index page under the featured products. Can anone help me with this, or point me in the right direction? Thanks, Raymond Quote Link to comment Share on other sites More sharing options...
Top_Speed Posted April 16, 2005 Share Posted April 16, 2005 If you want the box to show up in your main page? Open catalog/index.php (backup the file first as always!) Find the html code in index.php (it's near the bottom of page) I have inserted a couple of new boxes as an example using FILENAME_xxxxx (xxxx=your boxes name, may not even have the prefix FILENAME either but most likely will) This is of course if your box is in the modules dir, if in boxes just change DIR_WS_MODULES to that. It's a very simple insert but backup the file before you alter it :) Hope this helps, --KJ <?php } else { // default page ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php echo $page_check[pages_html_text]; ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_xxxx); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_xxxx); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> Quote define('PROJECTS', 'Something that goes on forever!'); Link to comment Share on other sites More sharing options...
giftmaster Posted April 16, 2005 Author Share Posted April 16, 2005 If you want the box to show up in your main page?Open catalog/index.php (backup the file first as always!) Find the html code in index.php (it's near the bottom of page) I have inserted a couple of new boxes as an example using FILENAME_xxxxx (xxxx=your boxes name, may not even have the prefix FILENAME either but most likely will) This is of course if your box is in the modules dir, if in boxes just change DIR_WS_MODULES to that. It's a very simple insert but backup the file before you alter it :) Hope this helps, --KJ <{POST_SNAPBACK}> Hey thanks KJ. The box is not in the mod dir. It installes a lot the about us contrubution. It just places a link in the info box. At this point I can't get the contrubution to work at all. I don't understand it, it is a very simple install :( Mabe you can take a peek? :thumbsup: ? Thanks, Ray 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.