Forums / All Other Contributions/Addons / News Box Manager v3.0.0 [Support Thread]

News Box Manager v3.0.0 [Support Thread]

Views: 31,831

Results 81 to 100 of 164
23 Jan 2021, 7:45 PM
#81
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

News Box Manager v3.0.0 [Support Thread]

Just checking, you've got those sideboxes configured via the Layout Boxes Controller with Single Column Status set to OFF?

23 Jan 2021, 7:58 PM
#82
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

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

lat9:

Just checking, you've got those sideboxes configured via the Layout Boxes Controller with Single Column Status set to OFF?

Yes :smile:

23 Jan 2021, 8:09 PM
#83
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

shags38:

Yes :smile:
Weird, that's how I've got those set on My website and those sideboxes don't display.

23 Jan 2021, 8:48 PM
#84
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

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

lat9:

Weird, that's how I've got those set on My website and those sideboxes don't display.

I agree, it is wierd. Now I need to consider whether I've inadvertently created the problem, albeit I can't figure how? So I have the sidebox configured to GridTitleDateDesc - I actually like the way each article is displyed in the sidebox with a neat border around each.

I have one other issue with sideboxes layout controller - when turning search/header to on the search/sidebox also appears. The only way to get rid of the sidebox search is to turn off the header search. The sidebox search can be turned on independently when header search is off ... weird.

cheers, Mike

23 Jan 2021, 9:16 PM
#85
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

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

these images are small (from Lighthouse report) but still show with and without news side box on then off - I even disabled news on home page to see if that made a difference but alas not.

Attachment 19395

Attachment 19396

27 Jan 2021, 11:54 AM
#86
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

lat9:

I've just submitted v3.1.0 of News Box Manager (v3) for the Zen Cart moderators' review; I'll post back here when it's available for download.

This version enables integration with SiteMapXML, so that your site's sitemap can also 'point to' your site's news articles.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2264

6 Apr 2021, 12:10 PM
#87
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,727
Plugin Contributions:
56

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

Fantastic job as usual, Cindy - thank you.
Suggestion: Article page allows date display in box with rounded corners. Would be good to do this on the All Articles page as well.
Also, includes/modules/pages/all_articles/header_php.php references the GET variable 't', which doesn't seem to be set - did you intend to add a dropdown to the all articles page at the top to permit filtering by article type?

I will be adding this contribution to the list of suggestions on FAQ on adding pages to your site.
https://docs.zen-cart.com/user/customizing/add_pages/

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.

6 Apr 2021, 1:17 PM
#88
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

swguy:

Fantastic job as usual, Cindy - thank you.
Suggestion: Article page allows date display in box with rounded corners. Would be good to do this on the All Articles page as well.
Also, includes/modules/pages/all_articles/header_php.php references the GET variable 't', which doesn't seem to be set - did you intend to add a dropdown to the all articles page at the top to permit filtering by article type?

I will be adding this contribution to the list of suggestions on FAQ on adding pages to your site.
https://docs.zen-cart.com/user/customizing/add_pages/
Thanks for the compliment, Scott.

The "All Articles" page does display the date with rounded-corners (if configured), as on my website: https://vinosdefrutastropicales.com/index.php?main_page=all_articles&t=1

The $_GET['t'] is set by the type-specific sidebox display, when you click the associated "View All" link.

6 Apr 2021, 1:25 PM
#89
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,727
Plugin Contributions:
56

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

Should have been more clear: in Table format (All Articles: Display Mode = Table) it does not show the date in a rounded box, but in Listing it does, as you noted.

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.

30 Apr 2021, 8:28 PM
#90
rosestar avatar

rosestar

New Zenner

Join Date:
Oct 2019
Posts:
24
Plugin Contributions:
0

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

ZC 1.5.7c
News Box Mgr v3.1.0
Lovely plugin! I have two active News Box Manager blog posts. The sidebox (class="nb-grid-inner nb-t1") repeats only one news_content (class="nb-content") beneath each correct blog post link heading (class="nb-t1") and date (class="nb-dates").

The visible news_content changes depending on which story was last viewed; either way, both blog entry sidebox news_content summaries always contain the same data. Content is fine everywhere else. How may I resolve this please?

Attachment 19541

1 May 2021, 12:19 PM
#91
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

RoseStar:

ZC 1.5.7c
News Box Mgr v3.1.0
Lovely plugin! I have two active News Box Manager blog posts. The sidebox (class="nb-grid-inner nb-t1") repeats only one news_content (class="nb-content") beneath each correct blog post link heading (class="nb-t1") and date (class="nb-dates").

The visible news_content changes depending on which story was last viewed; either way, both blog entry sidebox news_content summaries always contain the same data. Content is fine everywhere else. How may I resolve this please?

Attachment 19541
My old eyes can't make out what the setting is for the two Sidebox/Category to Show values. Are they, perchance, the same?

1 May 2021, 1:39 PM
#92
rosestar avatar

rosestar

New Zenner

Join Date:
Oct 2019
Posts:
24
Plugin Contributions:
0

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

lat9:

My old eyes can't make out what the setting is for the two Sidebox/Category to Show values. Are they, perchance, the same?

They are the same.

Attachment 19544

1 May 2021, 1:50 PM
#93
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

That would explain it! Set those Category values to be different to get the sideboxes to display different content.

1 May 2021, 3:25 PM
#94
rosestar avatar

rosestar

New Zenner

Join Date:
Oct 2019
Posts:
24
Plugin Contributions:
0

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

lat9:

That would explain it! Set those Category values to be different to get the sideboxes to display different content.

I set the Category values to different displays and realized I wasn't clear. Apologies! The repeated news-content data under each post's correct heading in sideboxes occurs within the same sidebox. The issue persists.

The same content is always populated by the last viewed article:

Attachment 19545

1 May 2021, 3:51 PM
#95
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

RoseStar:

I set the Category values to different displays and realized I wasn't clear. Apologies! The repeated news-content data under each post's correct heading in sideboxes occurs within the same sidebox. The issue persists.

The same content is always populated by the last viewed article:

Attachment 19545
A link to the site would certainly help, as I'm not able to replicate your issue locally. If you don't want to post it on the forums, you can send it to me via PM.

10 May 2021, 4:40 AM
#96
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

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

v1.5.7b PHP 7.3 responsive classic template news box manager v3.1.0 dazzlers clip on earrings

Hi Cindy,

please refer to the screenshot - when news_box_sidebox.php is activated the content also appears on the home page in mobile, at the top of the page before the <h1> tag.

Configuration settings for sidebox are left/right >ON, Left selected, single column status set to OFF.

It is consitent on Chrome, Firefox and I.E - this same problem was posted here https://www.zen-cart.com/showthread.php?226052-News-Box-Manager-v3-0-0-Support-Thread&p=1377140#post1377140 a while back and because it persisted I deleted News Box Manager plugin and only re-installed yesterday. All other aspects of the function of News Box are fine, no other problems. I reported originally that the content was in the header but it may actually be in the home page - (using 'inspect' in Google Chrome responsive it shows that it is in navCatTabsWrapper ?? - the grey background behind 'Latest News (view all) is consistent with my categories tabs background in the header (in desktop view)

I've checked template files that I thought would have a bearing on placement on the home page (tpl_index_default, tpl_home_page and tpl_categories_index_default, tpl_header) but am not seeing any stray code.

Any thoughts on this??

cheers,
Mike

Attachment 19552

10 May 2021, 12:21 PM
#97
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

Mike, you'll need to edit your RC-template clone's version of /jscript/jscript_responsive_framework.php, adding the News Box Manager's sidebox(es) to the list of hidden elements:

$('#documentcategories').css({'display': 'none', 'visibility': 'hidden'  });
$('#categories').css({ 'display': 'none', 'visibility': 'hidden' });
$('#whatsnew').css({ 'display': 'none', 'visibility': 'hidden' });
$('#manufacturers').css({'display': 'none', 'visibility': 'hidden'  });
$('#reviews').css({ 'display': 'none', 'visibility': 'hidden' });
$('#featured').css({ 'display': 'none', 'visibility': 'hidden' });
$('#information').css({ 'display': 'none', 'visibility': 'hidden' });
$('#moreinformation').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bannerbox').css({ 'display': 'none', 'visibility': 'hidden' });
$('#ezpages').css({ 'display': 'none', 'visibility': 'hidden' });
$('#recordcompanies').css({ 'display': 'none', 'visibility': 'hidden' });
$('#musicgenres').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bannerboxall').css({ 'display': 'none', 'visibility': 'hidden' });
$('#search').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bannerbox2').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bestsellers').css({ 'display': 'none', 'visibility': 'hidden' });
$('#specials').css({'display': 'none', 'visibility': 'hidden'  });
$('#whosonline').css({ 'display': 'none', 'visibility': 'hidden' });
$('#orderhistory').css({ 'display': 'none', 'visibility': 'hidden' });
$('#manufacturerinfo').css({ 'display': 'none', 'visibility': 'hidden' });
$('#productnotifications').css({ 'display': 'none', 'visibility': 'hidden' });
$('#currencies').css({ 'display': 'none', 'visibility': 'hidden' });
$('#languages').css({ 'display': 'none', 'visibility': 'hidden' });
$('#shoppingcart').css({ 'display': 'none', 'visibility': 'hidden' });
[B]$('#newsboxsidebox').css({ 'display': 'none', 'visibility': 'hidden' });[/B]
10 May 2021, 2:04 PM
#98
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

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

lat9:

Mike, you'll need to edit your RC-template clone's version of /jscript/jscript_responsive_framework.php, adding the News Box Manager's sidebox(es) to the list of hidden elements:

$('#documentcategories').css({'display': 'none', 'visibility': 'hidden' });
$('#categories').css({ 'display': 'none', 'visibility': 'hidden' });
$('#whatsnew').css({ 'display': 'none', 'visibility': 'hidden' });
$('#manufacturers').css({'display': 'none', 'visibility': 'hidden' });
$('#reviews').css({ 'display': 'none', 'visibility': 'hidden' });
$('#featured').css({ 'display': 'none', 'visibility': 'hidden' });
$('#information').css({ 'display': 'none', 'visibility': 'hidden' });
$('#moreinformation').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bannerbox').css({ 'display': 'none', 'visibility': 'hidden' });
$('#ezpages').css({ 'display': 'none', 'visibility': 'hidden' });
$('#recordcompanies').css({ 'display': 'none', 'visibility': 'hidden' });
$('#musicgenres').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bannerboxall').css({ 'display': 'none', 'visibility': 'hidden' });
$('#search').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bannerbox2').css({ 'display': 'none', 'visibility': 'hidden' });
$('#bestsellers').css({ 'display': 'none', 'visibility': 'hidden' });
$('#specials').css({'display': 'none', 'visibility': 'hidden' });
$('#whosonline').css({ 'display': 'none', 'visibility': 'hidden' });
$('#orderhistory').css({ 'display': 'none', 'visibility': 'hidden' });
$('#manufacturerinfo').css({ 'display': 'none', 'visibility': 'hidden' });
$('#productnotifications').css({ 'display': 'none', 'visibility': 'hidden' });
$('#currencies').css({ 'display': 'none', 'visibility': 'hidden' });
$('#languages').css({ 'display': 'none', 'visibility': 'hidden' });
$('#shoppingcart').css({ 'display': 'none', 'visibility': 'hidden' });
[B]$('#newsboxsidebox').css({ 'display': 'none', 'visibility': 'hidden' });[/B]

Thanks a bunch Cindy - worked a treat :smile:

cheers,
Mike
23 May 2021, 6:26 PM
#99
rosestar avatar

rosestar

New Zenner

Join Date:
Oct 2019
Posts:
24
Plugin Contributions:
0

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

I'm not seeing anything in the code or news box tables; I've since turned off the 2nd sidebox as it's not needed yet. Here's a screenshot (same at link) to see my current settings and two different problems:

Attachment 19588

https://rosestarstudio.com/gallery/news_box_grid_title_date_shows_duplicate_desc__2021-05-23.png

Problem 1:
nb-t1 is populated correctly
nb-dates is populated correctly
nb-content is *not *populated correctly
Nothing stands out in the code for populating nb-content with

$news_sidebox_content = zen_trunc_string($news_content);

in tpl_news_box_sidebox.php

Problem 2:
Truncated news_content shows even though I have both sideboxes set to GridTitleDate only (instead of GridTitleDateDesc). I’m unable to temporarily mask problem #1 while still showing post dates.

24 May 2021, 1:40 PM
#100
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

Two file changes needed to provide the required variable clean-up for the multi-use formatting scripts:

  1. /includes/modules/news_box_format. Change line 80 to read
unset($news_info[B], $news_and_clause, $max_news_items[/B]);
  1. /includes/sideboxes/news_box_sidebox.php. Change line 83 to read
unset($news_sidebox_num[B], $news_and_clause, $max_news_items[/B]);