Newsticker (news scrolling in a nice way)

Download plugins, language packs and stuff.

Newsticker (news scrolling in a nice way)

Postby nam » Mon Jul 07, 2008 11:58 pm

I think it can be used as a plug-in for CuteNews.ru to display the news items in a nice way as shown at http://www.scriptocean.com/imp1.html.

I attached my code here so others may wish to use it:

1- Unzip the file
2- put the js.tpl template file in the \data\tpl folder.
3- upload the newsticker.php and news.htm files in the main cutenews.ru folder
4- open newsticker.php and change the colors as you wish
5- access the {cutepath}/news.htm file through browser to make sure the scrolling news come up on the screen.
6- Now add this piece of code where you want to display the scrolling news. Better to insert it in your main template:

Code: Select all
<iframe id="ifrm" name="ifrm" width="100%" height="45" src="{cutepath}/news.htm" SCROLLING="no" FRAMEBORDER="0" border=0></iframe>


I hope there is anyone to improve it.
Attachments
newsticker.zip
(2.89 KiB) Downloaded 337 times
Last edited by nam on Sat Dec 13, 2008 1:20 am, edited 1 time in total.
User avatar
nam
 
Posts: 221
Joined: Sat Dec 23, 2006 9:10 pm

Postby scottdallas » Tue Jul 08, 2008 6:50 pm

That is very cool :) Never seen anything like that.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

i am trying to use, but not successful

Postby hadisaadeh » Fri Dec 12, 2008 9:03 am

Dear Sir,
did you use this code
i used but not working...
i am making all steps..
hadisaadeh
 
Posts: 121
Joined: Sat Sep 29, 2007 2:50 pm

Re: i am trying to use, but not successful

Postby nam » Fri Dec 12, 2008 5:40 pm

hadisaadeh wrote:Dear Sir,
did you use this code
i used but not working...
i am making all steps..



I am using it since long with no problem.

Please describe the output you get to see what I can to help.
User avatar
nam
 
Posts: 221
Joined: Sat Dec 23, 2006 9:10 pm

Postby hadisaadeh » Fri Dec 12, 2008 6:07 pm

Thanks for your reply and i hope you are fine...
I have no thing in output
i am trying to use as you described ...
when i click on http://localhost:8080/arr/news/news.htm
no output
but when i am using http://localhost:8080/arr/news/newsticker.php
it gave ma that if i want to open the file or save, although i have an apache and php

can you give me the exact way on details ...


Thanks
hadisaadeh
 
Posts: 121
Joined: Sat Sep 29, 2007 2:50 pm

Postby nam » Fri Dec 12, 2008 6:56 pm

hadisaadeh wrote:Thanks for your reply and i hope you are fine...
I have no thing in output
i am trying to use as you described ...
when i click on http://localhost:8080/arr/news/news.htm
no output
but when i am using http://localhost:8080/arr/news/newsticker.php
it gave ma that if i want to open the file or save, although i have an apache and php

can you give me the exact way on details ...


Thanks


news.htm should give you the output.

But it is OK that newsticker.php ask you to open or save the file, it is the way this script works.

Please save the file somewhere and then open it with notepad to see what the output is. You should see your latest headlines with their URL inside this file.

Please report the output of this file so I could further help.
User avatar
nam
 
Posts: 221
Joined: Sat Dec 23, 2006 9:10 pm

Postby Faizan » Thu Mar 05, 2009 8:15 pm

This is great... I've been meaning to do something like this for my site. Will give this a try and let you know how it goes. :)

Thanks Nam!
User avatar
Faizan
 
Posts: 55
Joined: Sun Dec 11, 2005 4:26 pm

Postby Faizan » Thu Mar 05, 2009 8:35 pm

Hmmm... when I access news.htm, it doesn't load the news so I checked out what newsticker.php shows and it just loads everything there is in those 10 articles... including short story, full story, etc.

Any ideas?
User avatar
Faizan
 
Posts: 55
Joined: Sun Dec 11, 2005 4:26 pm

Postby nam » Sun Mar 08, 2009 7:16 pm

Faizan wrote:Hmmm... when I access news.htm, it doesn't load the news so I checked out what newsticker.php shows and it just loads everything there is in those 10 articles... including short story, full story, etc.

Any ideas?



Did you upload the template file:

2- put the js.tpl template file in the \data\tpl folder.
User avatar
nam
 
Posts: 221
Joined: Sat Dec 23, 2006 9:10 pm


Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron