It's the documentation that's incorrect; I've updated the version provided on my website. Thanks again for pointing out those omissions and "misspellings"!
It's the documentation that's incorrect; I've updated the version provided on my website. Thanks again for pointing out those omissions and "misspellings"!
Thanks lat9,
Glad some good came out of all my confusion! Happily adding the plugin to my production cart tonight.
Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.0.1.
@K1979, you can correct that issue by editing your /YOUR_ADMIN/news_box_manager.php, locating this code section (starting at line 537):
and adding the highlighted line:Code:// ----- // Editing an existing article or inserting a new one ... noting that we can also come back here // from an article's insert/update "Preview" to make changes prior to saving in the database. // if ($action == 'modify' || $action == 'updateedit' || $action == 'new' || $action == 'newedit') { if ($action == 'modify' || $action == 'updateedit') { $form_action = 'updatepreview' . "&nID=$nID"; $hidden_field = zen_draw_hidden_field('nID', $nID); $cancel_link = zen_href_link($news_box_script_name, $page_get_params . "nID=$nID"); } else {
I'll be getting v3.0.3 of News Box Manager released, containing this change as well as the documentation updates identified by @gernot.Code:// ----- // Editing an existing article or inserting a new one ... noting that we can also come back here // from an article's insert/update "Preview" to make changes prior to saving in the database. // if ($action == 'modify' || $action == 'updateedit' || $action == 'new' || $action == 'newedit') { if ($action == 'modify' || $action == 'updateedit') { $form_action = 'updatepreview' . "&nID=$nID"; $hidden_field = zen_draw_hidden_field('nID', $nID); $hidden_field .= ($all_news_types) ? '' : zen_draw_hidden_field('news_content_type', $news_box_type); $cancel_link = zen_href_link($news_box_script_name, $page_get_params . "nID=$nID"); } else {
v3.0.3 has been submitted to the Zen Cart moderators for review; I'll post back here once it's available for download.
Thank you for your very quick reply and work!
It does work well![]()
Hello again,
I test some cases.
Case1
Sidebox #1: Category to Show -> 1
Sidebox #2: Category to Show -> 2
Home Page: Display Mode -> Categories
The home-page news(index page) shows category 2 only.
Case2
Sidebox #1: Category to Show -> All
Sidebox #2: Category to Show -> 2
Home Page: Display Mode -> Categories
The home-page news(index page) shows category 2 only.
Case3(changed sidebox order by "Tools->Layout Boxes Controller")
Sidebox #2: Category to Show -> 2
Sidebox #1: Category to Show -> All
Home Page: Display Mode -> Categories
The home-page news(index page) shows all categories.
I will reconfirm by vanilla files later.
I have already customized some codes, so that might cause this.
More informational as we had a cpanel crash during the upgrade of NBM to 3.0.2. Not sure what version was loaded.
Got the can't connect error and no connect to admin.
Log hadnot real user or admin.Code:PHP Fatal error: 1054:Unknown column 'news_content_type' in 'where clause' :: UPDATE box_news SET news_content_type = 1 WHERE news_content_type = 0 ==> (as called by) /home/roiweji/public_html/kSJbdgf/includes/init_includes/news_box_manager_update.php on line 258 <== in /home/russradi/public_html/includes/classes/db/mysql/query_factory.php on line 171.
Added news_contnent_type to news_box as tinyint 1 and all works.
Sorry for brevity. Late for appointment
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
More info:
Was an upgrade from 2.0
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Bookmarks