I did everything but I haven't accomplished anything.
I did everything but I haven't accomplished anything.
in order for the file to read the <?php and actually treat it as php and not text the file needs to be named .php
Zen cart PCI compliant Hosting
Marlin are you fimilar with CMS e107?
Nope,
but Im assuming that you are trying to use the code listed above in an index.html
this wont work since the machine needs to know that it needs to use php
Zen cart PCI compliant Hosting
OK, so e107 is a PHP/mySQL based CMS... It should not have any inherent problems with a php file. You need to learn from e107 how to use PHP in files in their system. They seem to have an active forum that should be able to help you.
I am creating a PHP file call test.php here is the code:
can someone tell me what I am doing wrong?Code:<?php require('gift_shop/includes/application_top.php'); $zcSBmodule = 'new_products.php'; $zcSBlayout = 'left'; require('gift_shop/single_sidebox.php'); ?>
Ok I got the single side box to work with no images. but that mod. is for sideboxes only that isn't what I am looking for I want to pull an element for Whats New in January module like these files (includes/modules/new_products.php)........... can anyone help me please..
can anyone help me on this????
The images aren't showing ... because they're being pointed to the wrong location: "/home/content/m/o/r/morristech/html/gifts/images/38881.jpg"
Try commenting out this line in your single_sidebox.php script, by adding 2 slashes, as shown:Code:// define('DIR_WS_IMAGES', $zcDir . '/images/');
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
DrByte
Is it possible to have the New Products Module like the big box in the middle of the store that has 9 products in module box. outside zen cart. has this ever been done?
Wade
Last edited by wmorris; 3 Jan 2008 at 06:12 AM.