Customizing lonex free joomla templates
There are many web sites which provide free Joomla templates. But many of these themes are ugly when compared to commercial themes. But I found this site which provides impressive free templates http://www.lonex.com/content-management-system/joomla/templates/ .
Most of the free joomla templates available on the web contains annoying links on the home page which are linked to their developers. But these can be removed with your HTML and CSS knowledge and using a tool like Firebug.
But the template which I downloaded from above site had none of above problems when I was developing the site in localhost. But the trtrouble started when I hosted it in the server. It shows a link says free blog templated which links to their site.
I tried to located the html code which contains this message using firebug. But I cannot found it in template files. So I decided that this is created by a php script.
After sme inspection i found the following code in templates index.php file.
After commenting out the following php script the message disappeared.
Most of the free joomla templates available on the web contains annoying links on the home page which are linked to their developers. But these can be removed with your HTML and CSS knowledge and using a tool like Firebug.
But the template which I downloaded from above site had none of above problems when I was developing the site in localhost. But the trtrouble started when I hosted it in the server. It shows a link says free blog templated which links to their site.
I tried to located the html code which contains this message using firebug. But I cannot found it in template files. So I decided that this is created by a php script.
After sme inspection i found the following code in templates index.php file.
<div id="maincol<?php echo (2-$leftbar-$rightbar); ?>"> <div id="pathway"> <jdoc:include type="modules" name="breadcrumb" /> </div> <div id="maincol_body"> <jdoc:include type="component" /> <jdoc:include type="modules" name="footer" style="xhtml"/> <?php if(!@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?> <?php endif; ?> </div> </div>
After commenting out the following php script the message disappeared.
<?php // if(!@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?> <?php //endif; ?>
Congrats on this,you are amazing!
ReplyDeletethnx 4 u r tip
ReplyDelete