rubygirl Posted December 25, 2002 Share Posted December 25, 2002 Quick question for anyone who is using the define main-page contrib developed by Mattice - how can I add one of the "boxes" that are currently residing in either column_right or _left into the main page? There are some boxes that are "nifty" but I don't need them displayed on every page - the best place for them (my opinion) would be in the center of the main page - any help would be swell!!! Thanks and Happy Holidays to everyone! Quote Link to comment Share on other sites More sharing options...
CC Posted December 26, 2002 Share Posted December 26, 2002 Well if it is only to be put on the mainpage, and is not going to be dynamic in style, why dont you just use standard html? This would be an easy way. Set styles to run from .css file and you can change the look as needed. You could even integrate something dynamic for the products that go in it, like maybe a product of the week etc... CC. Quote Link to comment Share on other sites More sharing options...
mattice Posted December 26, 2002 Share Posted December 26, 2002 in your main page file make a new table somewhere like this: <table> <?php include(DIR_WS_BOXES . 'whatever_box.php'); ?> </table> That should do it. Mattice Quote "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
rubygirl Posted December 26, 2002 Author Share Posted December 26, 2002 Easy enough - Thanks! Quote Link to comment Share on other sites More sharing options...
mugitty Posted January 10, 2003 Share Posted January 10, 2003 Thanks for the great contrib, Mattice! I have successfully installed and can create links to other pages outside the catalog, but I can't seem to create links within define mainpage to other pages within the catalog (I know it's just because my knowledge of PHP is so lacking). Specifically, I want to make links within the define mainpage area to 1)specific categories from the category list and 2) specific manufacturers from the manufacturer list. Thanks for any help :!: Quote ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! Link to comment Share on other sites More sharing options...
mugitty Posted January 11, 2003 Share Posted January 11, 2003 I've managed to create a link within define mainpage, BUT the text that I'm trying to have appear as the link (in red) disappears and the active link area (in green) continues to the end of all of the text in the box (the link actually goes where I want it to, I just need it to say Briggs & Stratton): Small Engines & Short Blocks plus Service and Repair Manuals for: Briggs & Stratton, Honda, Kawasaki, Kohler, Tecumseh Parts, Parts and more Parts... O.E.M. and Aftermarket parts for all of the above, plus MTD, Murray, Homelite, Sears/Craftsman and many more! Help and Information With references available to over 1,200,000 part numbers, we're not going to have everything in the online catalog! Just use our Help Desk to ask us about what you need, and we'll do our best to find it for you. still to come... Lawn & Garden and Pet Supply products![/color] The code for the area around the link is this: <br> plus Service and Repair Manuals for: <br> <b><a href=" . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=10') . "Briggs & Stratton</a>, Honda, Kawasaki, Kohler, Tecumseh</b> <p> <b><big>Parts, Parts and more Parts...</big></b> Can anyone point me to the (probably a single keystroke) error of my ways :? Quote ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! Link to comment Share on other sites More sharing options...
mugitty Posted January 11, 2003 Share Posted January 11, 2003 :shock: I think it's time to pause for a while I was missing the closing > on my <a href= :oops: Quote ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! 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.