Page 14 of 14 FirstFirst ... 4121314
Results 131 to 132 of 132
  1. #131
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,917
    Plugin Contributions
    124

    Default Re: News Box Manager v3.0.0 [Support Thread]

    If your news comes out on the storefront side showing html tags:

    <p>Bla bla bla</p><p>We are pleased to announce ...

    This means the plugin was installed without admin sanitization rules, so when you show it on the storefront, you will have to use something like:

    <div class="news-content"><?php echo htmlspecialchars_decode(stripslashes($news_content)); ?></div>

    In includes/templates/template_default/templates/tpl_article_default.php instead of just

    <div class="news-content"><?= $news_content ?></div>
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #132
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,917
    Plugin Contributions
    124

    Default Re: News Box Manager v3.0.0 [Support Thread]

    In 1.5.8+/PHP8+, going to admin/news_box_manager1.php (or 2, 3, or 4) will fail because the underlying language file defines are not pulled in.

    Change

    require DIR_WS_LANGUAGES . $_SESSION['language'] . '/lang.news_box_manager.php';

    to:

    global $languageLoader;
    $languageLoader->loadExtraLanguageFiles(DIR_WS_LANGUAGES, $_SESSION['language'], FILENAME_NEWS_BOX_MANAGER . '.php', '/');
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 14 of 14 FirstFirst ... 4121314

Similar Threads

  1. v151 Log Manager [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 19 Oct 2023, 11:44 AM
  2. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  3. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  4. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  5. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM

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