Page 4 of 9 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 85
  1. #31
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,507
    Plugin Contributions
    88

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

    The update (to be released as v2.2.1) is now available on the plugin's GitHub repository: https://github.com/lat9/news_box_manager.

  2. #32
    Join Date
    Jul 2011
    Posts
    22
    Plugin Contributions
    1

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

    Hi, I was so impressed with the sql fix I installed it on our live site just in time to advertise a company charity event.... Then i came across a bug. Not a big one! Our site has an issue with the 'more_news' page an wondered if it was a straight forward bug or something that's conflicting with just our site.

    It's best explained better with a snipet of the source code provided by W3C as below:

    <p>Every penny raised helps us make a difference to people affected by cancer</p><br />↩
    <br />↩
    <ul><br />↩
    <li>When: Friday 28th September</li><br />↩

    As you can see, the page automatically provides <br />'s at the end of every line. The resulting large spaces between each paragraph don't help the apparance. It behaves completely normal on the home and news_archive pages.
    I have tried adding things like: br { display: none;} to the css, it worked for the page but had effects on some other pages. Alos tried: #moreNewsDefault .newsContent+br { padding: 0.3em 0; display: none;} which had no effect at all.
    Many thanks for any assistance

  3. #33
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,507
    Plugin Contributions
    88

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

    Since the default template (/includes/templates/template_default/tpl_more_news_default.php) simply echos the 'content' you provide for the article, I'm going to guess that you're using an HTML editor in the admin to produce that content.

    You can correct those added <br />'s by turning off the HTML editor (reverting to 'Text') to remove those unwanted HTML additions.

  4. #34
    Join Date
    Jul 2011
    Posts
    22
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    Since the default template (/includes/templates/template_default/tpl_more_news_default.php) simply echos the 'content' you provide for the article, I'm going to guess that you're using an HTML editor in the admin to produce that content.

    You can correct those added <br />'s by turning off the HTML editor (reverting to 'Text') to remove those unwanted HTML additions.
    Thanks for such a speedy response.

    You are correct, I'm using ckeditor. However, from the editor, you can see the source code that it creates. There are no <br/>'s there. Thinking that it might be uploading something different to the server, I looked there. Again found no <br/>'s

    Below is same example as before copied straight from the server data field:

    <p>Every penny raised helps us make a difference to people affected by cancer</p>

    <ul>
    <li>When: Friday 28th September</li>
    <li>Where: Our Machinery Department</li>
    <li>Time: 10:00am - 2:00pm</li>
    </ul>

    <p><strong>If you are in our area, please call in to enjoy a cuppa and a chat!</strong></p>

    As I mentioned, it works properly in the other two pages.

    It's certainly got me scratching my head!

  5. #35
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,507
    Plugin Contributions
    88

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

    Darn it, it's the more_news page's header that's adding those. I'll get that corrected, too.

    Open /includes/modules/pages/more_news/header.php.php and find
    Code:
        $news_title = nl2br($news_box_query->fields['news_title']);
        $news_content = nl2br($news_box_query->fields['news_content']);
    Change those lines, removing the call to nl2br (which converts any new-line characters to <br />'s):
    Code:
        $news_title = $news_box_query->fields['news_title'];
        $news_content = $news_box_query->fields['news_content'];
    I'll get that logged and updated on the plugin's GitHub repository.

    Update: https://github.com/lat9/news_box_manager/issues/8
    Last edited by lat9; 28 Sep 2018 at 04:38 PM.

  6. #36
    Join Date
    Jul 2011
    Posts
    22
    Plugin Contributions
    1

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

    Thanks Lat9, It works like a dream, no more <br />'s anywhere!!

  7. #37
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,507
    Plugin Contributions
    88

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

    No problem, @honda-crunch; thanks for letting me know!

  8. #38
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

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

    Hi
    I have downloaded, but not installed it yet.

    Is there a way to have the following accessible to members only
    News Archive page
    More News page

    and have only the following visible to all
    Latest News sidebox
    Latest News centerbox

    I guess there is some coding involved, do you think it might be a good feature in case?

  9. #39
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,507
    Plugin Contributions
    88

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

    @keneso, I've created this GitHub issue so I remember your request.

  10. #40
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

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

    Quote Originally Posted by lat9 View Post
    @keneso, I've created this GitHub issue so I remember your request.
    Thank you.

 

 
Page 4 of 9 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. v150 Testimonial Manager Support Thread (for ZC v1.5.x)
    By countrycharm in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 7 Mar 2023, 03:40 PM
  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. Download File Manager Support Thread
    By balihr in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 17 Aug 2017, 10:32 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