-
Re: News & Article Management
BTW. The support posts that you can't get at from the front page, aren't accessible by anybody. I believe that they point to an old forum system that no longer exists and that the messages you're getting are misleading and are the current forum's way of saying that it thinks there may have been something here once, but can't find it now - rather than that these have been deliberately closed off.
-
Re: News & Article Management
Hi all,
I know this has been asked befor, but is there any solucion so I can have categories?
Seached in post and cannt find anything...
Thx!
-
Re: News & Article Management
i have installed this mod and ultimate seo url .
my htaccess include this :
PHP Code:
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
but no effect of url .
the other pages / products is - ***.html
my website - www.king-magic.com/
-
Re: News & Article Management
another q -
how can creat xml for this mod ?
i have the mod - Google XML Sitemap
-
Re: News & Article Management
how to make summary for news ?
like this -
http://www.king-magic.com/index.php?...e&article_id=2
need only 50 words . and than - read more ...
-
Re: News & Article Management
Quote:
Originally Posted by
dmagic
when the post cut and show . read more ... ?
i have long story , but can't show all in main page .
thanks ,
-
Re: News & Article Management
Hi. I've placed this module on my test WAMP server which is offline.
After trying to make it show on my home page, re-reading what appear to be instructions and Admin controls, I have come to the conclusion that there is some purpose in having the modules to show articles in a sidebox "optional."
How would one find articles without the optional sideboxes? Is this designed for a Google search on the topic?
I have not figured out the purpose of the summary images, etc., but if I have the time to continue, and after I install an "optional" sidebox, maybe I will be able to understand this module.
It would be so nice if someone just explained what this module is designed to do without the sideboxes, and how the titles, summaries, images of titles and summaries, all work.
I thought there would be a function for adding a video to an article, but perhaps that is just done by adding a link somewhere.
Is there some overview that speaks to the people trying to make sense of and use this module in the most optimal manner for SEO?
If I have the time to keep trying to understand it, perhaps it will turn out to be so obvious, but I would certainly share that if I get that far.
Notageek
-
Re: News & Article Management
Has anyone done any social networking integration? I want to be able to insert ADD THIS so people can put a tidbit of my articles on their social network?
-
Re: News & Article Management
Hi all,
I just installed this on 1.3.9h and I am trying to figure out why I am not seeing any toggles as to whether to use the HTMLArea or fckeditor. Is there a function for this? I do have in Configuration/My Store fckeditor enabled and have even tried the HTMLArea and don't see any changes when trying to add news.
Not sure whats going on here. Everything else seems to be ok other then not seeing any signs of either editors to change font styles, colors, alignment, etc.
THanks much in advance.
-
Re: News & Article Management
Quote:
Originally Posted by
KeystoneAirsoft
Hi all,
I just installed this on 1.3.9h and I am trying to figure out why I am not seeing any toggles as to whether to use the HTMLArea or fckeditor. Is there a function for this? I do have in Configuration/My Store fckeditor enabled and have even tried the HTMLArea and don't see any changes when trying to add news.
Not sure whats going on here. Everything else seems to be ok other then not seeing any signs of either editors to change font styles, colors, alignment, etc.
THanks much in advance.
Anyone? I am still not able to see any kind of toggles for either fckeditor or the HTMLarea, or is this not a feature for this mod?
Thanks much in advance.
-
Re: News & Article Management
urgh iv did a huge mistake i forgot to back up mysql database and the installment sql included had errors and now my whole database is messed up..
is there a way i could unstall those sql querys? am really not experinced with sql and i dont wish to lose my work ..
Sidebox_Ticker_v1.000
Sidebox_Scroller_v1.000
News_Articles_Management_v2.110
i wish to unstall those sql querys
this is the sql installation i had
# Configuration
INSERT INTO configuration_group VALUES ('', 'News & Articles Management', 'The options which configure News & Articles Management', '1', '1');
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
INSERT INTO configuration VALUES ('', 'Display News Summary', 'DISPLAY_NEWS_SUMMARY', 'true', 'Display the news summary on the main index page (part of the optional install)?', last_insert_id(), '0', NULL, now(), NULL, 'zen_cfg_select_option(array("true", "false"),'),
('', 'News Summary Cutoff Days', 'DISPLAY_NEWS_SUMMARY_DAYS', '7', 'Only display the news summary if there was news in the past xx days', last_insert_id(), '1', NULL, now(), NULL, NULL),
('', 'News Summary Length', 'DISPLAY_NEWS_SUMMARY_LENGTH', '300', 'If no news summary is present for the article being displayed by the summary module, truncate the main article content to no more than this number of characters (will truncate at the nearest whole word)', last_insert_id(), '2', NULL, now(), NULL, NULL),
('', 'Comments Require Customer Login', 'NEWS_COMMENTS_REQUIRE_CUSTOMER', 'false', 'Require a user to be logged in to post comments on news articles?', last_insert_id(), '3', NULL, now(), NULL, 'zen_cfg_select_option(array("true", "false"),'),
('', 'Comments Name Min Length', 'ENTRY_NEWS_NAME_MIN_LENGTH', '3', 'Minimum length for the name input of news comments', last_insert_id(), '4', NULL, now(), NULL, NULL),
('', 'Comments Text Min Length', 'ENTRY_NEWS_COMMENTS_MIN_LENGTH', '25', 'Minimum length for the comments text input of news comments', last_insert_id(), '5', NULL, now(), NULL, NULL),
('', 'Email Admin Comments Notice', 'NEWS_COMMENTS_EMAIL_ADMIN_NOTICE', 'true', 'Email a notification to the store admin when comments are posted?', last_insert_id(), '6', NULL, now(), NULL, 'zen_cfg_select_option(array("true", "false"),'),
('', 'News RSS Feed Days', 'NEWS_RSS_FEED_NUMBER_OF_DAYS', '7', 'The RSS feed will only contain news from the past xx news days', last_insert_id(), '7', NULL, now(), NULL, NULL);
# Table structure for table news_articles
DROP TABLE IF EXISTS news_articles;
CREATE TABLE news_articles (
article_id int(11) NOT NULL auto_increment,
authors_id int(11) NOT NULL default '0',
news_image varchar(64) default NULL,
news_image_two varchar(64) default NULL,
news_date_added datetime NOT NULL default '0000-00-00 00:00:00',
news_last_modified datetime default NULL,
news_date_published datetime default NULL,
news_status tinyint(1) NOT NULL default '0',
sort_order tinyint(6) NOT NULL default '0',
PRIMARY KEY (article_id),
KEY (news_date_published)
) TYPE=MyISAM;
# Table structure for table news_articles_text
DROP TABLE IF EXISTS news_articles_text;
CREATE TABLE news_articles_text (
article_id int(11) NOT NULL auto_increment,
language_id int(11) NOT NULL default '1',
news_article_name varchar(64) NOT NULL default '',
news_article_text text,
news_article_shorttext text,
news_article_url varchar(255) default NULL,
news_article_url_text varchar(64) default NULL,
news_article_url_2 varchar(255) default NULL,
news_article_url_2_text varchar(64) default NULL,
news_article_url_3 varchar(255) default NULL,
news_article_url_3_text varchar(64) default NULL,
news_article_url_4 varchar(255) default NULL,
news_article_url_4_text varchar(64) default NULL,
news_article_url_store int(11) default NULL,
news_article_url_store_2 int(11) default NULL,
news_article_url_store_misc varchar(255) default NULL,
news_article_url_store_misc_text varchar(64) default NULL,
news_article_url_store_misc_2 varchar(255) default NULL,
news_article_url_store_misc_2_text varchar(64) default NULL,
news_image_text text,
news_image_text_two text,
PRIMARY KEY (article_id,language_id),
KEY (news_article_name)
) TYPE=MyISAM;
# Table structure for table news_authors
DROP TABLE IF EXISTS news_authors;
CREATE TABLE news_authors (
authors_id int(11) NOT NULL auto_increment,
author_name varchar(64) default NULL,
author_email varchar(96) default NULL,
status int(1) NOT NULL default '1',
PRIMARY KEY (authors_id)
) TYPE=MyISAM;
# Dumping data for table news_authors
INSERT INTO news_authors VALUES (1, 'Administrator', '[email protected]', 1);
# Table structure for table news_comments
DROP TABLE IF EXISTS news_comments;
CREATE TABLE news_comments (
comments_id int(11) NOT NULL auto_increment,
article_id int(11) NOT NULL default '0',
customers_id int(11) default NULL,
customers_name varchar(64) NOT NULL default '',
date_added datetime default NULL,
last_modified datetime default NULL,
approved tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (comments_id)
) TYPE=MyISAM;
# Table structure for table news_comments_description
DROP TABLE IF EXISTS news_comments_description;
CREATE TABLE news_comments_description (
comments_id int(11) NOT NULL default '0',
language_id int(11) NOT NULL default '0',
comments_subject varchar(64) default NULL,
comments_text text NOT NULL,
PRIMARY KEY (comments_id,language_id)
) TYPE=MyISAM;
Sidebox_Scroller_v1.000
# News Scroller Config
INSERT INTO configuration VALUES ('', 'News Sidebox Scroller Days', 'NEWS_SCROLLER_NUMBER_OF_DAYS', '7', 'The news sidebox scroller will only contain news from the past xx news days', '2504', '100', NULL, now(), NULL, NULL),
('', 'News Sidebox Scroller Height', 'NEWS_SCROLLER_HEIGHT', '250', 'The height of the news sidebox scroller box', '2504', '101', NULL, now(), NULL, NULL),
('', 'News Sidebox Scroller Amount', 'NEWS_SCROLLER_AMOUNT', '2', 'The amount to scroll by', '2504', '102', NULL, now(), NULL, NULL),
('', 'News Sidebox Scroller Delay', 'NEWS_SCROLLER_DELAY', '100', 'The amount of delay when scrolling', '2504', '103', NULL, now(), NULL, NULL);
UPDATE configuration, configuration_group SET configuration.configuration_group_id = configuration_group.configuration_group_id WHERE configuration_group.configuration_group_title = 'News & Articles Management' AND configuration.configuration_group_id = '2504';
and
# Configuration
INSERT INTO configuration_group VALUES ('', 'News & Articles Management', 'The options which configure News & Articles Management', '1', '1');
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
INSERT INTO configuration VALUES ('', 'Display News Summary', 'DISPLAY_NEWS_SUMMARY', 'true', 'Display the news summary on the main index page (part of the optional install)?', last_insert_id(), '0', NULL, now(), NULL, 'zen_cfg_select_option(array("true", "false"),'),
('', 'News Summary Cutoff Days', 'DISPLAY_NEWS_SUMMARY_DAYS', '7', 'Only display the news summary if there was news in the past xx days', last_insert_id(), '1', NULL, now(), NULL, NULL),
('', 'News Summary Length', 'DISPLAY_NEWS_SUMMARY_LENGTH', '300', 'If no news summary is present for the article being displayed by the summary module, truncate the main article content to no more than this number of characters (will truncate at the nearest whole word)', last_insert_id(), '2', NULL, now(), NULL, NULL),
('', 'Comments Require Customer Login', 'NEWS_COMMENTS_REQUIRE_CUSTOMER', 'false', 'Require a user to be logged in to post comments on news articles?', last_insert_id(), '3', NULL, now(), NULL, 'zen_cfg_select_option(array("true", "false"),'),
('', 'Comments Name Min Length', 'ENTRY_NEWS_NAME_MIN_LENGTH', '3', 'Minimum length for the name input of news comments', last_insert_id(), '4', NULL, now(), NULL, NULL),
('', 'Comments Text Min Length', 'ENTRY_NEWS_COMMENTS_MIN_LENGTH', '25', 'Minimum length for the comments text input of news comments', last_insert_id(), '5', NULL, now(), NULL, NULL),
('', 'Email Admin Comments Notice', 'NEWS_COMMENTS_EMAIL_ADMIN_NOTICE', 'true', 'Email a notification to the store admin when comments are posted?', last_insert_id(), '6', NULL, now(), NULL, 'zen_cfg_select_option(array("true", "false"),'),
('', 'News RSS Feed Days', 'NEWS_RSS_FEED_NUMBER_OF_DAYS', '7', 'The RSS feed will only contain news from the past xx news days', last_insert_id(), '7', NULL, now(), NULL, NULL);
# Table structure for table news_articles
DROP TABLE IF EXISTS news_articles;
CREATE TABLE news_articles (
article_id int(11) NOT NULL auto_increment,
authors_id int(11) NOT NULL default '0',
news_image varchar(64) default NULL,
news_image_two varchar(64) default NULL,
news_date_added datetime NOT NULL default '0000-00-00 00:00:00',
news_last_modified datetime default NULL,
news_date_published datetime default NULL,
news_status tinyint(1) NOT NULL default '0',
sort_order tinyint(6) NOT NULL default '0',
PRIMARY KEY (article_id),
KEY (news_date_published)
) TYPE=MyISAM;
# Table structure for table news_articles_text
DROP TABLE IF EXISTS news_articles_text;
CREATE TABLE news_articles_text (
article_id int(11) NOT NULL auto_increment,
language_id int(11) NOT NULL default '1',
news_article_name varchar(64) NOT NULL default '',
news_article_text text,
news_article_shorttext text,
news_article_url varchar(255) default NULL,
news_article_url_text varchar(64) default NULL,
news_article_url_2 varchar(255) default NULL,
news_article_url_2_text varchar(64) default NULL,
news_article_url_3 varchar(255) default NULL,
news_article_url_3_text varchar(64) default NULL,
news_article_url_4 varchar(255) default NULL,
news_article_url_4_text varchar(64) default NULL,
news_article_url_store int(11) default NULL,
news_article_url_store_2 int(11) default NULL,
news_article_url_store_misc varchar(255) default NULL,
news_article_url_store_misc_text varchar(64) default NULL,
news_article_url_store_misc_2 varchar(255) default NULL,
news_article_url_store_misc_2_text varchar(64) default NULL,
news_image_text text,
news_image_text_two text,
PRIMARY KEY (article_id,language_id),
KEY (news_article_name)
) TYPE=MyISAM;
# Table structure for table news_authors
DROP TABLE IF EXISTS news_authors;
CREATE TABLE news_authors (
authors_id int(11) NOT NULL auto_increment,
author_name varchar(64) default NULL,
author_email varchar(96) default NULL,
status int(1) NOT NULL default '1',
PRIMARY KEY (authors_id)
) TYPE=MyISAM;
# Dumping data for table news_authors
INSERT INTO news_authors VALUES (1, 'Administrator', '[email protected]', 1);
# Table structure for table news_comments
DROP TABLE IF EXISTS news_comments;
CREATE TABLE news_comments (
comments_id int(11) NOT NULL auto_increment,
article_id int(11) NOT NULL default '0',
customers_id int(11) default NULL,
customers_name varchar(64) NOT NULL default '',
date_added datetime default NULL,
last_modified datetime default NULL,
approved tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (comments_id)
) TYPE=MyISAM;
# Table structure for table news_comments_description
DROP TABLE IF EXISTS news_comments_description;
CREATE TABLE news_comments_description (
comments_id int(11) NOT NULL default '0',
language_id int(11) NOT NULL default '0',
comments_subject varchar(64) default NULL,
comments_text text NOT NULL,
PRIMARY KEY (comments_id,language_id)
) TYPE=MyISAM;
-
Re: News & Article Management
Quote:
Originally Posted by
dmagic
i have installed this mod and ultimate seo url .
my htaccess include this :
PHP Code:
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
but no effect of url .
the other pages / products is - ***.html
my website -
www.king-magic.com/
HI! Ive got the same problem.
Added the code to .htaccess and I see no effect. Ive seen on your website that at least the article URLs are friendly.
How did you achieve this?
Regards.
-
Re: News & Article Management
i can't find a solution in this thread - i am trying to make my home page have the news summary on it....
Has anyone got this working????
-
Re: News & Article Management
Quote:
Originally Posted by
gazag
i can't find a solution in this thread - i am trying to make my home page have the news summary on it....
Has anyone got this working????
I got is working on http://paladar.es/.
For a fresh Zen Cart Install, copy files from ` _optional_install` to your Zen Cart install.
For all other installs, open your Zen Cart file `includes/templates/template_default/templates/tpl_index_default.php` and place the following code where you would like the news summary module to display: <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
regards
-
Re: News & Article Management
Quote:
Originally Posted by
bunker0
I got is working on
http://paladar.es/.
For a fresh Zen Cart Install, copy files from ` _optional_install` to your Zen Cart install.
For all other installs, open your Zen Cart file `includes/templates/template_default/templates/tpl_index_default.php` and place the following code where you would like the news summary module to display: <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
regards
Have you got any tips - i have installed this on two clean installs. Installed the optional files for showing on home page... And still can't get it to show up!!
I have tried manually inserting
Quote:
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
into the define_main_page, the tpl_index_default, the index.php and more but still can't get it to work...
Did you have to adjust anything???
All i am trying to do is to get the summary showing on the home page!!
-
Re: News & Article Management
Quote:
Originally Posted by
gazag
Have you got any tips - i have installed this on two clean installs. Installed the optional files for showing on home page... And still can't get it to show up!!
I have tried manually inserting into the define_main_page, the tpl_index_default, the index.php and more but still can't get it to work...
Did you have to adjust anything???
All i am trying to do is to get the summary showing on the home page!!
make sure you've copied all needed files...
follow the instruccions...
report errors....
does
Code:
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
return anything?
-
Re: News & Article Management
Quote:
Originally Posted by
bunker0
make sure you've copied all needed files...
follow the instruccions...
report errors....
does
Code:
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
return anything?
i followed the instructions - it said if it is a clean install of zencart just copy the files so that is what i did - ran the SQL
no errors...
if you go to the news page the info is there but it doesn't show up on the home page.
link to site is www DOT spotlightfunding DOT org/demo
:frusty:
-
Re: News & Article Management
Quote:
Originally Posted by
gazag
i followed the instructions - it said if it is a clean install of zencart just copy the files so that is what i did - ran the SQL
no errors...
if you go to the news page the info is there but it doesn't show up on the home page.
link to site is www DOT spotlightfunding DOT org/demo
:frusty:
OK I GOT IT :clap: :clap: :clap:
The problem is the tpl_index_Default.php is majorly different to the one i have one a clean install of 1.3.9h so i used my original and just added the line
Quote:
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
Thanks for your help Bunker
-
Re: News & Article Management
Has anyone got this working on version 1.50?
Gary
-
Re: News & Article Management
Installed the RSS Feed and it is not displaying all the information on the feed.
The price, Weight, Quantity, Model, Brand and ID not showing. It only shows the Product name, Picture, Descriptions.
Can someone please help.:frusty:
-
Re: News & Article Management
Hi
I wanted to know the step for installing news and article management plugin to my website. Please help me, its very urgent.
Thanks
-
Re: News & Article Management
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.
-
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.
-
Re: News & Article Management [Support]
Quote:
Originally Posted by
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 Code:
<?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
?>
-
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
-
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!
-
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
-
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.
-
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.
-
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?
-
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.
-
Re: News & Article Management [Support]
Hi - Just wondering if anyone has this working with version 1.5.1 ?
-
1 Attachment(s)
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
Code:
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
Code:
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:
Code:
# 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.
-
1 Attachment(s)
Re: News & Article Management [Support]
Quote:
Originally Posted by
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
Code:
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
Code:
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:
Code:
# 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
-
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','FI LENAME_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,
-
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?
-
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.
-
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.
-
Re: News & Article Management [Support]
Hi when I installed the plugin and go to view my blog posts there seems to be an error with the css scripit http://www.smlhygiene.co.uk/index.ph...e&article_id=1 I am running zen care 1.39H
-
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
-
Re: News & Article Management [Support]
Quote:
Originally Posted by
targetmarts
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
That's because this plugin is including the updated main_product_image.php module in a function context, so that the $zco_notifier variable isn't visible.
I'll note (and correct) this behavior in the IH-5 plugin). To correct the issue that you're having, you'll need to edit both /includes/modules/abagon/main_product_image.php and /includes/modules/abagon/additional_images.php, changing all occurrences of
to
Code:
$GLOBALS['zco_notifier']->
-
Re: News & Article Management [Support]
Quote:
Originally Posted by
lat9
That's because this plugin is including the updated
main_product_image.php module in a
function context, so that the $zco_notifier variable isn't visible.
I'll note (and correct) this behavior in the IH-5 plugin). To correct the issue that you're having, you'll need to edit both /includes/modules/abagon/main_product_image.php and /includes/modules/abagon/additional_images.php, changing all occurrences of
to
Code:
$GLOBALS['zco_notifier']->
Ok,it work now,thanks
by the way,i used news and other plus,i checked the rss in my site www.targetmarts.com,it only work for new_products
upcoming
featured
specials
products
categories.
it don't work for other page as manufacturers_all / manufacturers/ news/ etc.
so how to work for those page?
Thanks again
-
Re: News & Article Management [Support]
Would you please elaborate on "it don't work"? What is it and what doesn't work ... how is the output different from what you expect?
-
Re: News & Article Management [Support]
Quote:
Originally Posted by
lat9
Would you please elaborate on "it don't work"? What is it and what doesn't work ... how is the output different from what you expect?
it only work for the page as:
Home
Featured Products
Specials
New Products
All Products ...
when click rss in other page as http://www.targetmarts.com/news_archive display:
WARNING: An Error occurred, please refresh the page and try again. Fatal error: 1146:Table 'i3424817_zc1.TABLE_NEWS_ARTICLES' doesn't exist :: SELECT n.article_id, na.author_name, na.author_email, nt.news_article_name, nt.news_article_text, nt.news_article_shorttext, n.news_image, nt.news_image_text, n.news_date_published FROM TABLE_NEWS_ARTICLES n LEFT JOIN TABLE_NEWS_ARTICLES_TEXT nt ON (n.article_id=nt.article_id AND nt.language_id=1), TABLE_NEWS_AUTHORS na WHERE n.authors_id = na.authors_id AND n.news_status = 1 AND n.news_date_published <= NOW() AND n.news_date_published >= DATE_SUB(NOW(), INTERVAL 0 DAY) ORDER BY news_date_published DESC, n.sort_order ==> (as called by) /home/getappreal/public_html/includes/modules/pages/rss_feed/header_php.php on line 202 <== in /home/getappreal/public_html/includes/classes/db/mysql/query_factory.php on line 155 Call Stack: 0.0001 366704 1. {main}() /home/getappreal/public_html/index.php:0 0.0492 1903976 2. require('/home/getappreal/public_html/includes/modules/pages/rss_feed/header_php.php') /home/getappreal/public_html/index.php:36 0.0505 1931368 3. queryFactory->Execute() /home/getappreal/public_html/includes/modules/pages/rss_feed/header_php.php:202 0.0508 1932368 4. queryFactory->set_error() /home/getappreal/public_html/includes/classes/db/mysql/query_factory.php:262 0.0508 1932368 5. queryFactory->show_error() /home/getappreal/public_html/includes/classes/db/mysql/query_factory.php:132 0.0508 1937448 6. trigger_error() /home/getappreal/public_html/includes/classes/db/mysql/query_factory.php:155
in page http://www.targetmarts.com/more_news?news_id=6 rss display new_products
anyway,the rss display new_products in all other page .
and the full fuction rss as www.zen-cart.cn/ ,there is very good
-
Re: News & Article Management [Support]
-
2 Attachment(s)
Re: News & Article Management [Support]
Hi folks!
Zen Cart: v1.5.5e
I got everything installed (I think) and I ran the SQL scripts (took some finagling). I've got 2 issues:
1) I enabled CKeditor. When I try to edit or add content to a new article, it looks like this when I try to submit:
Attachment 18004.
It won't show the content at all. For "fun" I entered some text in the "news_article_shorttext" field and that shows up when I try to edit it in the article. When I try to submit it, it goes back to the image above.
2) When I view a news article, I see the subject, the byline, and then it skips the article text entirely and goes to the HR and then the articleLinkList. Attachment 18005.
If you want to see it in action, it's here: http://www.sanefcs.com/catalog/?main_page=news. If you check out the page source, you can see where the article text is being skipped. I don't know PHP well enough to know what's wrong. The best I can do is find where the articleText function is defined, but I can't understand what it's doing.
Any thoughts?
-
Re: News & Article Management
Hi All,
I'm running this mod on ZC1.5.5e. The trouble I've been having is that quotes (") and other characters are being converted to "e;... etc... This also happens with some configuration options for other mods. This does not happen with order comments, product entry etc. I've never been able to get to the bottom of it. Now, it's driving me nuts.
Any help is greatly appreciated.
Thank You,
John
-
Re: News & Article Management
The characters are being 'sanitized' by the Zen Cart 1.5.5a+ admin's processing. If you were running zc156 or later, I'd suggest the updated version of the plugin.
I'm in the middle of some stuff right now, but either later today or tomorrow I'll post an admin/includes/extra_datafiles 'solution' to that issue.
-
Re: News & Article Management
Hey Lat. That would be great. Thank you! I think I upgraded to 1.5.5 from 1.5.1 in the 2017 time frame. The news module worked fine before then. Like i said, there are also a few other mods who act up this way when changing config values. I'll look to see if I can fix them after I get a look at your extra_datafiles solution.
Thanks again,
John
-
Re: News & Article Management
John, I just took a peek at v2.2.1 of the News Box Manager - v2 (https://www.zen-cart.com/downloads.php?do=file&id=1968) noting that it's got its own support thread. That version of the plugin includes the required sanitization script for zc155a and later.
-
Re: News & Article Management
I've had to do this before! I'll have to do it some more. lol. Awesome. Thank you.
Best,
John