Results 1 to 10 of 451

Threaded View

  1. #11

    Default Re: News & Article Management

    Having upgraded from 1.38a to 1.39g on Friday I discovered that the news and article mod was not working correctly. Specifically the html editor was displaying text as raw HTML code.

    There is a thread about this general issue here:

    http://www.zen-cart.com/forum/showthread.php?t=165081


    Although this is not specific to solving the problem in news and article manager I resolved the problem by adding the two relevant inputs for the news and article mod. Here is my code for this new file which solves the HTML problem for define pages as recommended by Dr Byte and my fix for the news and article mod:

    Just to let anyone know who is also struggling with source HTML in the news and article manager i added to the suggested file in this thread two inputs from this mod so my file reads as follows:

    PHP Code:
    <?php
    $global_xss_whitelist 
    = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
    $my_whitelist  = array('file_contents''banners_html_text''pages_title''message_html','news_article_text','news_article_shorttext','comments_text');
    $global_xss_whitelist array_merge($my_whitelist$global_xss_whitelist);
    Last edited by DVDTitan; 4 Oct 2010 at 08:58 AM.

 

 

Similar Threads

  1. News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 May 2008, 03:27 PM
  2. Regarding News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 May 2008, 05:27 PM
  3. News & Article Management- couple small problems
    By chufty bill in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 26 Oct 2006, 09:53 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR