[solved] NFS class & id not whowing correct
Posted: Wed Jun 25, 2008 12:58 pm
i just found some... not errors, but something was missing from the code for class and id to function.
The problem was that if you enter class="something" or id="something" in the smarty tag, in the html code there was the last " missing, eg
was displayed instead of
.
For correcting this you have to go to /modules/NFS/action.default.php and in lines 297 to 315 you should change the code to
i hope it will be helpful.
The problem was that if you enter class="something" or id="something" in the smarty tag, in the html code there was the last " missing, eg
was displayed instead of
.
For correcting this you have to go to /modules/NFS/action.default.php and in lines 297 to 315 you should change the code to
Code: Select all
$css_class = '';
if(isset($params['class']) && $overwrite_params == false && $params['class'] != '')
$css_class = ' class="'.$params['class'].'"';
else
{
$scroll_class = $this->GetPreference('css_class', '');
if($scroll_class != '')
$css_class = ' class="'.$scroll_class.'"';
}
$css_id = '';
if(isset($params['id']) && $overwrite_params == false && $params['id'] != '')
$css_id = ' id="'.$params['id'].'"';
else
{
$scroll_id = $this->GetPreference('css_id', '');
if($this->GetPreference('css_id', '') != '')
$css_id = ' id="'.$scroll_id.'"';
}