Freeman Posted December 3, 2007 Posted December 3, 2007 This is a new support thread created for AJAX XML NEWS TICKER , released under GPL. It is a simple news ticker with xml data loading from external file. Very easy to install, take 3 min and has activate/deactivate function from Admin. The contribution is located here: http://addons.oscommerce.com/info/5590 Feel free to experiment and put bug/addon here! :thumbsup: Freeman Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
azer Posted December 3, 2007 Posted December 3, 2007 hello any screensht you could make for us ? when yo usay external data, what do you mean !,? Quote MS2
Freeman Posted December 4, 2007 Author Posted December 4, 2007 Hi Azer, With the installation info basically you have this one : http://dynamicdrive.com/dynamicindex2/ajaxticker.htm Implemented into the header of Oscommerce store. External data i mean that it loads the text from XML and not from DB itself. Try to install and test, and if you have trouble let me know here! Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 5, 2007 Posted December 5, 2007 Hi, there seems to be a problem with centering in Firefox vs. EI. eg.: http://www.coiffure-bettina.dk/catalog/ Any ideas ? Regards jarzom Quote
Freeman Posted December 6, 2007 Author Posted December 6, 2007 Please modify into stylesheet : text-align: center; (or in the file itself where it starts the css style declaration) And let me know, Cheers Fab Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 6, 2007 Posted December 6, 2007 (edited) Please modify into stylesheet :text-align: center; (or in the file itself where it starts the css style declaration) And let me know, Cheers Fab No effect im afraid. It was already in the stylesheet. Here it is: /* Ajax Marquee */ #ajaxticker1{ width: 100%; height: 5px; border-bottom: none; border-top: none; padding: 2px; background-color: #FFFF99; text-align="center"; font: bold 13px Tahoma; } #ajaxticker1 div{ /*IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. Style inner DIV with same color as outer DIV*/ background-color: #FFFF99; text-align="center"; } AND here is the code in header.php: <?php } /* ADDED CODE BELOW FOR AJAX MARQUEE IN HEADER */ // BOF Scrolling Marquee if (AJAX_MARQUEE == 'true') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td> <?php include(DIR_WS_BOXES . 'ajax_ticker.php'); ?> </td> </tr> </table> <?php } else {} // EOF Ajax Marquee /* ADDED CODE ABOVE FOR AJAX MARQUEE IN HEADER */ if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> Edited December 6, 2007 by jarzom Quote
Freeman Posted December 6, 2007 Author Posted December 6, 2007 Hi Jar, see the difference: text-align: center; you typed (and it's still my error cuz i wrote it bad in the contribution stylesheet!) :blush: text-align="center"; Modify and it should work as expected, Cheers Fab No effect im afraid. It was already in the stylesheet. Here it is: /* Ajax Marquee */ #ajaxticker1{ width: 100%; height: 5px; border-bottom: none; border-top: none; padding: 2px; background-color: #FFFF99; text-align="center"; font: bold 13px Tahoma; } #ajaxticker1 div{ /*IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. Style inner DIV with same color as outer DIV*/ background-color: #FFFF99; text-align="center"; } AND here is the code in header.php: <?php } /* ADDED CODE BELOW FOR AJAX MARQUEE IN HEADER */ // BOF Scrolling Marquee if (AJAX_MARQUEE == 'true') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td> <?php include(DIR_WS_BOXES . 'ajax_ticker.php'); ?> </td> </tr> </table> <?php } else {} // EOF Ajax Marquee /* ADDED CODE ABOVE FOR AJAX MARQUEE IN HEADER */ if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 6, 2007 Posted December 6, 2007 Hi Jar,see the difference: text-align: center; you typed (and it's still my error cuz i wrote it bad in the contribution stylesheet!) :blush: text-align="center"; Modify and it should work as expected, Cheers Fab Hehehehe..... it works like a charm. Thanx alot man :-) Great contrib ! Quote
Freeman Posted December 24, 2007 Author Posted December 24, 2007 AJAX NEWSTICKER 1.1 --------------------------- This is the beauty of Osource :) Thanks to the user/modder of this handy script we've moved far from the start and now it's quite complete and useful for all! ------------------------------------------------------------------------------------------------------------------------------------------------ -Administration by Admin , you can modify the msg directly from the standard panel -Real Multilanguage (based on Define Mainpage addon-->Cred to the author and to GGbig that made the CRE version of this little handy script) -Updated and improved installation , divided between ADMIN and CATALOG to make it easyyyyyy to install ------------------------------------------------------------------------------------------------------------------------------------------------ Happy Xmas to everyone! Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 25, 2007 Posted December 25, 2007 AJAX NEWSTICKER 1.1--------------------------- This is the beauty of Osource :) Thanks to the user/modder of this handy script we've moved far from the start and now it's quite complete and useful for all! ------------------------------------------------------------------------------------------------------------------------------------------------ -Administration by Admin , you can modify the msg directly from the standard panel -Real Multilanguage (based on Define Mainpage addon-->Cred to the author and to GGbig that made the CRE version of this little handy script) -Updated and improved installation , divided between ADMIN and CATALOG to make it easyyyyyy to install ------------------------------------------------------------------------------------------------------------------------------------------------ Happy Xmas to everyone! Hi, and merry christmas I have installed you new version, and in in the Admin part i get: DEFINISCI TICKER File does not exist. Further more, it seems that it can't center again: /* Ajax Marquee */ #ajaxticker1{ width: 100%; height: 5px; border-bottom: none; border-top: none; padding: 2px; background-color: #ddc8aa; text-align: center; font: bold 13px Tahoma; } #ajaxticker1 div{ /*IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. Style inner DIV with same color as outer DIV*/ background-color: #ddc8aa; } Quote
Freeman Posted December 25, 2007 Author Posted December 25, 2007 Hi Jar, into admin/define_ticker.php mod this line : $HTTP_GET_VARS['filename'] = 'rugbysport.file'; // dans CATALOG changing the 'rugbysport.file' into 'tickercontent.ticker' About centering it should work the same as before since no changes on the css have been made. Can you please test and let me know? After fixing this i will re-up the fixed one :) Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
Freeman Posted December 25, 2007 Author Posted December 25, 2007 Also into stylesheet.css in Catalog mod the : #ajaxticker1{ Class to read : #ajaxticker (remove the number 1) let me know Cheers Fab Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 25, 2007 Posted December 25, 2007 Hi Fab. It works perfect now. I have made both changes, and everyting is fine now. Thanks man :-) Quote
jarzom Posted December 25, 2007 Posted December 25, 2007 Hi again. Is there a way to handle national characters like eq: æ Æ ø Ø å Å I have tried withe the corresponding html codes: Å big Å Å Å Æ big Æ Æ Æ Ø big Ø Ø Ø å small å å å æ small æ æ æ ø small ø ø ø Regards jarzom Quote
Freeman Posted December 25, 2007 Author Posted December 25, 2007 mmh....to be honest i don't know about it, that should be html related/cyrillic support.... a bit lost :P Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 25, 2007 Posted December 25, 2007 In the prior release. I just putted in the å in the text-string, and it worked. Maybe there is a way in the .php file where you can say that you would like the UTF-8 characterset ? jarzom Quote
Freeman Posted December 25, 2007 Author Posted December 25, 2007 (edited) Hi Jar, i can't reproduce the error....looks like it's working here also with Å stufff :P Edited December 25, 2007 by Freeman Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 26, 2007 Posted December 26, 2007 Hmmm... strange. I got the 〈 charater in all cases ?? Quote
jarzom Posted December 27, 2007 Posted December 27, 2007 I have found out what causes the error. It is the WYSIWYG Editor 1.7 that removes the: Å Æ Ø å æ ø If i edit directly in tickercontent.ticker (like the old days ;) ) i works perfect. I gues that i will keep on doing that . . . regards jarzom Quote
Freeman Posted December 28, 2007 Author Posted December 28, 2007 Hi Jar....sorry but still i have it working :( I tested and it works....no errors about wysiwyg....currently i'm not having it enabled in my installation :P Maybe that's why. Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 28, 2007 Posted December 28, 2007 (edited) he he he :D thats why, believe me ;) Edited December 28, 2007 by jarzom Quote
Freeman Posted December 29, 2007 Author Posted December 29, 2007 Hi Jar, so i assume you are using HTML area on your shop? Right? Then check the settings related to HTML area, i think you can still enter the symbols but directly from the HTMLAREA Toolbox and not typing directly into the Textarea (in this case it will not convert, just read as a normal text, and this is probably the reason because it's displaying like that), Cheers FAb Quote Advice on forum are Free, Email or Pm to fix your site is work...which I charge for :) -------------------
jarzom Posted December 30, 2007 Posted December 30, 2007 Hi, Fab. Nope ! im using WYSIWYG Editor 1.7 /jarzom Quote
data2700 Posted January 3, 2008 Posted January 3, 2008 (edited) Hi again. Is there a way to handle national characters like eq: æ Æ ø Ø å Å I have tried withe the corresponding html codes: Å big Å Å Å Æ big Æ Æ Æ Ø big Ø Ø Ø å small å å å æ small æ æ æ ø small ø ø ø Regards jarzom Unfortunately the only way I can get the international characters to work is by editing the file directly and using the HTML codes, but if you open the WYSWYG editor it will change your file BACK to the nonworking format. I am using the newsticker in the header so maybe the problem is that the header does not have UTF-8 capability? In either case, here is an example of my working tickercontent.ticker with an international character. <DIV class=message> <DIV class=message>Tack för att du handla hos oss! </DIV></DIV> It will display as: Tack för att du handla hos oss! If I change the tickercontent.ticker file and then open it in admin using the wyswyg editor I cannot use it. Hope someone posts a fix for this but the contribution is GREAT as it is and I don't mind the little extra work. Edited January 3, 2008 by data2700 Quote
data2700 Posted January 3, 2008 Posted January 3, 2008 How can I slow down the rate at which the text switches from one message to the next... I would like to allow my customers a little extra time to read the message but Im not sure where to make the change. Thanks again for a great contribution! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.