Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2010
    Posts
    3
    Plugin Contributions
    0

    Default code showing in template

    Hello everyone

    I am new to Zen Cart and still trying to figure out how to work with this shopping cart system. I have tried working with the templates but on every one I load (except the standard classic one) there is some code showing.

    http://www.portrait-art-painting.com...or_maintenance

    currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); } $hidden_get_variables = ''; reset($_GET); while (list($key, $value) = each($_GET)) { if ( ($key != 'currency') && ($key != zen_session_name()) && ($key != 'x') && ($key != 'y') ) { $hidden_get_variables .= zen_draw_hidden_field($key, $value); } } } ?>

    and one with language for another template

    Can anyone help me and point me in the right direction what I need to change to not have this code showing.

    In advance thanks for any help you can give me

    Thanks
    Peggy

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: code showing in template

    I suggest that you do not use any template monster template...
    Search for them on this forum and see all the issues with their templates

    You did not state what version of ZenCart you have, but I assume the most recent
    See this thread
    http://www.zen-cart.com/forum/showthread.php?t=165081
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: code showing in template

    Quote Originally Posted by kobra View Post
    You did not state what version of ZenCart you have, but I assume the most recent
    See this thread
    http://www.zen-cart.com/forum/showthread.php?t=165081
    The PHP code posted by the OP is unrelated to the HTML complaints about 1.3.9g.
    As such that link is unrelated to the OP posted concern.

    Their real problem is incomplete PHP files resulting from bad FTP upload.
    .

    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.

 

 

Similar Threads

  1. v150 Uploaded Template Not Showing In Template Selection
    By luxebohochic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Aug 2012, 02:01 AM
  2. Template not showing in Template Selection
    By Moon060 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 17 Aug 2011, 11:51 AM
  3. Image Not Showing up on Main Page - HTML Code Showing
    By acreativepage in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2010, 11:44 AM
  4. Custom template not showing in admin Template Selection
    By erinl in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Aug 2008, 07:51 PM
  5. default template not showing up on template selection screen
    By vintagetwitch in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 3 Aug 2008, 08:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg