Thank you guys! I added that extra cofig file per the instructions and working great! Just wanted to let you know you are appreciated! :clap:
Printable View
Thank you guys! I added that extra cofig file per the instructions and working great! Just wanted to let you know you are appreciated! :clap:
Everything for me is now working fine.
Great thankyou
Hello,
Sorry guys, all fixed up on the front page showing html, yeehaw, but now my html on my banners are showing in the side boxes. No images ,just the code pops up on front end. What should I do to fix it.
Thanks!
NOTE: THE FOLLOWING CODE HAS BEEN SUPERCEDED BY THIS POST: http://www.zen-cart.com/forum/showth...839#post941839
Try using for the extra_white_list.php file:
/admin/includes/extra_configures/extra_white_list.php
and put into that file the code:
and then try to edit the define_main_page.php or Banner HTML once more and save it to see if this displays correctly now?Code:<?php
$global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
$my_whitelist = array('file_contents', 'banners_html_text');
$global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist);
NOTE: the file
/admin/includes/extra_configures/extra_white_list.php
is a file that you create for this code ...
Not just yea but hell yea! Thanks! All good here. I saw I needed to edit something in the array line but I do not know code very well. But I do follow instructions well lol. Gimme something to copy and paste and tell me where to paste it and Im good. Thank you for your help.
I've applied the patch as outline but now my banners on the front page no longer interpate the HTML code:
It works for the other pages, but not the banner.
http://www.daisygirlstshirts.com/ind...ain_page=index
Any idea what to do here?
It seems my only alternative is to load all the old files that were replaced for the upgrade since this newest fubard my site.
I applied the fix and it worked for everything except the front page banner.
If I use HTML text instead of the image, all that displays is the actually HTML, not the output of the HTML.