Guest Posted February 5, 2005 Posted February 5, 2005 hi guys, i've downloaded the newsbox Contribute from Contributions. i did what they told me in the install and did the code changes manual and not changing files. everything went cool, i went to admin, changed the text and in the index page it didnt do nothing... no scrolling, no text no nothing.. any help ? Quote
c_karsan Posted February 7, 2005 Posted February 7, 2005 I gave up with the admin tool and just edited the mainnews.php manually . I have another problem that the newsscroller occasionally is jerking - (scrolling up to a height then bouncing of approximately the centre of the newsbox), I read somewhere else this may be browser/javascript related if it is, is there anything I can do about this? Also on loading the initial page the newsscroller doesn't scroll but starts scrolling after a page refresh. This isn't so bad it's the jerking motion which is the main problem. Im now having second thoughts with this contrib but I'd love to have similar if theres something out there Quote The sooner you fall behind, the more time you'll have to catch up.
Guest Posted March 14, 2005 Posted March 14, 2005 I gave up with the admin tool and just edited the mainnews.php manually . I have another problem that the newsscroller occasionally is jerking - (scrolling up to a height then bouncing of approximately the centre of the newsbox), I read somewhere else this may be browser/javascript related if it is, is there anything I can do about this? Also on loading the initial page the newsscroller doesn't scroll but starts scrolling after a page refresh. This isn't so bad it's the jerking motion which is the main problem. Im now having second thoughts with this contrib but I'd love to have similar if theres something out there <{POST_SNAPBACK}> I'm having the same problem with the jumping text at times. Anyone have any ideas how to fix it? Thanks Tom Quote
Guest Posted March 14, 2005 Posted March 14, 2005 I'm having the same problem with the jumping text at times. Anyone have any ideas how to fix it? Thanks Tom <{POST_SNAPBACK}> I believe I found the problem with My news Feed causing the jerking text In your catalog/mainnews.php arround line 30 find the following which is right below window.onload=initialize </script> Delete the following text from Mainnews.php <script language='javascript'>postamble(); </script> <script language='javascript'>postamble(); </script> <script language='javascript'>postamble(); </script> <script language='javascript'>postamble(); </script> <script language='javascript'>postamble(); </script> <script language='javascript'>postamble(); </script> <script language='javascript'>postamble(); </script> This will hopefully solve your problem as did mine. As always dont forget to back up the file Thanks Tom T Quote
c_karsan Posted April 21, 2005 Posted April 21, 2005 Cheers tom but I didnt have that code in my mainnews.php here is a copy of my file: <html> <body> <div id="datacontainer" style="position:absolute;left:0;top:10;width:100%" onMouseover="scrollspeed=-1" onMouseout="scrollspeed=cache"> <!-- ADD YOUR SCROLLER COMMENT INSIDE HERE---------------------> <br><br><br><br><br><br><br> <font face="arial" size="2"> <p align="center"><b> Gadgets<i>Quick</i></b></p></font><br><br><br><br> <font face="arial" size="2"><p><b><li>Free & fast UK delivery all items </b></p></font><p> <font face="arial" size="2"> Think GadgetsQuick when buying your next gadget, gizmo or gift Online. <li>Great Service and fast delivery, <li> Continually growing product range <li> Offers & Bargains galore. </p><p> Theres no need to sign up to anything to purchase from us! </p><p><b>Please note: We send items only <u>within the UK</u></b> </font></p> <font face="arial" size="2"><p><b>You can also browse our catalogue off-line and/or print it off! - click on downloadable catalogue (right column) <br><br><br><br><br><br><br><br><br><br></p> <!-- END SCROLLER CONTENT----------------------------------------> </div> <script language="JavaScript1.2"> //Specify speed of scroll. Larger=faster (ie: 5) window.onload=initialize var scrollspeed=cache=1 function initialize() { marqueeheight=document.all? parent.document.all.datamain.height : parent.document.getElementById("datamain").getAttribute("height") dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer") dataobj.style.top=5 thelength=dataobj.offsetHeight scrolltest() } function scrolltest(){ dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed if (parseInt(dataobj.style.top)<thelength*(-1)) dataobj.style.top=5 setTimeout("scrolltest()",50) } </script> </body> </html> I've got around the spontaneous jerking on loading by putting a lot of breaks in before the 1st line of text (so it looks like there is no news!) so if it jerking then its happening out of view! - then on any screen refresh the jerking would stop and news would scroll. What can I say, its an eyecatching feature of my site and it is easily editable (i got it to work in my admin section too). Cheers Chet Quote The sooner you fall behind, the more time you'll have to catch up.
warrenthewindmill Posted July 6, 2005 Posted July 6, 2005 Has anyone found a solution to the jerking problem with this contrib. I need a newsbox but this one is not working properly. Any news in the box just judders gently up and down and goes nowhere Quote
Zeak_ Posted August 8, 2005 Posted August 8, 2005 Hi I've followed the installation for the newsbox. In my catalogue view the box exists, but displays only the "forbidden" error. In the admin section, if I click "Define main news" I get the following message: TEXT_FILE_DOES_NOT_EXIST I've reset permissions on mainnews.php in the catalogue folder to no effect. Any ideas or suggestions? I'd prefer not to have to edit mainnews.php manually. Ta Adam Quote
Zeak_ Posted August 8, 2005 Posted August 8, 2005 Okay Managed to get rid of the issue on the admin side by copying mainnews.php to /catalogue/includes/languages/english/mainnews.php Still getting the following error in the actual newsbox tho': Forbidden You don't have permission to access /cart/includes/languages/english/mainnews.php on this server. ... and that's after changing the permissions. Any ideas? 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.