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 101 to 120 of 164
25 May 2021, 6:05 PM
#101
rosestar avatar

rosestar

New Zenner

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

News Box Manager v3.0.0 [Support Thread]

lat9:

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]);

> 
> 2. /includes/sideboxes/news_box_sidebox.php.  Change line 83 to read
> ```
unset($news_sidebox_num[B], $news_and_clause, $max_news_items[/B]);

Thanks! Made the unset changes, however the issue persists. Screenshots:

VIEWALL-GridTitleDateDesc_doesnt_show_desc: https://rosestarstudio.com/VIEWALL-GridTitleDateDesc_doesnt_show_desc.png
ARTICLE-GridTitleDateDesc_duplicate_desc: https://rosestarstudio.com/ARTICLE-GridTitleDateDesc_duplicate_desc.png
VIEWALL-GridTitleDate_ok: https://rosestarstudio.com/VIEWALL-GridTitleDate_ok.png
ARTICLE-GridTitleDate_shows-duplicate-desc: https://rosestarstudio.com/ARTICLE-GridTitleDate_shows-duplicate-desc.png

25 May 2021, 6:46 PM
#102
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:

Thanks! Made the unset changes, however the issue persists. Screenshots:

VIEWALL-GridTitleDateDesc_doesnt_show_desc: https://rosestarstudio.com/VIEWALL-GridTitleDateDesc_doesnt_show_desc.png
ARTICLE-GridTitleDateDesc_duplicate_desc: https://rosestarstudio.com/ARTICLE-GridTitleDateDesc_duplicate_desc.png
VIEWALL-GridTitleDate_ok: https://rosestarstudio.com/VIEWALL-GridTitleDate_ok.png
ARTICLE-GridTitleDate_shows-duplicate-desc: https://rosestarstudio.com/ARTICLE-GridTitleDate_shows-duplicate-desc.png
For the missing descriptions, edit /includes/templates/template_default/sideboxes/tpl_news_box_sidebox.php, line 35, correcting the variable name:

        $news_sidebox_content = zen_trunc_string($news[B]_sidebox[/B]_content);
25 May 2021, 7:19 PM
#103
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]

Note, too, that I'm unable to replicate the duplicate descriptions' issue.

26 May 2021, 7:49 PM
#104
rosestar avatar

rosestar

New Zenner

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

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

lat9:

Note, too, that I'm unable to replicate the duplicate descriptions' issue.

That fixed it! Thank you for your time!

26 May 2021, 8:07 PM
#105
rosestar avatar

rosestar

New Zenner

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

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

lat9:

For the missing descriptions, edit /includes/templates/template_default/sideboxes/tpl_news_box_sidebox.php, line 35, correcting the variable name:

    $news_sidebox_content = zen_trunc_string($news[B]_sidebox[/B]_content);

That fixed it! Thank you for your time!
27 May 2021, 12:03 PM
#106
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:

That fixed it! Thank you for your time!
@RoseStar, thanks for your patience and applying those corrections. I'll get an update for News Box Manager v3 going.

27 May 2021, 12:30 PM
#107
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:

@RoseStar, thanks for your patience and applying those corrections. I'll get an update for News Box Manager v3 going.
... and I've just submitted v3.1.1 of News Box Manager - v3 for the Zen Cart moderators' review. I'll post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#25: Clean up multi-use variables, previous settings being applied to follow-on renderings.
#26: Correct MySQL error when home centerbox display uses Categories setting (for strict MySQL installations).
#27: Correcting 'no description included' when a sidebox uses GridTitleDateDesc layout.

30 Aug 2021, 11:32 PM
#108
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

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

Working with 1.5.7c, is it possible to have more than 4 newsboxes? Ideally, I'd like 8 as I have 8 topics I talk about in my newsletters I publish, and this is the online catalog for each section.

Thanks :-)

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

31 Aug 2021, 12:18 PM
#109
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]

Elemi:

Working with 1.5.7c, is it possible to have more than 4 newsboxes? Ideally, I'd like 8 as I have 8 topics I talk about in my newsletters I publish, and this is the online catalog for each section.

Thanks :-)
That looks do-able; I'll get some documentation together to describe how to expand the number of different types of news. That will only affect the news categories, not the number of sideboxes supported.

3 Sep 2021, 1:40 AM
#110
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

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

lat9:

That looks do-able; I'll get some documentation together to describe how to expand the number of different types of news. That will only affect the news categories, not the number of sideboxes supported.

thank you, I only use 1 sidebox so this solution will work for me :-)

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

5 Sep 2021, 9:41 PM
#113
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

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

seems there is a mistake in the docs, you forgot to adjust the defines after you copied and pasted ```
Add the names of the additional types (5 through 8):

define('BOX_NEWS_NAME_TYPE1', 'Type1');
define('BOX_NEWS_NAME_TYPE2', 'Type2');
define('BOX_NEWS_NAME_TYPE3', 'Type3');
define('BOX_NEWS_NAME_TYPE4', 'Type4');
define('BOX_NEWS_NAME_TYPE1', 'Type5');
define('BOX_NEWS_NAME_TYPE2', 'Type6');
define('BOX_NEWS_NAME_TYPE3', 'Type7');
define('BOX_NEWS_NAME_TYPE4', 'Type8');

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

6 Sep 2021, 11:57 AM
#114
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]

barco57:

seems there is a mistake in the docs, you forgot to adjust the defines after you copied and pasted ```
Add the names of the additional types (5 through 8):

define('BOX_NEWS_NAME_TYPE1', 'Type1');
define('BOX_NEWS_NAME_TYPE2', 'Type2');
define('BOX_NEWS_NAME_TYPE3', 'Type3');
define('BOX_NEWS_NAME_TYPE4', 'Type4');
define('BOX_NEWS_NAME_TYPE1', 'Type5');
define('BOX_NEWS_NAME_TYPE2', 'Type6');
define('BOX_NEWS_NAME_TYPE3', 'Type7');
define('BOX_NEWS_NAME_TYPE4', 'Type8');
Thanks for the report; all better now.
9 Sep 2021, 2:44 AM
#115
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

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

Cindy, this is great, however is there any way to create an index for the articles?, and how do I get them to come up in a search?
Or a list of the different sections in my footer? https://www.AmorAromatherapy.com

Thanks
Tania :-)

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

9 Sep 2021, 8:41 PM
#116
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]

Elemi:

Cindy, this is great, however is there any way to create an index for the articles?, and how do I get them to come up in a search?
Or a list of the different sections in my footer? www.AmorAromatherapy.com

Thanks
Tania :-)
Tania, you'll use index.php?main_page=all_articles&t=1 to view all articles of Type1.

10 Sep 2021, 4:03 AM
#117
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

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

lat9:

Tania, you'll use index.php?main_page=all_articles&t=1 to view all articles of Type1.

Thanks Cindy.... ummm, where am I putting that exactly...? Developer Tool Kit didn't find a resemblance of this at all...

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

10 Sep 2021, 1:22 PM
#118
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]

Elemi:

Thanks Cindy.... ummm, where am I putting that exactly...? Developer Tool Kit didn't find a resemblance of this at all...
You'd edit your site's footer, creating an anchor tag similar to

<a href="<?php echo zen_href_link(FILENAME_ALL_ARTICLES, 't=1'); ?>">Articles for Type1</a>
8 Nov 2021, 7:47 PM
#119
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]

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.

8 Nov 2021, 8:30 PM
#120
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]

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.

Oh, one more thing....
Just for the record, I did copy over the following to the existing tpl_index_default.php

<?php //-bof-news_box_manager-lat9 *** 1 of 1 *** $mnbf = $template->get_template_dir('tpl_modules_news_box_format.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_news_box_format.php'; if (file_exists($mnbf)) { require $mnbf; } //-eof-news_box_manager-lat9 *** 1 of 1 *** ?>