I notice that when using custom template, jseblod is trying to create "index_jseblod000.php" files in template folder then delete them later. But this action increase the server load and my hosting wanna kick me because of this.
I tried to modify the file "plugins/content/cckjseblod.php" which i removed the "index_jseblod000.php" creation and deletion section. Then tried to modify to let it call from the actual file e.g. index.php/index2.php. But don't know why this work only on the first item. The rest is missing from the website. Any suggestion? Anyway to avoid creating "index_jseblod000.php"?
Here's some code that i modified in "plugins/content/cckjseblod.php"
if ( $doRm == 1 && JFile::exists( JPATH_SITE.DS.'templates'.DS.$template.DS.'index2.php' ) ) {
$file = 'index2';
$fileToCopy = JPATH_SITE.DS.'templates'.DS.$template.DS.'index2.php';
$fileToRender = JPATH_SITE.DS.'templates'.DS.$template.DS.'index2.php';
} else {
$file = 'index';
$fileToCopy = JPATH_SITE.DS.'templates'.DS.$template.DS.'index.php';
$fileToRender = JPATH_SITE.DS.'templates'.DS.$template.DS.'index.php';
}
// $fileToRender = JPATH_SITE.DS.'templates'.DS.$template.DS.$file.'.php';
// if ( JFile::exists( $fileToCopy ) ) {
// JFile::copy( $fileToCopy, $fileToRender );
// }
// if ( JFile::exists( $fileToRender ) ) {
// JFile::delete( $fileToRender );
// }
My site is hxxp://horpakkhonkaen.com/
The orange banner suppose to have 15 more banner. But with the modification above, only that one displayed.