Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2010
    Location
    Central FL
    Posts
    26
    Plugin Contributions
    0

    Default New template and Banners wont render...

    Hello Everyone,

    I started a new site with this the avigon template,
    and when I enter a new banner I get the html code showing up
    instead of the banner image??

    So if you happen to use this template can you aslo point me in the right direction, I would like to edit the sidebox header text can't seem to find the right file yet....

    http://www.flex1productions.org/artstore/

    Thanks,

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

    Default Re: New template and Banners wont render...

    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2010
    Location
    Central FL
    Posts
    26
    Plugin Contributions
    0

    Default Re: New template and Banners wont render...

    okay I went ahead and created the file;

    /admin/includes/extra_configures/extra_white_list.php

    and added this code to it;

    <?php
    $global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
    $my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html', 'manufacturers_name', 'symbol_left', 'symbol_right', 'query_string');
    $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist);

    no change still getting html code displayed on front page

    http://flex1productions.org/artstore/

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New template and Banners wont render...

    Could you now edit your Banners and save them and see if the changes happen?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2010
    Location
    Central FL
    Posts
    26
    Plugin Contributions
    0

    Default Re: New template and Banners wont render...

    Hey Ajeh

    just went ahead and added a completly new banner still no dice?..

  6. #6
    Join Date
    Sep 2010
    Location
    Central FL
    Posts
    26
    Plugin Contributions
    0

    Default Re: New template and Banners wont render...

    should i be adding this code or file to these pages as well??

    Define Page , Banner HTML, EZPage Title and Send Email

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New template and Banners wont render...

    You should have made the extra_white_list.php file and loaded it to the server ...

    Go to the Tools ... Developers Tool Kit ...

    and do a search for:
    $my_whitelist

    and see if you have the file:
    /admin/includes/extra_configures/extra_white_list.php

    on the list that shows up ...

    showing:
    Code:
    $my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html', 'manufacturers_name', 'symbol_left', 'symbol_right', 'query_string');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Sep 2010
    Location
    Central FL
    Posts
    26
    Plugin Contributions
    0

    Default Re: New template and Banners wont render...

    Okay i did a search for ($my_whitelist) and this is what i found,

    /home/flexpro1/public_html/flex1productions.org/store/zc_admin/includes/init_includes/init_sanitize.php

    Line #25 : * $my_whitelist = array('some_field_name');

    so let me get this straight, create the file: extra_white_list.php file and add this code to it. Should I create a folder for it or add to an existing folder on the server??

    <?php
    $global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
    $my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html', 'manufacturers_name', 'symbol_left', 'symbol_right', 'query_string');
    $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist);

    Buy the way thanks for your help, I also went with another template dont want to begin editing until I can get the banners up and running........

    http://flex1productions.org/store

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New template and Banners wont render...

    You make the file:
    extra_white_list.php

    and follow the instructions in post #52 for what the file should contain and load it, via FTP, to:
    /admin/includes/extra_configures/extra_white_list.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Sep 2010
    Location
    Central FL
    Posts
    26
    Plugin Contributions
    0

    Default Re: New template and Banners wont render...

    i have followed the instructions and creteded the file with the code in /admin/includes/extra_configures still having the same problem html code showing instead of banner....

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. new banner groups and banners
    By phpDev2008 in forum General Questions
    Replies: 0
    Last Post: 21 Apr 2008, 07:57 AM
  2. I bought a template, but now I don't have banners and ez pages
    By giuly in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Mar 2008, 10:40 PM
  3. help, new template wont load...
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Aug 2006, 11:49 PM

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