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 121 to 140 of 164
9 Nov 2021, 12:42 PM
#121
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]

chuckrey:

I have a couple of questions.. I am using 1.5.7 v3.1.1.
I am trying to change the wording at the top of the "All Articles" page. The heading currently says: "ALL TYPE4 ARTICLES". Can you please tell me how I can change this? The url is:https://coolintentions.com/index.php?main_page=all_articles&t=4.

Also, for some reason the articles use to display at the bottom of the home page and when I upgraded to the more recent version of this module, it no longer will display. Any help would be awesome. Thank you.
The "Type1" through "Type4" text is changed via edit to your template's override of /includes/languages/english/extra_definitions/news_box_manager_defines.php.

P.S. I've no clue as to why those articles aren't being included as a homepage centerbox.

9 Nov 2021, 2:14 PM
#122
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

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

lat9:

The "Type1" through "Type4" text is changed via edit to your template's override of /includes/languages/english/extra_definitions/news_box_manager_defines.php.

P.S. I've no clue as to why those articles aren't being included as a homepage centerbox.

Thank you for your response.:smile:

4 Mar 2022, 2:24 PM
#123
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

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

Hi,

Thanks for this great plug in as it provides such a great blog like highlight for items!!

I had one question that I couldn't find if it had been answered. I am running zen cart v.1.5.7 and when I post a new news post, the date it displays on the post is always incorrect. I made a new post today and the date shows as Sept. 23.

I am wondering where I could change this?

Thanks for your help,

Jeff

4 Mar 2022, 2:59 PM
#124
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]

NWCE:

Hi,

Thanks for this great plug in as it provides such a great blog like highlight for items!!

I had one question that I couldn't find if it had been answered. I am running zen cart v.1.5.7 and when I post a new news post, the date it displays on the post is always incorrect. I made a new post today and the date shows as Sept. 23.

I am wondering where I could change this?

Thanks for your help,

Jeff
I'm in the middle of a bunch of stuff right now, but I've created a GitHub tracking issue (https://github.com/lat9/news_box_manager_v3/issues/28) to remind myself to come back when I've got time.

4 Mar 2022, 3:33 PM
#125
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

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

Thanks lat9 for your help and reply! I appreciate it!

Jeff

5 Mar 2022, 12:29 PM
#126
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

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

Hi lat9,

I have solved my own problem when working on this over the last day or so. It deals with the custom code that the company who made my template have inputted and incorrectly formatted.

Thanks again for your reply and help,

Jeff

5 Mar 2022, 12:31 PM
#127
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]

NWCE:

Hi lat9,

I have solved my own problem when working on this over the last day or so. It deals with the custom code that the company who made my template have inputted and incorrectly formatted.

Thanks again for your reply and help,

Jeff
Thanks for the update (and timesaver)! I appreciate that.

6 Feb 2024, 1:27 AM
#128
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]

v3.2.0 of News Box Manager - v3 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2264

This release contains changes associated with the following GitHub issues:

#15: Provide a sort form for the display on the all_articles page.
#17: Enable article content search on the all_articles page.
#29: Correct PHP Warning on a new-article preview.
#30: Make the "See All" text a language constant.
#31: Minimum Zen Cart version is now 1.5.8a; adding Bootstrap template support.
#34: Remove template-override of the index page from the distribution; refer to the readme.html.
#35: Use zen_cfg_read_only as the setting function for the plugin's configured version.

16 Apr 2024, 1:37 PM
#129
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

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

Greetings!

I'm having a problem or 2 with my newsbox (3.2.0)

  1. The date showing for my article is not showing correctly on my homepage nor on my all articles page nor on the article page itself. I'm sending screenshots of the correct date shown in my admin news box manager (all articles) and from the homepage of my site (https://www.cedargroveherbs.com), all articles page and the article page. The date is correctly shown in my sidebox though (https://www.cedargroveherbs.com/discount_coupon.html)

Attachment 20578Attachment 20579Attachment 20580Attachment 20581

  1. When creating an article how do I add the image I want for the article on the home page, side box and the article itself. I ended up taking a rather long route to do it this time but I wonder if there's a better way - like being able to add the picture in the admin>tools>news box manager...
20 Apr 2024, 8:25 PM
#130
fenomenal7 avatar

fenomenal7

New Zenner

Join Date:
Mar 2024
Location:
Lufkin, Tx
Posts:
41
Plugin Contributions:
0

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

I got it fixed

13 May 2024, 2:08 PM
#131
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]

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.

26 Jun 2024, 12:06 PM
#132
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]

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.

15 Jul 2024, 7:12 PM
#133
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:

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 begs the question: How did the plugin get installed without its distributed sanitization rules (admin/includes/extra_datafiles/news_box_manager_sanitization.php)?

15 Jul 2024, 7:46 PM
#134
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:

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', '/');

See this GitHub issue for resolution forthcoming in v3.2.1: https://github.com/lat9/news_box_manager_v3/issues/39

3 Aug 2024, 11:45 PM
#135
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]

v3.2.1 of News Box Manager v3 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2264

This release contains changes associated with the following GitHub issues:

#36: article page, breadcrumbs don't include current article name
#37: SitemapXML addition: Fatal error due to missing $
#39: Correct type-specific admin tools language loading

4 Aug 2024, 6:42 PM
#136
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]

That begs the question: How did the plugin get installed without its distributed sanitization rules (admin/includes/extra_datafiles/news_box_manager_sanitization.php)?

This is a great question. Here's the answer: some of the Perfectus templates come bundled with an incomplete copy of this plugin.

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.

1 Sep 2024, 3:59 AM
#137
dragonlady avatar

dragonlady

Zen Follower

Join Date:
May 2010
Posts:
145
Plugin Contributions:
0

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

https://alchemycabinet.com
2.0.1
Lotsoplugins

I installed this recently and mostly love it.
It seems to be working on the front end of the shop, but on the back end it's throwing errors:

[01-Sep-2024 03:50:16 UTC] Request URI: /index.php?main_page=all_articles, IP address: MY IP, Language id 1
#0 /includes/templates/MY TEMPLATE/templates/tpl_all_articles_default.php(114): zen_debug_error_handler()
#1 /includes/templates/MY TEMPLATE/common/tpl_main_page.php(178): require('/home/alchem44/...')
#2 /index.php(94): require('/home/PATH/...')
--> PHP Warning: Undefined array key "news_content" in /includes/templates/MY TEMPLATE/templates/tpl_all_articles_default.php on line 114.


The errors appear when I hit the "view all" link on the front page, or the "news" link on the breadcrumb trail on the invidual article pages.
Help?
1 Sep 2024, 1:45 PM
#138
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]

Yep, if you've configured the storefront listings to show no content (only title and date); GitHub issue created for tracking: https://github.com/lat9/news_box_manager_v3/issues/40

1 Sep 2024, 7:23 PM
#139
dragonlady avatar

dragonlady

Zen Follower

Join Date:
May 2010
Posts:
145
Plugin Contributions:
0

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

lat9:

Yep, if you've configured the storefront listings to show no content (only title and date); GitHub issue created for tracking: https://github.com/lat9/news_box_manager_v3/issues/40

'kay...so how and where do I fix that?

On the News Box Manager page there isn't any field or prompt asking what to display -or not.
Is it the "content length" option under configuration? I assumed that meant the limit to the size of content of an article? Increasing that number from the default "0" to "100" doesn't seem to change anything on the front page or on the "all articles" page; nor has it stopped the errors from appearing.

Thanks again for your help. :)

1 Sep 2024, 7:32 PM
#140
dragonlady avatar

dragonlady

Zen Follower

Join Date:
May 2010
Posts:
145
Plugin Contributions:
0

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

Or, maybe...just maybe I spoke too soon.
Changing content length to 100 and changing from "list" back to the default "table" under configuration may have fixed the problem. I'm scared to jinx it by posting too soon but don't want to waste anyone's time looking for an issue that has been fixed. o.O