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

News & Article Management [Support]

Views: 135,521

Results 321 to 340 of 451
27 Nov 2009, 5:14 AM
#321
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

News & Article Management [Support]

This is the code I tried:

# Configuration
DELETE from configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY;
DELETE from configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY_DAYS;
DELETE from configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY_LENGTH;
DELETE from configuration_group WHERE configuration_key = NEWS_COMMENTS_REQUIRE_CUSTOMER;
DELETE from configuration_group WHERE configuration_key = ENTRY_NEWS_NAME_MIN_LENGTH;
DELETE from configuration_group WHERE configuration_key = ENTRY_NEWS_COMMENTS_MIN_LENGTH;
DELETE from configuration_group WHERE configuration_key = NEWS_COMMENTS_EMAIL_ADMIN_NOTICE;
DELETE from configuration_group_id WHERE configuration_group_title = "News & Articles Management";
# Table structure for table news_articles 
DROP TABLE IF EXISTS news_articles;

# Table structure for table news_articles_text
DROP TABLE IF EXISTS news_articles_text;

# Table structure for table news_authors
DROP TABLE IF EXISTS news_authors;

# Table structure for table news_comments
DROP TABLE IF EXISTS news_comments;

# Table structure for table news_comments_description
DROP TABLE IF EXISTS news_comments_description;

Comes back with this message:

1054 Unknown column 'configuration_key' in 'where clause'
in:
[DELETE FROM configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Asdesign.co.il - Extreme Sports Blog

27 Nov 2009, 5:21 AM
#322
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

Warning: Missing argument 1 for FCKeditor::__construct(), called in /admin/news.php on line 368 and defined in /admin/includes/fckeditor_php5.php on line 42
Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /admin/news.php on line 370

I'm getting this error with the FCK editor. I can see that few others already posted about it too so maybe there'll be a solution. ;)

Asdesign.co.il - Extreme Sports Blog

4 Dec 2009, 8:09 AM
#323
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: News & Article Management [Support]

Asdesign:

This is the code I tried:

Configuration

DELETE from configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY;
DELETE from configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY_DAYS;
DELETE from configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY_LENGTH;
DELETE from configuration_group WHERE configuration_key = NEWS_COMMENTS_REQUIRE_CUSTOMER;
DELETE from configuration_group WHERE configuration_key = ENTRY_NEWS_NAME_MIN_LENGTH;
DELETE from configuration_group WHERE configuration_key = ENTRY_NEWS_COMMENTS_MIN_LENGTH;
DELETE from configuration_group WHERE configuration_key = NEWS_COMMENTS_EMAIL_ADMIN_NOTICE;
DELETE from configuration_group_id WHERE configuration_group_title = "News & Articles Management";

Table structure for table news_articles

DROP TABLE IF EXISTS news_articles;

Table structure for table news_articles_text

DROP TABLE IF EXISTS news_articles_text;

Table structure for table news_authors

DROP TABLE IF EXISTS news_authors;

Table structure for table news_comments

DROP TABLE IF EXISTS news_comments;

Table structure for table news_comments_description

DROP TABLE IF EXISTS news_comments_description;

> 
> 1054 Unknown column 'configuration_key' in 'where clause'
> in:
> [DELETE FROM configuration_group WHERE configuration_key = DISPLAY_NEWS_SUMMARY;]
> If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Is this still a problem? If I was to ask for a copy of your MySQL SQL coding for just your configuration table, do you think you can give it to me so I can make your code? Also what are your database names? Remember I said this is valid for if your database names are the default, no prefix attached, names given.
5 Dec 2009, 4:57 AM
#324
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

Unfortunately, I can't access MySQL on the server because I have MySQL 4.0 installed and the direct admin installed on the server only works with MySQL version 5.0. Its pretty big problem. Is there any other way I could fetch this data?

Theres no way to completely delete all related values from the admin?

Asdesign.co.il - Extreme Sports Blog

5 Dec 2009, 6:08 AM
#325
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: News & Article Management [Support]

Asdesign:

Unfortunately, I can't access MySQL on the server because I have MySQL 4.0 installed and the direct admin installed on the server only works with MySQL version 5.0. Its pretty big problem. Is there any other way I could fetch this data?

Theres no way to completely delete all related values from the admin?

If he uses MySQL 5.0, then he should be able to know the commands for MySQL 4.0 to get the database names of your database. If you can get those, PM them to me and I'll rewrite the script.

5 Dec 2009, 6:12 AM
#326
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

I'll check it out.

Asdesign.co.il - Extreme Sports Blog

2 Jan 2010, 11:34 AM
#327
kenik avatar

kenik

New Zenner

Join Date:
Jan 2010
Posts:
16
Plugin Contributions:
0

Re: News & Article Management [Support]

Asdesign:

Warning: Missing argument 1 for FCKeditor::__construct(), called in /admin/news.php on line 368 and defined in /admin/includes/fckeditor_php5.php on line 42
Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /admin/news.php on line 370

I'm getting this error with the FCK editor. I can see that few others already posted about it too so maybe there'll be a solution. ;)
Is a wrong calling FKCEDITOR
For me 1.3.8 a FKCEDITOR 2.5 works
change after line 364

			// News Article Headline, Summary, & Content input
			//	• HTML Editors support for summary input
			if (HTML_EDITOR_PREFERENCE == 'FCKEDITOR') {
				echo '<td class="dataTableContent" align="left" colspan="4">';
				$oFCKeditor = new FCKeditor('news_article_shorttext[' . $lang['id'] . ']') ;
				$oFCKeditor->Width  = '100%' ;
                $oFCKeditor->Height = '130' ;
                $oFCKeditor->Create() ;
				echo '</td>';
			} elseif (HTML_EDITOR_PREFERENCE == 'HTMLAREA') {
				echo '<td class="dataTableContent" align="left" colspan="4">' . zen_draw_textarea_field('news_article_shorttext[' . $lang['id'] . ']', 'soft', '70', '10', (($news_article_shorttext[$lang['id']]) ? stripslashes($news_article_shorttext[$lang['id']]) : news_get_news_article_shorttext($nInfo->article_id, $lang['id'])), 'style="width: 100%"') . '</td>';
			} else {
				echo '<td class="dataTableContent" align="left" colspan="4">' . zen_draw_textarea_field('news_article_shorttext[' . $lang['id'] . ']', 'soft', '70', '5', (($news_article_shorttext[$lang['id']]) ? stripslashes($news_article_shorttext[$lang['id']]) : news_get_news_article_shorttext($nInfo->article_id, $lang['id'])), 'style="width: 100%"') . '</td>';
			}

			echo
							'<td class="dataTableContent" align="left"> </td>' .
						'</tr>' .
						'<tr class="dataTableRow">' .
							'<td class="dataTableContent" align="left" valign="top">' . TEXT_NEWS_CONTENT . '<br /><a href="javascript:preview(\'news_article_text[' . $lang['id'] . ']\');"><em>' . TEXT_NEWS_CONTENT_PREVIEW . '</em></a></td>';

			// News Article Headline, Summary, & Content input
			//	• HTML Editors support for content input
			if (HTML_EDITOR_PREFERENCE == 'FCKEDITOR') {
				echo '<td class="dataTableContent" align="left" colspan="4">';
				$oFCKeditor = new FCKeditor('$news_article_text[' . $lang['id'] . ']') ;
				$oFCKeditor->Value = news_get_news_article_text($nInfo->article_id, $lang['id']);
				$oFCKeditor->Width  = '100%' ;
                $oFCKeditor->Height = '250' ;
                $oFCKeditor->Create() ;
						echo '</td>';
2 Jan 2010, 8:58 PM
#328
ansmarie29304 avatar

ansmarie29304

New Zenner

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

Re: News & Article Management [Support]

I'm using 1.3.8 and my website is http://www.bearintreasures.com/bt_shop/index.php. The problem I'm having is the main news page for some reason is not showing up at all, http://www.bearintreasures.com/bt_shop/index.php?main_page=news. Everything else works except the main news page. I placed all the news.php file where they should be but its now working.

Please Help!!!

19 Jan 2010, 12:36 PM
#329
bikeforce avatar

bikeforce

New Zenner

Join Date:
Sep 2009
Posts:
73
Plugin Contributions:
0

Re: News & Article Management [Support]

dreamscape:

There are settings in the admin after you install it for the height, amount, & delay (amount & delay control speed). The width is automatically set to roughly the column width that it is placed in.

How do you alter the width? Or apply padding or margins - this seems to be quite a complicated process due to the nature or the javascript setup.... Every change I make doesnt affect anything - The scroller text and the box are miss aligned.

19 Jan 2010, 12:41 PM
#330
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

I want to post up a tip for whoever uses this mod on their website with FCK Editor or any other kind of Wysiwyg editor! Always make sure you enter news WITHOUT html code from another site OR your site may break or start having wierd display around the new scroller. So, just make sure you don't put in any HTML code. You can be sure of that by copying and pasting text into wordpad or notepad prior to pasting them into the N&A Manager.

Asdesign.co.il - Extreme Sports Blog

19 Jan 2010, 12:43 PM
#331
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

Bikeforce:

How do you alter the width? Or apply padding or margins - this seems to be quite a complicated process due to the nature or the javascript setup.... Every change I make doesnt affect anything - The scroller text and the box are miss aligned.

To customize the scroller to your needs, you basically have to control it with CSS which requires further knowlege in HTML/CSS. Link me up to your site and I'll see what I can do to help you out.

Asdesign.co.il - Extreme Sports Blog

19 Jan 2010, 1:04 PM
#332
bikeforce avatar

bikeforce

New Zenner

Join Date:
Sep 2009
Posts:
73
Plugin Contributions:
0

Re: News & Article Management [Support]

Yes I am aware of that....What I was saying was that trying to customize the stylesheet that came with the News Ticker mod didnt work so i have now just created a new div in the ticker sidebox template.

$content .= '<div style ="width: 165px; overflow:hidden;">' . "\n" .

which was just after

<script language="javascript" type="text/javascript" src="includes/newsTicker.js"></script>' . "\n" .

At the end of the files I closed the div. This aligns the box and the text by cropping the uneccessary text below, a kind of masking effect.

I have done this because I believe it wasnt the CSS that was creating the width but the Javascript dynamically - therefore I had trouble finding the div width even though I could see the element style in firebug. So rather then change the width i have just masked the text, which was good enough for me in this instance. Thanks for the offer though....

19 Jan 2010, 1:09 PM
#333
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

Can you put up a link to your cart?...

Asdesign.co.il - Extreme Sports Blog

19 Jan 2010, 1:29 PM
#334
bikeforce avatar

bikeforce

New Zenner

Join Date:
Sep 2009
Posts:
73
Plugin Contributions:
0

Re: News & Article Management [Support]

https://www.bike-force.co.uk (its working how i want it now)

19 Jan 2010, 1:30 PM
#335
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

Oh my favorite...I'm into bikes too ;)

Asdesign.co.il - Extreme Sports Blog

21 Jan 2010, 2:47 AM
#336
webmystery avatar

webmystery

New Zenner

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

Re: News & Article Management [Support]

I'm a Zen Cart Noob. This is the first add on I've tried. Found the readme - it says:
INSTALLATION INSTRUCTIONS:
http://www.dream-scape.com/pub/zencart/News_Articles_Management/install.html

... and the site is offline!!

Should I bother with this module? Is it supported? If so, how do I install it?

Thanks!

21 Jan 2010, 11:23 AM
#337
asdesign avatar

asdesign

Zen Follower

Join Date:
Jun 2009
Location:
Israel
Posts:
152
Plugin Contributions:
0

Re: News & Article Management [Support]

There should be installation docs within the files you downloaded.

Asdesign.co.il - Extreme Sports Blog

30 Jan 2010, 5:15 AM
#338
awesome avatar

awesome

New Zenner

Join Date:
Oct 2009
Location:
USA
Posts:
13
Plugin Contributions:
0

Re: News & Article Management [Support]

Bikeforce, I really like your site layout. Did you build the template yourself, or did you hire someone?

2 Feb 2010, 3:42 PM
#339
tapper avatar

tapper

Zen Follower

Join Date:
Nov 2007
Location:
Upstate NY
Posts:
233
Plugin Contributions:
0

Re: News & Article Management [Support]

awesome:

Bikeforce, I really like your site layout. Did you build the template yourself, or did you hire someone?

I second that! It's lovely. What's the template?

12 Feb 2010, 8:53 AM
#340
bikeforce avatar

bikeforce

New Zenner

Join Date:
Sep 2009
Posts:
73
Plugin Contributions:
0

Re: News & Article Management [Support]

awesome:

Bikeforce, I really like your site layout. Did you build the template yourself, or did you hire someone?

Sorry Just seen this thank you! I really should subscribe to this thread! Basically I bought the Spare Parts template from Template monster and customized it - I did this to save time as I have built the site for a company I work for...(and they paid!)

I did customize some of the css though and have added the tabbed products module. I also used the Lightbox module to display images.

I think its okay, but I would like to actually build some templates in future...

A word of warning though - I found this template can be slow if your host is slow - all the rounded corners are actually gif files - but i have it running on a reasonable speed on Bluehost - they are Zen cart approved.