Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default News Box Manager

    I have made a couple of bug fixes to the News Box Manager contribution so that now all output is XHTML compliant. I will update the archive in the downloads area in the near future but for now I will post just the changes made for XHTML compliancy.

    In the file includes/templates/YOUR_TEMPLATE/sideboxes/tpl_news_scroll_box.php locate the line that says:

    Code:
    $box_news_content[$i] = $display_news;
    and replace it with:

    Code:
    $box_news_content[$i] = str_replace('</','<\/' , $display_news);
    locate the line that says:

    Code:
    document.write(\'<div id="fscroller" class="ScrollerFrame" style="overflow:\'+foverflow+\';width:\'+fwidth+\';height:\'+fheight+\'"></div>\')
    and replace with:

    Code:
    document.write(\'<div id="Scrollertitle"><\/div><div id="fscroller" class="ScrollerFrame" style="overflow:\'+foverflow+\';width:\'+fwidth+\';height:\'+fheight+\'"/>\')
    In the file includes/languages/english/YOUR_TEMPLATE/more_news.php

    Locate the block that says:

    Code:
    <table cellpadding="0px" cellspacing="30px" border="0px" height="100%" width="100%">
      <tr>
        <td valign=top width="100%" height="100%">
          <table cellpadding="0px" cellspacing="0px" border="0px">
    and replace with:

    Code:
    <table cellpadding="0" cellspacing="30" border="0" width="100%">
      <tr>
        <td valign=top width="100%" height="100%">
          <table cellpadding="0" cellspacing="0" border="0">
    This should assure all news output is XHTML compliant.

    Enjoy!
    Jeff
    Last edited by JeffD; 24 Aug 2006 at 05:06 PM.

 

 

Similar Threads

  1. 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
  2. News Box Manager
    By kinget in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 19 Dec 2008, 08:30 PM
  3. Re: News Box Manager vs. 1.4 - How to fadeout?
    By daschenbrener in forum Addon Sideboxes
    Replies: 2
    Last Post: 25 Jan 2007, 02:12 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