Page 4 of 13 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 128
  1. #31
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

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

    Quote Originally Posted by gernot View Post
    lat9,
    It's official: I am retarded. After you asked about logs again, I did look again, and just for, you know, dumb*ss checking, I looked at my production shop logs, and there I see error logs related to my test shop!
    So of course I realize I screwed up something... turns out in the storefront includes/configure.php I had the DIR_FS_CATALOG set to my production shop.
    All other defines were fine in the storefront configure, just that one was wrong. Ouch! The admin configure file was completely fine.
    That explains why the admin side worked but the display did not.
    So sorry for the hassle.

    Remaining questions:
    Are there missing files in the plugin, for sideboxes? Or is it merely the documentation that needs updating?
    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"!

  2. #32
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    263
    Plugin Contributions
    0

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

    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 to support Japanese language (postage module support work in progress). Upgraded incrementally each version from initial 1.5.5d.

  3. #33
    Join Date
    Dec 2010
    Posts
    28
    Plugin Contributions
    0

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

    Quote Originally Posted by K1979 View Post
    Thank you for your reply.

    My explanation was not enough.
    I have removed all v2 files when I update for my test website.
    I haven't changed the definition in the "news_box_manager_defines.php" yet, but I think it works because I can see the word Type1 not BOX_NEWS_NAME_TYPE1.

    If I insert a news from Tools -> News Box Manager[All Types] -> Insert -> Preview, "News Type:" shows its type.
    Attachment 18884

    And if I insert a news from Tools -> News Box Manager[Type1(or 2,3,4)] -> Insert -> Preview, "News Type:" shows nothing and I get error log.
    Attachment 18885

    PHP Warning: constant(): Couldn't find constant BOX_NEWS_NAME_TYPE in /home/****/www/***admin***/news_box_manager.php on line 719.


    I'm right in the middle of learning PHP, so if you have any suggestions please let me know.
    Thank you,

    I will correct the post, when I insert a news, it's OK.
    But If I modify a news from "News Box Manager[Type1(or 2,3,4)]", I got the error.

  4. #34
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

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

    Quote Originally Posted by K1979 View Post
    I will correct the post, when I insert a news, it's OK.
    But If I modify a news from "News Box Manager[Type1(or 2,3,4)]", I got the error.
    Ah, thanks for that! I've replicated on my local test site and should have a correction real-soon-now.

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

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

    @K1979, you can correct that issue by editing your /YOUR_ADMIN/news_box_manager.php, locating this code section (starting at line 537):
    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 {
    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);
            $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 {
    I'll be getting v3.0.3 of News Box Manager released, containing this change as well as the documentation updates identified by @gernot.

  6. #36
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

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

    v3.0.3 has been submitted to the Zen Cart moderators for review; I'll post back here once it's available for download.

  7. #37
    Join Date
    Dec 2010
    Posts
    28
    Plugin Contributions
    0

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

    Thank you for your very quick reply and work!
    It does work well

  8. #38
    Join Date
    Dec 2010
    Posts
    28
    Plugin Contributions
    0

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

    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.

  9. #39
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,108
    Plugin Contributions
    11

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

    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 had
    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.
    not real user or admin.

    Added news_contnent_type to news_box as tinyint 1 and all works.

    Sorry for brevity. Late for appointment

  10. #40
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,108
    Plugin Contributions
    11

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

    More info:

    Was an upgrade from 2.0

 

 
Page 4 of 13 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. v151 Log Manager [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 19 Oct 2023, 11:44 AM
  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. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 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