Forums / All Other Contributions/Addons / News & Article Management [Support]

News & Article Management [Support]

Views: 135,518

Results 421 to 440 of 451
24 Sep 2012, 3:22 AM
#421
alokcws avatar

alokcws

New Zenner

Join Date:
Sep 2012
Posts:
1
Plugin Contributions:
0

News & Article Management [Support]

Hi

I wanted to know the step for installing news and article management plugin to my website. Please help me, its very urgent.

Thanks

7 Oct 2012, 2:53 AM
#422
explorer1979 avatar

explorer1979

Inactive

Join Date:
Jan 2007
Posts:
377
Plugin Contributions:
0

Re: News & Article Management [Support]

The Plug-in have a readme, all step there.

Remember back the files if it is overwrite. Using WinMerge for help integration the coding (Windows Base)

And backup the MySQL too.

7 Oct 2012, 3:02 AM
#423
explorer1979 avatar

explorer1979

Inactive

Join Date:
Jan 2007
Posts:
377
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi all,

I am using this modules and it is real good and thank all the developer make this on the work.

Now I have a layout problems on this module that need help.

The default title and it content layout are like that...

Title 001
Introduction Text 001
Click to see More 001

Title 002
Introduction Text 002
Click to see More 002

and so on....

And the loop continues until a value make it stop...

Now ... I am thinking it is too wide ... and want to make it as left/right, left/right loop layout ... how to change the coding like that?

This is what I want it to be of the layout ...

Title 001 Title 002
Introduction Text 001 Introduction Text 002
Click to see More 001 Click to see More 002

Title 003 Title 004
Introduction Text 003 Introduction Text 004
Click to see More 003 Click to see More 004

Thank you.

11 Oct 2012, 3:42 AM
#424
explorer1979 avatar

explorer1979

Inactive

Join Date:
Jan 2007
Posts:
377
Plugin Contributions:
0

Re: News & Article Management [Support]

explorer1979:

Hi all,

I am using this modules and it is real good and thank all the developer make this on the work.

Now I have a layout problems on this module that need help.

The default title and it content layout are like that...

Title 001
Introduction Text 001
Click to see More 001

Title 002
Introduction Text 002
Click to see More 002

and so on....

And the loop continues until a value make it stop...

Now ... I am thinking it is too wide ... and want to make it as left/right, left/right loop layout ... how to change the coding like that?

This is what I want it to be of the layout ...

Title 001 Title 002
Introduction Text 001 Introduction Text 002
Click to see More 001 Click to see More 002

Title 003 Title 004
Introduction Text 003 Introduction Text 004
Click to see More 003 Click to see More 004

Thank you.

<?php

// this query uses part of the original news query, just simplified, if you need different languages that coding needs adding, to alter the amount of stories shown change the limit 5 to number required
$comments = $db->Execute("select n.news_date_published, n.article_id, nt.news_article_name, nt.news_article_shorttext, n.news_image, nt.news_image_text from " . TABLE_NEWS_ARTICLES . " n left join " . TABLE_NEWS_ARTICLES_TEXT . " nt on n.article_id = nt.article_id where n.news_status = '1' order by n.article_id desc limit 5 ");
while (!$comments->EOF)
{
// article_id is used for testing comment out when you ready to send this live
//echo $comments->fields['article_id'];?><br /><span class="articleHeading"><?


echo $comments->fields['news_article_name'];?></span><br /><?
echo strtoupper(zen_date_long($comments->fields['news_date_published']))?> <br />

<?
// get the url for the article and attach to a simple read more link
$articleLink = zen_href_link(FILENAME_NEWS_ARTICLE, 'article_id=' . $comments->fields['article_id']);

// get image for story
if ((zen_not_null($comments->fields['news_image'])) && file_exists(DIR_FS_CATALOG . DIR_WS_IMAGES . $comments->fields['news_image'])) {
$articleImage = zen_image(DIR_WS_IMAGES . $comments->fields['news_image'], $comments->fields['news_image_text'], '', '', 'align="left"');
echo "<a href=" . $articleLink . ">" . $articleImage . "</a>" . "<p style=\"margin-left: 225px;\">" ;
}

echo $comments->fields['news_article_shorttext'];?></p><br /><?

?>
<div class="articleLinkList"><a href="<? echo $articleLink;?> ">Read more</a></div>
<div><img src="includes/templates/theme412/images/hr_bar.jpg" width="819" height="15" alt="" /></div>
<?
// bit of space between articles, if you do this properly with css you can style this better
?><br /><br /><?

$comments->MoveNext();
}
// need to add link to rest of news here if required

?> 
12 Oct 2012, 3:30 PM
#425
speedwar avatar

speedwar

New Zenner

Join Date:
Mar 2010
Posts:
1
Plugin Contributions:
0

Re: News & Article Management [Support]

Hello everyone, I have used successfully this plug-in version 1.39. Now I upgraded my store to version 1.51 with a new fresh installation. But unfortunately I can not install the patch sql. The error message is: "Error: Nothing to do - no query or query-file specified."

Could someone help me to solve? thanks in advance

17 Oct 2012, 5:39 AM
#426
roodney avatar

roodney

New Zenner

Join Date:
Jul 2011
Posts:
27
Plugin Contributions:
0

Re: News & Article Management [Support]

I have tried the code that explorer1979 pointed out to show more than one article on the Recent News, it works but the styling of the original is lost. There must be some way of using the original news.php to include more than one article. My PHP knowledge is limited but I am confident I can figure it out if pointed in the right direction... Maybe using the article_id value with a while statement? Any help would be appreciated, I'm just looking for a starting point. Thanks!

18 Oct 2012, 7:39 PM
#427
gxjenkins avatar

gxjenkins

Zen Follower

Join Date:
Apr 2007
Location:
Tampa, Florida
Posts:
180
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi Speedwar

I'm still waiting to see if anyone has been able to get this working on 1.50 and nothing yet, so I'm guessing you're having the same problem I'm having with 1.50.

It's installed but there is no option in Admin > Configuration.

Try running "news_authors.php", and "news.php" in your Admin directory by typing in the full path yourdomain/admin-directory/news.php to add new articles, and news posts. I'm using "Links Manager" that way and its working fine. That is as far as I've gotten. In 1.50 there is a "Admin Page Registration" utility to add 3rd party plugins but I haven't figured out what to put into it to register the plugin.

In your 1.5.1 installation did you get any new settings for News & Article Management? Also, did you install the optional Sidebox?

I'll let you know if I find a way to use the "Admin Page Registration" utility, I think that is the key to being able to use this on 1.50 and above.

Thanks,
Gary

Gary Jenkins
Your Neighborhood Store
It Ain't Over Until You Quit, So Don't!

25 Oct 2012, 11:19 AM
#428
pretty_dumb avatar

pretty_dumb

New Zenner

Join Date:
Oct 2012
Posts:
38
Plugin Contributions:
0

Re: News & Article Management [Support]

Installed it - not a clue how to enter my .xml code for the rss feed or where or what file to put this in or where to find it, nothing appears on my site and I cannot find anyway to make this work.

28 Oct 2012, 8:17 PM
#429
roodney avatar

roodney

New Zenner

Join Date:
Jul 2011
Posts:
27
Plugin Contributions:
0

Re: News & Article Management [Support]

Hey pretty dumb
Did you follow the install info in the docs folder of your ZIP file? After following the installation instructions located in the _docs subfolder everything came up as expected for me. You should be able to add articles under the Catalog drop down menu in your admin, and settings are under the Configuration dropdown.

28 Dec 2012, 10:03 AM
#430
hasiertxo avatar

hasiertxo

New Zenner

Join Date:
Dec 2012
Location:
Bilbao, Spain
Posts:
1
Plugin Contributions:
0

Re: News & Article Management [Support]

I've installed this feature, but when I try to get any of the options I'm getting empty results. For instance, I try to get the feed for new products and I'm getting it empty but when looking for new products on the site I get a huge list of them...

What can I do?

15 Feb 2013, 4:04 PM
#431
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi all, having installed the mod, went onto install the sideboxes but keep getting this error on installing the sql.

2 statements processed.
Error ERROR: Cannot execute because table configuration, does not exist. CHECK PREFIXES!
Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

Have look through this thread and others but it does not seem to be specifically answered.

The News & Articles and the sideboxes have installed but the instruction in the doc files where it says:

*4.Setup News Sidebox Scroller configuration at Admin → Configuration → News & Articles Management (notice new entries that begin with "News Sidebox Scroller") *
There isn't any new entries for the sideboxes. Any ideas, thanks.

25 Mar 2013, 3:00 AM
#432
v360_jm avatar

v360_jm

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi - Just wondering if anyone has this working with version 1.5.1 ?

10 Sep 2013, 5:56 PM
#433
dee_d_lady avatar

dee_d_lady

New Zenner

Join Date:
Jan 2011
Location:
Slovakia
Posts:
24
Plugin Contributions:
0

Re: News & Article Management [Support]

Hello to everyone,

I'm posting a solution to those using ZenCart 1.5.x and getting errors during sql installation. I'm also posting a solution to those who don't see this module in admin area.

Run the attached modified sql file. I assigned the configuration group id 65, so check first if any other module isn't using the same id (otherwise you'll get an error). You can check it in your database or simply try to access link when logged in admin yoursite.com/YourAdmin/configuration.php?gID=65 and if you don't see any options, you can run the sql. If you see options for some module, simply replace every "65" in the attached sql file with the number that isn't using any module.

Now replace

define('BOX_CATALOG_NEWS_ARTICLES', 'News & Articles - Articles');
define('BOX_CATALOG_NEWS_AUTHORS', 'News & Articles - Authors');

in admin/includes/languages/english/extra_definitions/news.php
with

define('BOX_CONFIGURATION_NEWS_ARTICLES_MANAGEMENT', 'News & Articles Management');
define('BOX_TOOLS_NEWS_ARTICLES', 'News & Articles - Articles');
define('BOX_TOOLS_NEWS_AUTHORS', 'News & Articles - Authors');

Now you should be able to install and also see the configuration under Admin-Configuration-New & Articles Management. You can add articles and authors under Admin-Tools-News & Articles Management and Admin-Tools-News & Articles Authors

For those who got it installed with original sql but don't see it in admin, make the code replacement above and then find out what configuration group ID is using the module. Check it in database or simply go to Admin-Configuration-New & Articles Management and have a look at the link in your browser. It should look like this yoursite.com/YourAdmin/configuration.php?gID=XX where XX is the configuration group id. Now put this number instead of XX in gID=XX to the following sql query:

# Register the page for Admin Access Control
INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('configNewsArticlesManagement','BOX_CONFIGURATION_NEWS_ARTICLES_MANAGEMENT','FILENAME_CONFIGURATION','gID=XX','configuration','Y',65);

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsArticles','BOX_TOOLS_NEWS_ARTICLES','FILENAME_NEWS','gID=XX','tools','Y',66);

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsAuthors','BOX_TOOLS_NEWS_AUTHORS','FILENAME_NEWS_AUTHORS','gID=XX','tools','Y',67);

Now run this query in Admin-Tools-Install SQL Patches.

10 Sep 2013, 6:48 PM
#434
dee_d_lady avatar

dee_d_lady

New Zenner

Join Date:
Jan 2011
Location:
Slovakia
Posts:
24
Plugin Contributions:
0

Re: News & Article Management [Support]

dee_d_lady:

Hello to everyone,

I'm posting a solution to those using ZenCart 1.5.x and getting errors during sql installation. I'm also posting a solution to those who don't see this module in admin area.

Run the attached modified sql file. I assigned the configuration group id 65, so check first if any other module isn't using the same id (otherwise you'll get an error). You can check it in your database or simply try to access link when logged in admin yoursite.com/YourAdmin/configuration.php?gID=65 and if you don't see any options, you can run the sql. If you see options for some module, simply replace every "65" in the attached sql file with the number that isn't using any module.

Now replace

define('BOX_CATALOG_NEWS_ARTICLES', 'News & Articles - Articles');
define('BOX_CATALOG_NEWS_AUTHORS', 'News & Articles - Authors');

> 
> in admin/includes/languages/english/extra_definitions/news.php   
> with
> 
> ```
define('BOX_CONFIGURATION_NEWS_ARTICLES_MANAGEMENT', 'News & Articles Management');
define('BOX_TOOLS_NEWS_ARTICLES', 'News & Articles - Articles');
define('BOX_TOOLS_NEWS_AUTHORS', 'News & Articles - Authors');

Now you should be able to install and also see the configuration under Admin-Configuration-New & Articles Management. You can add articles and authors under Admin-Tools-News & Articles Management and Admin-Tools-News & Articles Authors

For those who got it installed with original sql but don't see it in admin, make the code replacement above and then find out what configuration group ID is using the module. Check it in database or simply go to Admin-Configuration-New & Articles Management and have a look at the link in your browser. It should look like this yoursite.com/YourAdmin/configuration.php?gID=XX where XX is the configuration group id. Now put this number instead of XX in gID=XX to the following sql query:

Register the page for Admin Access Control

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('configNewsArticlesManagement','BOX_CONFIGURATION_NEWS_ARTICLES_MANAGEMENT','FILENAME_CONFIGURATION','gID=XX','configuration','Y',65);

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsArticles','BOX_TOOLS_NEWS_ARTICLES','FILENAME_NEWS','gID=XX','tools','Y',66);

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsAuthors','BOX_TOOLS_NEWS_AUTHORS','FILENAME_NEWS_AUTHORS','gID=XX','tools','Y',67);

> 
> Now run this query in Admin-Tools-Install SQL Patches.


Woops, a little bug in the sql file. Use the attached sql file
27 Oct 2013, 4:10 AM
#435
gxjenkins avatar

gxjenkins

Zen Follower

Join Date:
Apr 2007
Location:
Tampa, Florida
Posts:
180
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi, I think I'm getting close. I followed the instruction in post #434 and ran the sql below with the correct gID number:

Register the page for Admin Access Control

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('configNewsArticlesManagement','BOX_CONFIGURATION_NEWS_ARTICLES_MANAGEMENT','FILENAME_CONFIGURATION','gID=1021','configuration','Y',65);

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsArticles','BOX_TOOLS_NEWS_ARTICLES','FILENAME_NEWS','gID=1021','tools','Y',66);

INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsAuthors','BOX_TOOLS_NEWS_AUTHORS','FILENAME_NEWS_AUTHORS','gID=1021','tools','Y',67);

But, now when I hoover the mouse over Admin > Configuration > News & Articles Management it shows the gID=1021. And, when I open it show Title Value and Action and everything else is blank.
When, I hoover over Tools > News & Articles - Articles, or Authors it shows the gId=XX

If I click on either of them I get "WARNING: An Error occurred, please refresh the page and try again." and part of the page displayed.

Oh, I get that same error message when I run the Modified SQL file.

What have I missed?

Thanks,

Gary Jenkins
Your Neighborhood Store
It Ain't Over Until You Quit, So Don't!

25 Mar 2014, 10:39 AM
#436
tomdtec avatar

tomdtec

New Zenner

Join Date:
Mar 2014
Location:
england
Posts:
5
Plugin Contributions:
0

Re: News & Article Management [Support]

Long shot as I know support for this plugin is close to dead.

My website (http://www.rentgen.co.uk) is currently using this plugin along with Ceon URI Mapping. I'm pretty happy with it except for one thing - I'd really like to know how/if it's possible to convert the News URLs to the ones used by the rest of the site via CEON URI Mapping. And additionally - add news pages to the main sitemap (both user and xml)

I attempted to implement Wordpress in Zencart previously but it didn't seem to recognise any implementation - furthermore CEON URI seemed to make the dir for Wordpress a bit dodgy in it's own right.

I'm also wondering if there're any other news/article/blog plugins that are SEO compliant or allow URI mapping?

25 Mar 2014, 11:32 AM
#437
tomdtec avatar

tomdtec

New Zenner

Join Date:
Mar 2014
Location:
england
Posts:
5
Plugin Contributions:
0

Re: News & Article Management [Support]

Just read somewhere that you can manually insert data into the database so that has helped for the time being.
As for the sitemap, additionally any method of being able to use the RSS as an individual XML file, as well as adding news pages to the user sitemap (organised in date?) would be much appreciated.

3 Apr 2014, 2:22 PM
#438
tomdtec avatar

tomdtec

New Zenner

Join Date:
Mar 2014
Location:
england
Posts:
5
Plugin Contributions:
0

Re: News & Article Management [Support]

Hey guys, ok - so I know no one supports this module pretty much. Which sucks, because I can't seem to find any method to display blog/news posts aside from this and a Wordpress hack. Anyway, it's working fine except for one thing - now it won't display the summary module on the front page. I've not even made any changes to the site and it's just... gone.

23 Mar 2018, 2:43 AM
#440
targetmarts avatar

targetmarts

Zen Follower

Join Date:
Jan 2018
Posts:
122
Plugin Contributions:
0

Re: News & Article Management [Support]

Hello,i used 1.5.4 with image handler 5.0 and zen lightbox,installed the rss 2.1.5/6 or 2.4.2,but when i set Generate Products Images "true",then it display error:
[23-Mar-2018 02:33:33 UTC] PHP Fatal error: Uncaught Error: Call to a member function notify() on null in /home/getappreal/public_html/includes/modules/abagon/main_product_image.php:19
Stack trace:
#0 /home/getappreal/public_html/includes/modules/pages/rss_feed/header_php.php(428): require()
#1 /home/getappreal/public_html/includes/modules/pages/rss_feed/header_php.php(369): zen_rss_products('SELECT DISTINCT...', false)
#2 /home/getappreal/public_html/index.php(36): require('/home/getapprea...')
#3 {main}
thrown in /home/getappreal/public_html/includes/modules/abagon/main_product_image.php on line 19

and when set "fales"
it work fine.
Why