Additional Style Sheet (CSS) add into website layout.
Put this code into module template file (../tmpl/default.php)
<?php $document =& JFactory::getDocument();
$document->addStyleSheet(‘modules/mod_focus/css/abc.css’);
?>
Additional Style Sheet (CSS) add into website layout.
Put this code into module template file (../tmpl/default.php)
<?php $document =& JFactory::getDocument();
$document->addStyleSheet(‘modules/mod_focus/css/abc.css’);
?>
JavaScript লিখে লিখে কোনো Function কে তৈরি করার থেকে JQuery লাইব্রেরী ব্যবহার করা অনেক সোজা ও সময় কম লাগে । JQuery ব্যবহার করে Dropdown, Transition, Slideshow, mouse hover effect ও ইউজার ইনটারঅ্যাকটিভ [User interactive]ওয়েবসাইট খুব সহজেই তৈরি করা যায় ।
JQuery কিভাবে ব্যবহার করবেন ? ব্যবহার করা খুব সোজা ।
নিচের নমুনা উদাহরণটি দেখুন, একটি ওয়েব পেজে কিভাবে JQuery ব্যবহার করবেন —
<div id=”heading”>Hover to Show Message</div>
<div id=”message”>Message</div>
<script>
$(document).ready(function(){
$(‘#heading’).hover(function(){
$(‘#message’).slideDown(‘slow’);
});
});
</script>
1. Count the modules
$this->countModules()
<?php if($this->countModules('left')) { ?>
<div id="left"><jdoc:include type="modules" name="left" /></div>
<?php } ?>
2. Checking for the frontpage
JOOMLA! 2.5.7 TEMPLATE DESIGN
JOOMLA! 2.5.7 simple Template making is very easy but advance template design like responsive template design is a bit difficult and challanging. At first you need to collect some information and the you can proceed to build advance template.
there are lots of Joomla! Platform classes and can use them in your advance template. also you can use JQUARY , mootools library to perfrom diffrent operation like dropdown ,hover, slideshow mechanism etc.
JOOMLA! 2.5.7 module design
Beautiful joomla module with beautiful display block ( layout design with CSS ) and realistic code which is realy attractive and helpful to user i.e like latest articles, popular article, popup login block, dropdown menu system, rotating news ticker etc. Thease module gives your website more user friendly.
So Beautiful JOOMLA! module design is an art and challanging job to meet the user requirement. So commercial significance of good and useful module design is increasing day by day.
JOOMLA! Component Building
All Joomla! extensions must be packaged as a .zip installation file .According to the most common file arrangement, the package should contain at least the following two folders as a basic structure: