Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 78
  1. #21
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,454
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    In which directory is that latestnews.png file (noting that it should be present in the template's /images sub-directory for use by the CSS)?
    Hi Cindy - it is in /images folder - so I move it to my_template/images folder ........ then in includes/languages/english/extra_definitions/news_box_manager_defines.php I replaced the text 'Latest News' with <img src="includes/templates/westminster_new/images/latestnews.png" alt="latest news"> .... and all is good! So thank you.

    I am now going to try to insert a smaller image in the NEWS_BOX_HEADING_TITLE row .... wish me luck

    many thanks,
    Mike


    cheers,
    Mike
    Last edited by shags38; 21 Dec 2019 at 02:34 PM.

  2. #22
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,454
    Plugin Contributions
    1

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

    Quote Originally Posted by shags38 View Post
    Hi Cindy - it is in /images folder - so I move it to my_template/images folder ........ then in includes/languages/english/extra_definitions/news_box_manager_defines.php I replaced the text 'Latest News' with <img src="includes/templates/westminster_new/images/latestnews.png" alt="latest news"> .... and all is good! So thank you.

    I am now going to try to insert a smaller image in the NEWS_BOX_HEADING_TITLE row .... wish me luck

    many thanks,
    Mike


    cheers,
    Mike
    Hi Cindy - inserting an image in that row was easy enough (once I had the image in the right folder )

    So I do not expect you to spend time on re-styling the layout of your plugin for me - putting me in the right direction will be helpful so that I can attempt to make some modifications myself (note that I said 'attempt') - it will help me to learn. So to that end if I want to negate the 'article dates' column altogether and instead include a date block within the article title row/line what files should I be looking at to make such modifications? essentially where can I modify the table layout?

    again many thanks for your assistance,
    cheers Mike

  3. #23
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,641
    Plugin Contributions
    73

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

    Mike, the common formatting is provided by /includes/templates/template_default/template/tpl_modules_news_box_format.php, so you can make a template-override copy and make your changes there.

  4. #24
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,454
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    Mike, the common formatting is provided by /includes/templates/template_default/template/tpl_modules_news_box_format.php, so you can make a template-override copy and make your changes there.
    Many thanks for that Cindy - haven't played with it yet but will soon.

    One more quick one - side box heading for news box shows [MORE] and when using Inspect Element [MORE] is the link anchor text in <h3 class="leftBoxHeading" id="newsboxsideboxHeading"><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=news_archive">&nbsp;&nbsp;[more]</a></h3> .... I have tried admin/tools/developer and gone through all files associated with the plugin and I cannot find where to change that anchor text (looks a bit strange as a heading in the sidebox).

    A belated Merry Christmas to you and yours and Happy New Year also- hope 2020 is a good one for you.

    cheers,
    Mike

  5. #25
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,641
    Plugin Contributions
    73

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

    Those definitions are present in /includes/languages/english/extra_definitions/news_box_manager_defines.php.

    Thanks for your kind wishes, but it wasn't my holiday. Have a safe and happy new year.

  6. #26
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,454
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    Those definitions are present in /includes/languages/english/extra_definitions/news_box_manager_defines.php.

    Thanks for your kind wishes, but it wasn't my holiday. Have a safe and happy new year.
    Thanks Cindy - I was remiss in not providing more detail in my previous post - any entries in BOX_HEADING_NEWS_BOX or TEXT_ALL_NEWS or TEXT_NEWS_BOX_INFO render as headings on the home page as well as altering the sidebox heading - I don't want any headings on the page however I would like to have the heading in the sidebox be something different to [MORE]. I even changed TEXT_LINK_MORE from 'More &hellip;' to 'Latest News' but that hasn't changed anything. (hence why I was trying to specifically find this in developer <h3 class="leftBoxHeading" id="newsboxsideboxHeading"><a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=news_archive">&nbsp;&nbsp;[more]</a></h3>)

    I appreciate your help with this - there is no rush on this 'minor' aesthetic adjustment - when, and only when, you get a free moment

    Below is my current /includes/languages/english/extra_definitions/news_box_manager_defines.php and images showing news box on home page and then the sidebox;
    Code:
    define ('BOX_HEADING_NEWS_BOX', '');
    define ('TEXT_LINK_MORE', 'Latest News');
    define ('TEXT_TRAIL_STR', '&hellip;');
    define ('TEXT_ALL_NEWS', '');
    
    define ('NEWS_DATE_SEPARATOR', ' - ');
    
    define ('NEWS_BOX_HEADING_TITLE', '<img src="includes/templates/westminster_new/images/latestupdates.png"> ... for more news click <a href="https://www.dazzlerscliponearrings.com.au/index.php?main_page=news_archive"><i><u>View All</i></u></a>');
    define ('NEWS_BOX_HEADING_DATES', 'Article Date(s)');
    
    define ('TEXT_NEWS_BOX_INFO', '');
    Attachment 18777


    Attachment 18776

    cheers,
    Mike

    p.s. my apologies for my assumption re the holiday - no offence intended
    Last edited by shags38; 30 Dec 2019 at 11:10 PM.

  7. #27
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,641
    Plugin Contributions
    73

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

    Mike, I'll need to rethink the sidebox vs. customized centerbox configuration that you're looking for.

  8. #28
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,641
    Plugin Contributions
    73

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

    I've just submitted v3.0.2 of News Box Manager - v3 to the Zen Cart moderators for review and will post back here when it's available for download.

    This release contains changes associated with the following GitHub issue:

    #11: Correct PHP warning on all_articles page.

  9. #29
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,641
    Plugin Contributions
    73

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

    Quote Originally Posted by lat9 View Post
    I've just submitted v3.0.2 of News Box Manager - v3 to the Zen Cart moderators for review and will post back here when it's available for download.

    This release contains changes associated with the following GitHub issue:

    #11: Correct PHP warning on all_articles page.
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2264

  10. #30
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    247
    Plugin Contributions
    0

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

    Hello,
    I've tried to install this add-on, v3.0.2, for the first time on my test site, hopefully according to the instructions (I did not have a tpl_index_default.php file yet, so all the files in the add-on could be copied as-is, I merely ensured they had correct ownership and permissions on my linux system).

    The problem is that the DB initialization did not seem to work, so although the Admin menus for the add-on all appear fine, and I have the ability to create articles, which I did: a single Type 1 article in both English and Japanese (my two site languages). Unfortunately, when I activate the sidebox for New Type 1 in order to actually display on storefront, I get a "An error appeared, please refresh page" type of error in the location where the sidebox should appear.

    Interestingly, no debug log is produced. However, when I set strict debugging, the on-page warning turns into the very clear indication that the DB tables were not created as expected:
    Code:
    1146 Table 'zencartshoptest.TABLE_BOX_NEWS_CONTENT' doesn't exist
    in:
    [SELECT nc.news_title, nc.news_content, n.* FROM TABLE_BOX_NEWS_CONTENT nc INNER JOIN TABLE_BOX_NEWS n ON n.box_news_id = nc.box_news_id AND nc.languages_id = 3 WHERE n.news_status = 1 AND now() >= n.news_start_date AND (n.news_end_date IS NULL OR now() <= n.news_end_date) ORDER BY n.news_start_date DESC, n.box_news_id DESC LIMIT 5]
    Obviously, something went wrong, but I am unsure what best to do to fix the situation.
    I also noticed that there was a file in the add-on not listed in the HTML instructions:
    Code:
    YOUR_ADMIN/includes/classes/observers/NewsBoxManagerAdminObserver.php
    and that there was no observer in my ADMIN/classes directory yet, so that meant the new addition of a directory in my ADMIN folder.

    Any other information required, please ask. I will wait before uninstalling and trying to re-install.
    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.

 

 
Page 3 of 8 FirstFirst 12345 ... LastLast

Similar Threads

  1. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 69
    Last Post: 23 May 2020, 12:54 PM
  2. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1977
    Last Post: 7 May 2020, 08:17 PM
  3. v151 Log Manager [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 8 Aug 2017, 12:26 AM
  4. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  5. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1498
    Last Post: 13 Oct 2013, 01:41 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