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

News & Article Management [Support]

Views: 135,518

Results 21 to 40 of 451
25 May 2006, 1:33 PM
#21
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

News & Article Management [Support]

dreamscape:

The only thing that I can think that would make that happen is if you are including the news_summary.php multiple times. Are you sure that you have not accidentally placed its call inside of a loop?

I. My face is red. It was inside the loop. Thanks for the hint.

II. Also thanks for the updated code to help prevent comment spamming. I have yet to implement but will soon.

III. Also I found the optional news archive sidebox did not include a class for "sideBoxContent". So I added by editing tpl_news_archive.php as follows:

    $content = '<div class="sideBoxContent">';
    $content .= '<div class="newsArchiveSideBox">';

	$newsDisplay = new newsDisplay();

	foreach ($newsArchiveList as $archive) {
		$newsDisplay->articleFooter(sprintf(BOX_NEWS_ARCHIVE_TEXT_ARCHIVE_LIST_HEADER, $archive['archiveDate']), $archive['archiveLinks'], false, false, false);
	}

	$content .= $newsDisplay->displayNewsPage(false);

  $content .= '</div>';
  $content .= '</div>';

IV. Also I would like to rid of the first clearSplit in the news archive sidebox to rid of extra whitespace between the year (e.g. 2006) and the top sidebox image. Anyone have a quick fix?

I see the source of clearSplit is the newsDisplay() function within news.php class file. That function also renders all the other news pages so unsure how to adapt for sidebox without negatively impacting display of the news pages. I figure I might need to write another function specific to the sidebox in the class file (to drop the clearSplits) and call it from tpl_news_archive.php. But I don't yet have enough PHP knowledge yet to decipher tpl_news_archive.php

Woody

25 May 2006, 1:43 PM
#22
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: News & Article Management [Support]

dreamscape:

No the setting is not to show 7 days of news. It is to show the news summary if there has been news in the past XX [7 by default] days. So if you don't post anything for a week, then the summary will stop showing up. And it only shows for the last news day, only a summary of the top most entry.

If you want something different, you will have to code it.

If anyone is thinking of doing this please PM me.

I'm not sure if I have the coding chops but I'm thinking of taking a swipe at enabling so admin can set the number of days to display articles in summary, and set the number of articles that can be displayed.

Similar to what the "News Manager" mod supports.

Also a sidebox displaying a dynamic list of the latest article titles (but not a scroller sidebox, but that optional sidebox could be used as a basis).

Again similar to what the "News Manager" mod supports.

Woody

30 May 2006, 7:27 PM
#23
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Re: News & Article Management [Support]

why doesn't my browser display an rss icon in my news page. and I cannot subscribe to the rss

1 Jun 2006, 7:33 PM
#24
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

Re: News & Article Management [Support]

how do i get rid of the duplate bredcrumb for the news contrib

ir what file do i have to edit?

1 Jun 2006, 9:25 PM
#25
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: News & Article Management [Support]

remove the breadcrumb from the news templates

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

3 Jun 2006, 6:22 PM
#26
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

Re: News & Article Management [Support]

Kim:

remove the breadcrumb from the news templates

done thanks

5 Jun 2006, 9:46 AM
#27
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi despite the long efforts of understanding loops and php I really couldnt do it. I'd just like to list all the news on one page and have a rss feed for it. no complicated archives or irritating links to every single post. If anyone can help it would be really appreciated. or if anyone has some other contribution in mind let me know

6 Jun 2006, 8:35 PM
#28
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: News & Article Management [Support]

Hello all,

This is a brill mod. I have been using this from 1.27 upwards. I upgraded to 1.301, and noticed a difference on the new.php page. Example is below:-

http://www.thegemtree.com/index.php?main_page=news

On the first article, I had entered a summary image which doesn't seem to show. The second article is purposely concise for now. Also, several lines appear below each article which are not part of the admin-side entry. I noticed that nobody else mentioned anything like this, so I don't know if this is just exclusive to my site.

If not, I wonder if it is just a case of amending new.php file?

Many thanks,

Russ :thumbsup:

9 Jul 2006, 4:56 AM
#29
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

Re: News & Article Management [Support]

I'm using this with 1.3. I would like to wrap a div around the entire news template (it needs a little padding). However, I've looked at the tpl files and they are a different format than the rest of zen and I can;t seem to figure out how to do it.

18 Jul 2006, 4:32 AM
#30
slaxed avatar

slaxed

New Zenner

Join Date:
Jul 2005
Posts:
7
Plugin Contributions:
0

Re: News & Article Management [Support]

voltage:

I'm using this with 1.3. I would like to wrap a div around the entire news template (it needs a little padding). However, I've looked at the tpl files and they are a different format than the rest of zen and I can;t seem to figure out how to do it.

hi, I think I have had the same padding issue in 1.3 , but used

td { padding: 0.5em; } 

as a workaround

cheers

25 Jul 2006, 8:18 PM
#31
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi,

Which file are you supposed to edit to change the look of the news summary?

28 Jul 2006, 8:24 AM
#32
slaxed avatar

slaxed

New Zenner

Join Date:
Jul 2005
Posts:
7
Plugin Contributions:
0

Re: News & Article Management [Support]

hi there, you can edit the stylesheet_news.css to change the look

3 Aug 2006, 4:50 PM
#34
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: News & Article Management [Support]

polarduality:

Does this mod work with Zen Cart 1.3.0.2?
I got it working for 1.3 but I want to make sure it works for the latest version before I try to install it.

work fine in 1.3.0.2
i was able to wrap it in my current template.

10 Aug 2006, 3:01 AM
#35
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: News & Article Management [Support]

i got the following error after installing the SQL patch for Sidebox Scroller v1.0 thru admin;

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

what was that?!

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

10 Aug 2006, 5:49 AM
#36
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: News & Article Management [Support]

Zapisto:

work fine in 1.3.0.2
i was able to wrap it in my current template.

Do you mind sharing how you accomplished wrapping it?

Thanks!

11 Aug 2006, 1:22 AM
#37
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: News & Article Management [Support]

I just installed the mod on 1.3.0.2 and it seems to be working fine.
Just need to get rid of a bunch of lines that are showing up.
I didn't try any of the optional plugins for this mod.

Don't think you need to "wrap" it in anything.
Just follow the install directions.

11 Aug 2006, 4:09 PM
#38
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: News & Article Management [Support]

tajul_ashyqin:

i got the following error after installing the SQL patch for Sidebox Scroller v1.0 thru admin;

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

what was that?!

I think this could be something to do with your table prefixes. Try installing the patch using phpMyAdmin directly.

Danielle

11 Aug 2006, 4:11 PM
#39
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: News & Article Management [Support]

BlessIsaacola:

Do you mind sharing how you accomplished wrapping it?

Thanks!

Yes, there isn't really anything you need to wrap. To change the look, just edit the stylesheet_news.css. I installed it on 1.3.0.2 with no trouble :)

Danielle

12 Aug 2006, 12:16 AM
#40
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: News & Article Management [Support]

Danielle:

I think this could be something to do with your table prefixes. Try installing the patch using phpMyAdmin directly.
thanx for the reply danielle!i'll try it a.s.ap! fyi, i installed it on v1.3x.

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!