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

News & Article Management [Support]

Views: 135,521

Results 361 to 380 of 451
13 Jun 2010, 4:14 PM
#361
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Location:
Ohio
Posts:
63
Plugin Contributions:
2

News & Article Management [Support]

MischiefDesignz:

I have installed this on 1.3.9 c and it works perfectly, except for a couple little snags, 1. I am using the news ticker and on different resolution and larger monitors then mine, the ticker " scrolling message" is either cut off or not even showing. How do I change the height?
Thanks in advance!

figured out the height change.
Go to includes/templates/template you have it uploaded to/sideboxes/and edit tpl_news_ticker.php
around line 36 you will see NEWS_TICKER_HEIGHT, just delete that and add a number that is more acceptable for it to be veiwed, I have put 35 and it works great.

13 Jun 2010, 4:28 PM
#362
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Location:
Ohio
Posts:
63
Plugin Contributions:
2

Re: News & Article Management [Support]

MischiefDesignz:

I have installed this on 1.3.9 c and it works perfectly, except for a couple little snags, 2. on the news page there is a date of WEDNESDAY 31 DECEMBER, 2014. How can I remove this?

Figured this out as well, I have just removed it,
includes/templates/template where you have the files/templates
edit tpl_news_article_default.php also tpl_news_default.php
around line 35

// News header
	$newsDisplay->newsHeader(HEADING_TITLE, $newsDate, $newsHeaderLinks);

remove

 $newsDate, $newsHeaderLinks

so it will look like this

// News header
	$newsDisplay->newsHeader(HEADING_TITLE);
12 Jul 2010, 12:29 PM
#364
diego_vieira avatar

diego_vieira

New Zenner

Join Date:
Nov 2008
Posts:
21
Plugin Contributions:
1

Re: News & Article Management [Support]

Fix for future versions.

UPDATE configuration SET set_function = NULL WHERE configuration_key = 'RSS_CACHE_TIME';
29 Jul 2010, 10:07 AM
#365
rainmist avatar

rainmist

New Zenner

Join Date:
Jun 2007
Posts:
71
Plugin Contributions:
0

Re: News & Article Management [Support]

How can I open the first page? It's seems that I do not have rights.

LED flood Lights - Energy saving! Eco-friendly! Long lifespan.
Bollard Lights - Excelllent design.

3 Sep 2010, 2:40 PM
#366
icekraz avatar

icekraz

New Zenner

Join Date:
Sep 2010
Posts:
5
Plugin Contributions:
0

Re: News & Article Management [Support]

Wondering the same thing as sub103. How do I get the ArticleHeading to be the page title. and how do I get ArticleSummary to be the page description?

I am using 1.3.9f.

TheScannerStore.com

3 Sep 2010, 6:27 PM
#367
icekraz avatar

icekraz

New Zenner

Join Date:
Sep 2010
Posts:
5
Plugin Contributions:
0

Re: News & Article Management [Support]

Has anyone come up with a way to display the Article Name rather than the Article Date in the Recent News Section?

poosk:

Can I somehow display just recent news and change the article heading instead of date like in the example?

Recent News

Wednesday 19 May, 2010
Thursday 15 April, 2010
Tuesday 23 February, 2010
Wednesday 10 February, 2010
Friday 05 February, 2010

News archive

3 Sep 2010, 6:32 PM
#368
icekraz avatar

icekraz

New Zenner

Join Date:
Sep 2010
Posts:
5
Plugin Contributions:
0

Re: News & Article Management [Support]

**(1) **I added the following code in bold to /includes/modules/pages/news_article/header_php.php

require(DIR_WS_MODULES . 'require_languages.php');
require_once(DIR_WS_CLASSES . 'news.php');
$article = $db->Execute("select n.news_date_published, nt.news_article_name**, nt.news_article_shorttext** from " . TABLE_NEWS_ARTICLES

**(2) **I also changed code in /includes/modules/meta_tags.php to fix this.

After the following line:

// NO "break" here. Allow defaults if not overridden at the per-page level

Insert the following code:

//// Dynamic titles for news pages
// BOF
case 'news':
if (isset($_GET['date']) && zen_not_null($_GET['date'])) {
define('META_TAG_TITLE', zen_date_long($date) . ' : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . TAGLINE);
} else {
define('META_TAG_TITLE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE . PRIMARY_SECTION : '') . TITLE . TAGLINE);
}

define('META_TAG_DESCRIPTION', NAVBAR_TITLE . PRIMARY_SECTION . TITLE . METATAGS_DIVIDER . SECONDARY_SECTION . KEYWORDS);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
	break;

case 'news_article':
define('META_TAG_TITLE', $article->fields['news_article_name'] . ' : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . TAGLINE);
define('META_TAG_DESCRIPTION', $article->fields['news_article_shorttext']);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
	break;

case 'news_comments':
define('META_TAG_TITLE', $article->fields['news_article_name'] . ' :' . SECONDARY_SECTION . NAVBAR_TITLE_COMMENTS . PRIMARY_SECTION . TITLE . TAGLINE);
define('META_TAG_DESCRIPTION', $article->fields['news_article_name'] . ' ' . NAVBAR_TITLE_COMMENTS . METATAGS_DIVIDER . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . METATAGS_DIVIDER . SECONDARY_SECTION . KEYWORDS);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
	break;

case 'news_archive':
define('META_TAG_TITLE', news_date_archive($archive_date) . ' : News Archive : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . TAGLINE);
define('META_TAG_DESCRIPTION', news_date_archive($archive_date) . ' : News Archive : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . METATAGS_DIVIDER . SECONDARY_SECTION . KEYWORDS);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
	break;

// EOF
//// Dynamic titles for news pages

I modified for my particular taste. You may wish to do different!

icekraz:

Wondering the same thing as sub103. How do I get the ArticleHeading to be the page title. and how do I get ArticleSummary to be the page description?

I am using 1.3.9f.

TheScannerStore.com

22 Sep 2010, 7:29 PM
#369
icekraz avatar

icekraz

New Zenner

Join Date:
Sep 2010
Posts:
5
Plugin Contributions:
0

Re: News & Article Management [Support]

Boost up

icekraz:

Has anyone come up with a way to display the Article Name rather than the Article Date in the Recent News Section?

27 Sep 2010, 9:05 PM
#370
e81ny avatar

e81ny

New Zenner

Join Date:
Feb 2007
Location:
New York
Posts:
88
Plugin Contributions:
0

Re: News & Article Management [Support]

Hello,

I saw there are already a few people asked similar questions but never got a clear answer:

All I want in news_archive page is a list of the articles without any date or year. How do I do that?

Thanks in advance!

4 Oct 2010, 7:52 AM
#371
dvdtitan avatar

dvdtitan

New Zenner

Join Date:
Apr 2007
Posts:
87
Plugin Contributions:
0

Re: News & Article Management [Support]

Having upgraded from 1.38a to 1.39g on Friday I discovered that the news and article mod was not working correctly. Specifically the html editor was displaying text as raw HTML code.

There is a thread about this general issue here:

http://www.zen-cart.com/forum/showthread.php?t=165081

Although this is not specific to solving the problem in news and article manager I resolved the problem by adding the two relevant inputs for the news and article mod. Here is my code for this new file which solves the HTML problem for define pages as recommended by Dr Byte and my fix for the news and article mod:

Just to let anyone know who is also struggling with source HTML in the news and article manager i added to the suggested file in this thread two inputs from this mod so my file reads as follows:

<?php
$global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
$my_whitelist  = array('file_contents', 'banners_html_text', 'pages_title', 'message_html','news_article_text','news_article_shorttext','comments_text');
$global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist);
11 Oct 2010, 1:48 PM
#372
tor86 avatar

tor86

New Zenner

Join Date:
Sep 2010
Location:
Leamington Spa, UK
Posts:
31
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi guys,

I've just installed everything, and I've got the news page to display okay. But for some reason I can't get the News Summary box to display on my front page, which is the main reason I wanted it! I've added the bit of code to the tpl_index_default.php file, but the module won't even appear in the list of layout boxes. I've checked the install, and everything seems fine.

Any help would be greatly appreciated :)

Thanks!

(here's the url (remove spaces) - n o t o r i o u s d e s i g n . c o . u k/ d r . u m

19 Oct 2010, 5:57 PM
#373
tor86 avatar

tor86

New Zenner

Join Date:
Sep 2010
Location:
Leamington Spa, UK
Posts:
31
Plugin Contributions:
0

Re: News & Article Management [Support]

no one? :(

21 Oct 2010, 6:16 AM
#374
dcwd avatar

dcwd

New Zenner

Join Date:
Dec 2003
Posts:
10
Plugin Contributions:
1

Re: News & Article Management [Support]

a_berezin:

Hi BlessIsaacola,

Thank you so much!!

Confucious says:
he who stands on commode, is high on pot!

29 Oct 2010, 10:57 AM
#375
sam_m avatar

sam_m

New Zenner

Join Date:
Nov 2007
Posts:
71
Plugin Contributions:
0

Re: News & Article Management [Support]

Hello just a quick one, News and Articles manager has suddenly stopped working, when trying to create a new article is just goes to a blank page and the error in /cache/ shows...

[29-Oct-2010 11:44:50] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24836696 bytes) in Unknown on line 0

Doesnt matter how much I change the memory too it still comes up with he same problem, does the same thing when I try all 3 HTML editors in the my store configuration.

the PHP Version is 5.2.13 if anyone has had something similar.

Any thoughts would be fantastic

Thank you
Sam

1 Nov 2010, 5:28 PM
#376
ajames avatar

ajames

New Zenner

Join Date:
Oct 2006
Posts:
21
Plugin Contributions:
0

Re: News & Article Management [Support]

My impression is that you inadvertently tried to load a file greater than the 2MB default maximum upload size set in the PHP config file.

15 Dec 2010, 12:31 AM
#377
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: News & Article Management [Support]

libragear:

I got it to work on the Main page. :) YAY! Just so that anyone reading this wont run into the same thing:

The install directions tell you to put this line of code:

<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
> 
> somewhere in this file:
> 
> 
> 
> The file you need to put it in is actually tpl_index_categories.php. :) I am still playing around with placement but everything works great for now. :)
> 
> [http://www.libragear.com/zencart/](http://www.libragear.com/zencart/)
> 
> Have a wonderful and codey day!
> 
> Kate

Where in the file did you place the code? I can not get to show on my main page either. Please place line number and/or code before and after. I am not php expert and find I place codes where they are not suppose to go.

Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

15 Dec 2010, 2:17 PM
#378
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: News & Article Management [Support]

kburner:

Where in the file did you place the code? I can not get to show on my main page either. Please place line number and/or code before and after. I am not php expert and find I place codes where they are not suppose to go.

Thanks, Kim

Went back and reloaded all files again. When I do test article, I can see on main page and looks like sidebox will work. I just have a ton of css to build/repair and match site.

But, I am still stuck on the admin area with loading a new article. Admin/catalog/News & Articles - Articles.

When I click on add article button, takes me to next screen - BUT will not let me add summary or article details to it. I can add Headline, date and sort order. Area below summary will not let me input anything. Just a blank area. Am I missing part of sql or file? Not sure what is happening.

BTW, this is a wonderful mod! I can really put this to use on my site when it gets working. Thank you.
Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

16 Dec 2010, 5:52 PM
#379
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: News & Article Management [Support]

kburner:

Went back and reloaded all files again. When I do test article, I can see on main page and looks like sidebox will work. I just have a ton of css to build/repair and match site.

But, I am still stuck on the admin area with loading a new article. Admin/catalog/News & Articles - Articles.

When I click on add article button, takes me to next screen - BUT will not let me add summary or article details to it. I can add Headline, date and sort order. Area below summary will not let me input anything. Just a blank area. Am I missing part of sql or file? Not sure what is happening.

BTW, this is a wonderful mod! I can really put this to use on my site when it gets working. Thank you.
Kim

Anyone? :frusty: I can not add article summary details. The admin area is blank with no input area.

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

22 Dec 2010, 10:36 PM
#380
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: News & Article Management [Support]

kburner:

Anyone? :frusty: I can not add article summary details. The admin area is blank with no input area.

I went back and re-load files again for the third time.Would the error (in the admin/catalog/News & Articles - articles that will not let me input the actual body or summary) be from an sql file or admin file?:frusty:

I really need help with this one and I am not an expert.

kburner
Burner Christian Bookstore
https://www.burnerbooks.com