my main web page is http://www.mtechama.com uses C.M.S. e107 and I want to put an whats new element there in the middle? that is what I want to do.
my main web page is http://www.mtechama.com uses C.M.S. e107 and I want to put an whats new element there in the middle? that is what I want to do.
Several options.
1) use the information I posted previously and CREATE your own include for the what's new section (that is what I meant when I sent over that last link and said you could start here). That post isn't a sidebox for your store, it shows you HOW to include a side box on an EXTERNAL page (outside of the zen cart structure). There are a few other tutorials ("Ideasgirl" does a good job of showing it) on the zen site.
2) Hard code a section called what's new into the home page (if that page resides outside of zen cart)
3) Use your zen cart admin to simply tell the cart to include the whats new onto the home page (if it resides within the zen cart structure). Admin > Configuration > Index Listing will get you there.
Good luck!
Last edited by econcepts; 21 Oct 2007 at 01:05 PM. Reason: added info
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
econcept,
I have tried all that but It didn't work any other suggestions....
here is the PHP inside of a HTML code that I am using.
WadeCode:<?php <font size="3"><span style="font-weight: bold;"> Welcome to Morris Technologies and Gift Shop. Please </span><a href="http://www.mtechama.com/signup.php" style="font-weight: bold;">register here</a></font><span style="font-weight: bold;"><font size="3"> to recieve the following e-mails:<br /><br />*E-News<br />*E-Promotions<br />*E-Specials<br />*E-Site Updates<br />*E-New Products & Services <br />and much more<br /><br />If you need Technical Support please <a href="http://www.mtechama.com/e107_plugins/forum/forum.php">click here</a> to go our support forum.</font><br /></span> <br><br> <table border="1" width="49%"> $zcSBmodule = 'whats_new.php'; <tr> <td width="181"> <p align="center"> <a href="http://www.mtechama.com/gift_shop/index.php?main_page=product_info&cPath=6&products_id=5"> <img border="0" src="http://www.mtechama.com/gift_shop/images/70900.jpg" width="101" height="101"><br> World Of Products<br> $6.75</a></td> <td width="179"> <p align="center"> <a href="http://www.mtechama.com/gift_shop/index.php?main_page=product_info&cPath=1&products_id=1"> <img border="0" src="http://www.mtechama.com/gift_shop/images/34830.jpg" width="107" height="107"><br> 3pc. Fabric Xmas Bears<br> $119.95</a></td> <td> </td> </tr> <tr> <td width="181"> </td> <td width="179"> </td> <td> </td> </tr> <tr> <td width="181"> </td> <td width="179"> </td> <td> </td> </tr> </table> <p><center> <img border="0" src="http://www.mtechama.com/gift_shop/images/ClearwireWhite.jpg" width="213" height="101"> <img border="0" src="http://www.mtechama.com/gift_shop/images/Microsoft_Windows_logo.jpg" width="147" height="101"> <img border="0" src="http://www.mtechama.com/gift_shop/images/p4_logo.jpg" width="77" height="101"> <img border="0" src="http://www.mtechama.com/gift_shop/images/semp-amd-logo.jpg" width="124" height="102"></p></center> <p> </p> ?>
Last edited by wmorris; 21 Oct 2007 at 08:27 PM.
The only actual PHP in the code you posted is
$zcSBmodule = 'whats_new.php';
which simply sets a variable equal to a string. The <?php ?> tags should be just around that, not around the whole HTML code; but it will not accomplish anything anyway.
What you have tried here is #2 (hardcode a what's new section). Exactly how does it not work? What results do you get? What error messages do you get?
gjh42,
I am using a CMS of e107 here is my main page http://www.mtechama.com and my zen cart area is http://www.mtechama.com/gift_shop/index.php you can see it in the middle of the page.
This is actually working exactly as you are telling it to. All of the HTML is functioning, and it doesn't understand what to do with the <?php and $zcSBmodule = 'whats_new.php';, so it simply outputs them as text. What file is the code contained in? Does it have a .php extension?
Glenn what do you mean php extistion....
Wade