Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Article Manager 1 Add-ons:
Addon: latest articles news ticker

 

First page Previous page 1 2 Next page Last page  View All


Lionel
User

Feb 20, 2003, 6:16 PM

Post #1 of 36 (10151 views)
Shortcut
Addon: latest articles news ticker Can't Post

Very simple. After implementation, to use Global headlines like it is now, see last sentence

Step1-Download this free to try ticker at http://www.appletcollection.com/newsticker.html

Step2-Upload the newstic.swf ONLY in your artman/publish directory and use the provided example from your desktop to get the embed code that you will need to use later at the final step.

Step3-Download and rename templates/headlines/default.html. Rename it default2.html and upload in same directory /headlines/default.html

Step4-Browse your category editor in admin. Modify every instance of categories to change Latest Headlines: headlines/default.html to newly uploaded /headlines/default2.html where you have headlines/default.html (Very important)

Step5-Upload the attached file as the new /headlines/defaul.html , editing the length, the width and the color of your ticker.

Step6-create a php file, call it ticker.php. Use the attached tick.php file as a guide. Make sure that you have the first line in there or your ticker will not work. It is renaming the file headlines_.php (my extension, yours could be shtml or whatever) into newstickerdata.xml, much needed by the newstic.swf And include your saved embed code from step 1 in it also. If you have changed the filename headlines_ in your globals server, reflects the change.

Step7-SSI or php include ticker.php where you want to display your ticker.

Everytime you update your news, your ticker gets updated too.

example: http://www.haitiwebs.com/magazine/tick.php
SSI example http://www.haitiwebs.com/index2.shtml
If you like it, pay the 19.00 registration to remove the nagging feature.

Enjoy it!



If you need to use the global headlines, use the search function with template headlines/default2.html


(This post was edited by Lionel on Feb 21, 2003, 9:08 AM)
Attachments: default.html.txt (1.66 KB)
  tick.php.txt (0.98 KB)


ColinW-O
User

Feb 21, 2003, 11:46 AM

Post #2 of 36 (10128 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

Kinky! Will play around with this tomorrow and see how it goes. You da man! :)


ColinW-O
User

Feb 21, 2003, 12:34 PM

Post #3 of 36 (10125 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

I tried it quickly, it's saying

"Warning: Rename failed (Permission denied) in /home/www/wrestling-online/news/ticker.php on line 2"

Any idea what am I doing wrong? The ticker.php is at http://www.wrestling-online.com/news/ticker.php

Thanks!

Colin


Lionel
User

Feb 21, 2003, 12:36 PM

Post #4 of 36 (10123 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

try chmod 777 the files


ColinW-O
User

Feb 21, 2003, 12:42 PM

Post #5 of 36 (10119 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

Still the same error!


Lionel
User

Feb 21, 2003, 12:46 PM

Post #6 of 36 (10116 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

This is a permission issue. You are not allowed to rename a file on your server. If you are on a shared host, ask them to let you (I doubt that they will turn safe_mode off). If this your own, it might have to do with safe_mode on. Safe_mode on gives you a lot of limitations with php. And according to most people it is not even doing what it is supposed to do. Only ISP turned them on, this to prevent other users on the same server to corrupt another user file.


If they won't let you, let me know and I will change the rename into the write function.


(This post was edited by Lionel on Feb 21, 2003, 12:50 PM)


ColinW-O
User

Feb 21, 2003, 12:50 PM

Post #7 of 36 (10110 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

I'm on a Unix dedicated server, have total control over it.

It worked now, the NEWS directory was not set to 777! Doh. Stupid me.

I will try and customize it tomorrow, this was just a quickie to see if it works :)

Thanks dude. Will let you know how it's implemented tomorrow on the site.

Colin


Lionel
User

Feb 21, 2003, 12:56 PM

Post #8 of 36 (10108 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

great! Looks good. You need to adjust your width and length parameters in both files so the table display properly.


Lionel
User

Feb 21, 2003, 1:04 PM

Post #9 of 36 (10104 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

you should also turn off errors display in your php.ini. This is used only for debugging. PHP 4.30 is very sensitive. If you don't, you will start seing errors everywhere with other scripts. That does not affect anything. If you do not want to do so, then put "if file exists{do the rename}" before the routine.


(This post was edited by Lionel on Feb 21, 2003, 1:05 PM)


Luke
Staff / Moderator


Feb 21, 2003, 3:45 PM

Post #10 of 36 (10089 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

Hi Lionel,

Wow! Great add-on. Thanks for sharing your news ticker solution with us. Keep up the good work! Wink

Luke
interactivetools.com

Luke Holzken
Product Development


ColinW-O
User

Feb 22, 2003, 4:34 AM

Post #11 of 36 (10046 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

Ok another problem :) Now it's saying

Warning: Rename failed (No such file or directory) in /home/www/wrestling-online/news/ticker.php on line 2 . In fact I can't find the headlines_.shtml in my news directory!

Also does it work in Netscape? It looks good in Netscape (width etc) as I set it but the news aren't working. In IE6, the news pop up but the difference in the width is noticable.

Check it out at http://www.wrestling-online.com/news/ticker.php

Any idea why the headlines_.shtml is not being created? When I go in the setup options of Artman and publish all again, it works but after a few it's gone again.

Thanks.

Colin


Lionel
User

Feb 22, 2003, 4:41 AM

Post #12 of 36 (10045 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

read a couple posts above


ColinW-O
User

Feb 22, 2003, 5:05 AM

Post #13 of 36 (10042 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

Where exactly do I put "if file exists{do the rename}" ?

Sorry about this but I'm an idiot when it comes to this :)


Lionel
User

Feb 22, 2003, 5:14 AM

Post #14 of 36 (10038 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

<?php
$filename = '/path/to/headlines_.php';
if (file_exists($filename)) {
rename("headlines_.php", "newstickerdata.xml");
}
?>

I got no problem with Netscape. If you are placing this outside of it's directory you might want to also place the swf in there and use the copy function to copy the xml in there


Lionel
User

Feb 22, 2003, 5:24 AM

Post #15 of 36 (10035 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

see that you got it! Wink


ColinW-O
User

Feb 22, 2003, 5:43 AM

Post #16 of 36 (10033 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

I got it working perfectly on IE6 at http://www.wrestling-online.com/news/2003test.html (ignore the broken images) but try to load it in Netscape, it's completely messed up. Have to find a way around it and see what I can do to make it look the same on both browsers.

Thanks for the help, it's EXACTLY what I was looking for!

Colin


Lionel
User

Feb 22, 2003, 6:04 AM

Post #17 of 36 (10032 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post


In Reply To
I got it working perfectly on IE6 at http://www.wrestling-online.com/news/2003test.html (ignore the broken images) but try to load it in Netscape, it's completely messed up. Have to find a way around it and see what I can do to make it look the same on both browsers.

Thanks for the help, it's EXACTLY what I was looking for!

Colin

which version of netscape? It's perfect for me.


ColinW-O
User

Feb 22, 2003, 6:26 AM

Post #18 of 36 (10029 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

I'm using Netscape 4.76.

The applet is loading however no news is scrolling in Netscape and the logo of the site is not under the ticker in Netscape, it's next to it so you have to scroll all the way to the right. At least for my Netscape.


Lionel
User

Feb 22, 2003, 6:34 AM

Post #19 of 36 (10028 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

it's in your html. I just looked at it in Netscape 4.73 and your logo is off centered. If you looked at my page www.haitiwebs.com/index2.shtml in Netscape, it is fine. But don't feel bad... nothing looks good in netscape below 5


but it is fine in netscape 7.0


(This post was edited by Lionel on Feb 22, 2003, 6:35 AM)


Lionel
User

Feb 22, 2003, 6:37 AM

Post #20 of 36 (10025 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

I just looked at your source code. Place your logo in the table you have below it and that will solve your problem


ColinW-O
User

Feb 22, 2003, 6:45 AM

Post #21 of 36 (10022 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

AAH! I figured it out. I had ALIGN=LEFT in one of the tags of the ticker. I removed it and it's working perfectly now. Now the last obstacle is making the news actually pop up in the ticker. :) I'm not sure if it's my browser/plugin that it's not working or whatever.

But oh well, why is Netscape such an ass? :) :)

Thanks!


Lionel
User

Feb 22, 2003, 6:49 AM

Post #22 of 36 (10020 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

you should remove the break tag and place the whole thing, including the ticker in a table. That will remobve the white space created by the <br>



What do you mean 'popup'? The title tag on hover? That will not happened.


ColinW-O
User

Feb 22, 2003, 6:52 AM

Post #23 of 36 (10018 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

No I mean the news are scrolling in IE6, but on Netscape, I only see the black background of the applet but no news scrolling. I'm trying to figure out why as we speak..


Lionel
User

Feb 22, 2003, 6:58 AM

Post #24 of 36 (10016 views)
Shortcut
Re: [ColinW-O] Addon: latest articles news ticker [In reply to] Can't Post

oh well, I see them and have been reading them in Netscape 4.73. Do me a favor, can you see mine?


ColinW-O
User

Feb 22, 2003, 7:05 AM

Post #25 of 36 (10013 views)
Shortcut
Re: [Lionel] Addon: latest articles news ticker [In reply to] Can't Post

Nope, can't see them. It must be my Netscape/plugin. I will re-install later and see what's up.

I moved the site to the testing directory at http://www.wrestling-online.com/2003/ . Unless I copy the newstickerdata.xml in the 2003 directory, the ticker will not load the contents. However if I just copy the XML file from the /news/ directory to the /2003/ one, it will not update whenever I post a new subject.

I think the problem is that the headlines_.shtml is NOT there. For some unknown reason, it's not being created by ArtMan whenever I update/publish new files. That's why I was being given the problem in the ticker.php before you gave me the script to hide it.

Any idea why it's not being created? It was working before because I used to call it via SSI on other pages!

First page Previous page 1 2 Next page Last page  View All
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4