Zen Cart Logo
Forums / Addon Sideboxes / News Box Manager vs. 1.4 - How to fadeout?

News Box Manager vs. 1.4 - How to fadeout?

Locked

Views: 2,888

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
25 Dec 2006, 9:37 PM
#1
erwin208 avatar

erwin208

New Zenner

Join Date:
Nov 2005
Posts:
44
Plugin Contributions:
0

News Box Manager vs. 1.4 - How to fadeout?

the read-me tells:

The News are shown in a Sidebox.
You can chose between a static list or a java fadeout effect.

where can I find these settings?

8 Jan 2007, 4:31 PM
#2
daschenbrener avatar

daschenbrener

New Zenner

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

Re: News Box Manager vs. 1.4 - How to fadeout?

Has anyone found out how to activate the Java Fade with this mod?

Thanks

David

20 Feb 2007, 6:50 AM
#3
maleborg avatar

maleborg

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
1

Re: News Box Manager vs. 1.4 - How to fadeout?

As i described in the readme_EN.txt you will find this settings in the file
\includes\templates\template_default\sideboxes\tpl_news_scroll_box.php

Look at line 26 to get the sidebox settings

// Begin of News Sidebox Config
$layout = 1; // 0 = Java Script Fader | 1 = Static 10 last news
$shown_news = 10; // Number of Shown News
// End of News Sidebox Config

Greets
MaleBorg

20 Feb 2007, 7:40 PM
#4
erwin208 avatar

erwin208

New Zenner

Join Date:
Nov 2005
Posts:
44
Plugin Contributions:
0

Re: News Box Manager vs. 1.4 - How to fadeout?

thanx for this information.

now I tried to re-install it but when loading the SQL true PHPMyAdmin I get an error:

SQL-query:

SELECT *
FROM configuration
WHERE CONCAT_WS( "-", '', 'News Box Character Count', 'NEWS_BOX_CHAR_COUNT', '200', 'Set the number of characters (bytes)
= "news_box_char_count"
ORDER BY '', 'News Box CharacterCount ', 'NEWS_BOX_CHAR_COUNT ', '200 ', '
SET the number of characters(
bytes LIMIT 0 ,
30
MySQL retourneerde:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'News Box Character Count ', ' NEWS_BOX_CHAR_COUNT ', ' 200 ', ' Set the numbe' at line 1

who knows a solution or cause or both ?!

21 Feb 2007, 6:50 PM
#5
grayceworks avatar

grayceworks

New Zenner

Join Date:
Jan 2007
Location:
Atlanta, GA
Posts:
71
Plugin Contributions:
0

Re: News Box Manager vs. 1.4 - How to fadeout?

you shouldn't need to reinstall the sql stuff... just change the php file and reupload it. that's what I did.

HOWEVER... I have an issue, and had to turn the fading back off, (even though it's very cool)

When I have the fading on, it also fades out my product listing titles, and they don't fade back in, they just stay gone. HELP? it doesn't affect anything else on the page, just the product listing titles. I am having other issues with those titles too, but at least with the fading turned off, they stay on the page... LOL

21 Feb 2007, 9:41 PM
#6
erwin208 avatar

erwin208

New Zenner

Join Date:
Nov 2005
Posts:
44
Plugin Contributions:
0

Re: News Box Manager vs. 1.4 - How to fadeout?

hi grayceworks,

You wrote : just change the php file and reupload it.

But what and how must it be changed?

21 Feb 2007, 10:15 PM
#7
grayceworks avatar

grayceworks

New Zenner

Join Date:
Jan 2007
Location:
Atlanta, GA
Posts:
71
Plugin Contributions:
0

Re: News Box Manager vs. 1.4 - How to fadeout?

find this file:

\includes\templates\template_default\sideboxes\tpl _news_scroll_box.php (or whichever template folder you are using, in the sideboxes folder)

follow the directions listed in above comments, reposted below:

Look at line 26 of the file in your text editor. It will look like this:

// Begin of News Sidebox Config
$layout = 1; // 0 = Java Script Fader | 1 = Static 10 last news
$shown_news = 10; // Number of Shown News
// End of News Sidebox Config

where it says $layout=1, you can see that it means a static link, instead of fading.

change it to say $layout = 0; and you will have it fading.

just reupload that file to the appropriate location, then make sure you use the "news box manager" in the "Tools" section of admin panel, to both create and publish news items.

Also use the "layout settings" section of the "Configuration" menu in the admin panel to adjust other news box settings. in this section, you'll find the 4 news box settings near the bottom:

News Box Character Count 200

News Box Width in px 140px

News Box Height in px 160px

Number of Shown News 5

. Hope this helps. And maybe someone can tell me what's wrong with mine... lol

10 Mar 2007, 1:38 PM
#8
wizardsandwars avatar

wizardsandwars

Zen Follower

Join Date:
Jan 2004
Location:
Chesterfield, VA
Posts:
72
Plugin Contributions:
1

Re: News Box Manager vs. 1.4 - How to fadeout?

Just wanted to point out that your installation instuctions mention the wrong file to turn on the scroller fadeout effect.

10 Mar 2007, 2:59 PM
#9
grayceworks avatar

grayceworks

New Zenner

Join Date:
Jan 2007
Location:
Atlanta, GA
Posts:
71
Plugin Contributions:
0

Re: News Box Manager vs. 1.4 - How to fadeout?

Ummm... Nope.. that's where the file should be... Unless you've installed it somewhere else? But that is the default place for it to be installed.

\includes\templates*template_default*\sideboxes\tpl _news_scroll_box.php

**(or whichever template folder you are using, in the sideboxes folder) **

And it's in that file that you set the settings mentioned above which turn it on. According to the readme instructions given WITH the contribution. And it DOES work... Just not with the way I personally have things modified in my ZenCart

10 Apr 2007, 11:50 AM
#10
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: News Box Manager vs. 1.4 - How to fadeout?

i have the fadeout working no problem but the links to the news itself no loger functions -- just the news title without any link to the news display page.

Any thoughts?
Thanks