PDA

View Full Version : FIX: Rotating headlines for special and non-English characters


Micha
03-02-2007, 12:25 PM
To fix this you need to unpack headlinesFix.zip archive from attachment and upload via FTP to your web server, overwriting all the files that already exist there.

Next you need to edit your HTML_function.php.
Around line 2059, right after

if ($ajax){

add this line of code

$featured_news_HTML = '';

In your templates/style.css file you need to replace existing styles for headlines with this styles:

/********* HEADLINES BOX (styles for Ajax headline rotation ***********/

#headline { margin: 0px 6px 0px 6px;}

#headline_body{ height: 155px;}

#headline_body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
font-variant: normal;
line-height: 1.3em;
color: #333333;
padding-right: 5px;
}

#headline_image { margin: 0px 6px 0px 6px; border: none;}

.box_body {background-color: #ECECEC;}

.box_headline h2 {
color: #555555;
background-color: #ECECEC;
font-weight: bold;
font-size: 14px;
padding: 4px;
}

.headlineBox {
padding: 5px;
background-color: #ECECEC;
}


.player {
clear: both;
display: block;
background: url(../img/play_bg.gif) right no-repeat;
padding: 0px 0px 9px 0px;
*padding: 0px 0px 7px 0px;
}

.player span a {
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
padding-right: 6px;
margin-left: 280px;
}


This is tested in Internet Explorer 6, 7, Mozilla Firefox 2 and Opera 9.

90doksun
03-02-2007, 05:34 PM
Yes its working yet...

Fuzzy
03-26-2007, 08:43 AM
Hello, apology for my English.
It does not function! My side language is German.
I made http://www.vivvo.net/forums/showpost.php?p=1954&postcount=6 and implemented then this fixed. The news does not change automatically and forward and backwards functions also not.

clownroma
04-08-2007, 12:11 PM
java Player does not want to rotate news. Speaker error in the 84 line script error and need object. I corrected it as wrote Misha, but failed, it was one error after the player clicks on it anymore. As cure?

Micha
04-09-2007, 07:47 AM
This problem is fixed in 3.5 version and 3.5 upgrade, I recommend that you perform upgrade on your site, it should fix problem with your headlines.

clownroma
04-09-2007, 03:56 PM
I do java Player of the index.tpl header.tpl?

kerem
09-18-2007, 05:53 PM
hi, i have 3.51 but the same rotating problem occurs and my HTML_function.php does not have 2000 lines....