1.Phoco gallery component
Download it and go to components + phoco gallery
add category then click on images then click on "new" (for only single image ) or click on "multiple add (morethan one image)" then select the category what u are created before by u ,then create folder then click on what folder u have benn created then u see browse button , add images then check mark the images then click on "save" ,u can see the proccessing is going on it means images are add to images folder with your spicified category... so finally if u want to create the menu link for this goto menus+main menu+new+phocogallery+phoco gallery category layout+ give name for ur menu link title+select category..
thats it for sunday ....
2.How to increse the meomary allocation while we get the fatal error?
Goto wamp/www/joomla/configuration.php
add the following line in line no 2
ini_set('memory_limit', '512M' );
thats it for great sunday...
3.How to clear the cache in joomla?
Goto site+global config+system
you can see "cache settings" then put cache time in zero then click on save ,,you done it
4.How to use two template , one is only for for home page and another one is main or actual template?
Actually we can use first template is for particular for home page with look good with pure HTML and CSS or use Flash (here u notice that u must follow the folder structure of general joomla template like index.php, templatedetails.xml and so on) but we can not use php code in index.php generally, seceond template is look like general template and this is our main template , so how to activtae both., just goto admin back end of joomla+Extensions+template manager+click on first template + check mark the "select from list"+click on "Home" +"save"(you can notice that assigned symbol in front of first template ) then put the second template as "default".
But u have to notice importent things are in first template of menu links href address goes to second template of menu links, are u got it...
For more details watch http://www.seodirectoryinfo.com/church/
5.K2 Component
you can learn more things about K2 component using following links
http://getk2.org/
http://www.writingyourdreams.com/tips-and-tutorials/components/k2-cck-tutorials/part-3k2-layout/item/73
http://www.ostraining.com/blog/joomla/k2/
http://www.writingyourdreams.com/tips-and-tutorials/components/k2-cck-tutorials/part-1overview
for demo watch http://www.seodirectoryinfo.com/church/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=7&Itemid=64
you have modules of k2 in modules section for exaple for the purpose of lateset or recent ones as a block
6. Create form using perform component in joomla?
you can learn more things using following links
http://needforcontent.com/how-to-create-a-custom-web-form-in-joomla/
http://www.redbridgenet.com/how-to/how-to-install-joomla-performs-component/
7.How to add the add-on "insert a new module" inside every article and so on?
Just install the plug-in called "modulesanywhere".."Joomla(root is our site)/plugins/editors-xtd/modulesanywhere.php",
you can download this plug-in http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/6402
8.How to enable the "Clean urls" or "SEF URL" ?
In drupal this is clean urls,in joomla this is SEF url,i.e Search Engine Friendly, for this u have to go for "site+global config+seo settings"
put "on", be take care that u have to follow some rules and regulations before click on button ,that rules are
in "apache" server u have to enable "mod_rewrite=on"
for more details watch http://www.scribd.com/doc/2300167/Joomla-v-15-Configure-and-troubleshoot-SEF-URLs
9.How can we see the template positions/modules in our site?
You can select a Position from the drop-down list box. The Positions in the list box are those provided by your Template. You can see the available Positions on the page by adding the letters "?tp=1" to the end of any front-end Joomla! URL. For example, if your home page is "www.mysite.com", you can type the URL "www.mysite.com?tp=1". The page will display with labeled rectangles indicating each pre-defined Position for the current Template.
10.How do i change the default article styles using template override?
1.create folder "html" in "your template" and inside "html " folder create one folder , called" com-content"
2.copy the "aticle and category and section and front page folders from com_content +views"
3.goto our site ,click on "inspect element" and see the what styles are applied to the article, so goto " .css" file and add the styles what u need.
http://www.form2content.com/f2c-joomla/pro/f2c-tutorials/73-create-a-template-override-for-the-front-end-article-manager
http://www.spiralscripts.co.uk/Joomla-Tips/using-template-overriding-with-joomla.html
http://www.scribd.com/doc/2300107/Joomla-v-1-5-Getting-Started-with-Template-Overrides
http://www.joomlajumpstart.com/frequently-asked-questions-faqs/8-increase-fontsize-editor
http://www.joomlageeks.com/joomla-blog/item/14-template-override-in-joomla
http://joomlaengineering.com/tips-tricks/creating-a-core-output-override-in-construct-unified-for-joomla-16-and-molajo
http://www.scribd.com/doc/2300042/Joomla-v-15-How-to-modify-the-default-Template
http://forum.joomla.org/viewtopic.php?p=2332399
http://www.spiralscripts.co.uk/Joomla-Tips/using-template-overriding-with-joomla.html
http://docs.joomla.org/Component_parameters
http://www.form2content.com/f2c-joomla/pro/f2c-tutorials/73-create-a-template-override-for-the-front-end-article-manager
http://newtojoomla.com/pages/visual/override_footer/index.htm
10.Joomla template tutorial?
http://www.scribd.com/doc/26709558/Joomla-Template-Tutorial
http://www.scribd.com/doc/7548723/Joomla-Template-Tutorial-
11.component development?
http://docs.joomla.org/Developers
12.How to write split menu/ sub menu in joomla?
http://docs.joomla.org/Developers
like below coding
<div id="header">
<div class="logo">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<h1><a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a></h1>
</td>
</tr>
</table>
</div>
<div id="menu"><jdoc:include type="modules" name="user3" /></div>
<div id="search"><jdoc:include type="modules" name="user4" /></div>
</div>
in above code, <div id="header"> have one image inside the css code, so we can put two modules inside this image ,the modules are menu and search
for more details click on below link and download the template
http://www.siteground.com/template-preview/joomla/siteground-j15-188#
14.How to see the database name of our joomla site/project?
goto config.hp in our project folder
then you can see var $db = 'joomlapractice';
here joomlapractice is database name of our site
It is the problem on we are not giving the space and condition in index.php in template, so we have to add the followimg code in after the start of div tag
<?php
if($_REQUEST['view'] == 'article' || $_REQUEST['view'] == 'item' || $_REQUEST['view'] == 'category'){ ?>
<jdoc:include type="component" />
<?php }else{ ?>
and below code is before the end of div tag
<?php } ?>
i.e when ever click on link the content belonged link is diplayed in between the div tags area what div tag area we have mentioned,
17.How do i add one more field for one component in backend administration and update in database then show in front end?
Here is for com_eventlist component
1.Phpmyadmin add one more field in table
2./administrator/components/com_eventlist/models/event.php
/administrator/components/com_eventlist/tables/eventlist_events.php
/administrator/components/com_eventlist/views/event/tmpl/default.php
/administrator/language/en-GB/en-GB.com_eventlist.ini(may be not required)
/components/com_eventlist/models/details.php
/components/com_eventlist/views/details/tmpl/default.php
/components/com_eventlist/views/editevent/tmpl/default.php(if required)
/language/en-GB/en-GB.com_eventlist.ini(may be not required)
18.How can we include the different styles, modules for only home page ?
in index.php we need to add this code in top
<?php
// This is the content of index.php in the root of your template directory
defined( '_JEXEC' ) or die( 'Restricted access' );
$CssDir = $this->baseurl . '/templates/templatename/css';
$defaultMenu = JFactory::getApplication()->getMenu()->getDefault()->id;
$currentMenu = JFactory::getApplication()->getMenu()->getActive()->id;
if($defaultMenu == $currentMenu){
$bodyId = 'id="home"';
$homePage = true;
}else{
$bodyId = '';
$homePage = false;
}
?>
And here is the condition
<?php if($homePage == true)
{
print 'Ilovedravid';
or <jdoc:include type="modules" name="top" />
<
} ?>
Another way:
19.How to add the styles in joomla templae index.php based on condition?
http://docs.joomla.org/Multiple_layouts_with_one_template
http://docs.joomla.org/Creating_a_basic_Joomla!_template
http://docs.joomla.org/JDocumentHTML/countModules
Download it and go to components + phoco gallery
add category then click on images then click on "new" (for only single image ) or click on "multiple add (morethan one image)" then select the category what u are created before by u ,then create folder then click on what folder u have benn created then u see browse button , add images then check mark the images then click on "save" ,u can see the proccessing is going on it means images are add to images folder with your spicified category... so finally if u want to create the menu link for this goto menus+main menu+new+phocogallery+phoco gallery category layout+ give name for ur menu link title+select category..
thats it for sunday ....
2.How to increse the meomary allocation while we get the fatal error?
Goto wamp/www/joomla/configuration.php
add the following line in line no 2
ini_set('memory_limit', '512M' );
thats it for great sunday...
3.How to clear the cache in joomla?
Goto site+global config+system
you can see "cache settings" then put cache time in zero then click on save ,,you done it
4.How to use two template , one is only for for home page and another one is main or actual template?
Actually we can use first template is for particular for home page with look good with pure HTML and CSS or use Flash (here u notice that u must follow the folder structure of general joomla template like index.php, templatedetails.xml and so on) but we can not use php code in index.php generally, seceond template is look like general template and this is our main template , so how to activtae both., just goto admin back end of joomla+Extensions+template manager+click on first template + check mark the "select from list"+click on "Home" +"save"(you can notice that assigned symbol in front of first template ) then put the second template as "default".
But u have to notice importent things are in first template of menu links href address goes to second template of menu links, are u got it...
For more details watch http://www.seodirectoryinfo.com/church/
5.K2 Component
you can learn more things about K2 component using following links
http://getk2.org/
http://www.writingyourdreams.com/tips-and-tutorials/components/k2-cck-tutorials/part-3k2-layout/item/73
http://www.ostraining.com/blog/joomla/k2/
http://www.writingyourdreams.com/tips-and-tutorials/components/k2-cck-tutorials/part-1overview
for demo watch http://www.seodirectoryinfo.com/church/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=7&Itemid=64
you have modules of k2 in modules section for exaple for the purpose of lateset or recent ones as a block
6. Create form using perform component in joomla?
you can learn more things using following links
http://needforcontent.com/how-to-create-a-custom-web-form-in-joomla/
http://www.redbridgenet.com/how-to/how-to-install-joomla-performs-component/
7.How to add the add-on "insert a new module" inside every article and so on?
Just install the plug-in called "modulesanywhere".."Joomla(root is our site)/plugins/editors-xtd/modulesanywhere.php",
you can download this plug-in http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/6402
8.How to enable the "Clean urls" or "SEF URL" ?
In drupal this is clean urls,in joomla this is SEF url,i.e Search Engine Friendly, for this u have to go for "site+global config+seo settings"
put "on", be take care that u have to follow some rules and regulations before click on button ,that rules are
in "apache" server u have to enable "mod_rewrite=on"
for more details watch http://www.scribd.com/doc/2300167/Joomla-v-15-Configure-and-troubleshoot-SEF-URLs
9.How can we see the template positions/modules in our site?
You can select a Position from the drop-down list box. The Positions in the list box are those provided by your Template. You can see the available Positions on the page by adding the letters "?tp=1" to the end of any front-end Joomla! URL. For example, if your home page is "www.mysite.com", you can type the URL "www.mysite.com?tp=1". The page will display with labeled rectangles indicating each pre-defined Position for the current Template.
10.How do i change the default article styles using template override?
1.create folder "html" in "your template" and inside "html " folder create one folder , called" com-content"
2.copy the "aticle and category and section and front page folders from com_content +views"
3.goto our site ,click on "inspect element" and see the what styles are applied to the article, so goto " .css" file and add the styles what u need.
http://www.form2content.com/f2c-joomla/pro/f2c-tutorials/73-create-a-template-override-for-the-front-end-article-manager
http://www.spiralscripts.co.uk/Joomla-Tips/using-template-overriding-with-joomla.html
11.Template override concept Ref.sites?
http://blog.joomlabear.com/changing-font-joomla-template/http://www.scribd.com/doc/2300107/Joomla-v-1-5-Getting-Started-with-Template-Overrides
http://www.joomlajumpstart.com/frequently-asked-questions-faqs/8-increase-fontsize-editor
http://www.joomlageeks.com/joomla-blog/item/14-template-override-in-joomla
http://joomlaengineering.com/tips-tricks/creating-a-core-output-override-in-construct-unified-for-joomla-16-and-molajo
http://www.scribd.com/doc/2300042/Joomla-v-15-How-to-modify-the-default-Template
http://forum.joomla.org/viewtopic.php?p=2332399
http://www.spiralscripts.co.uk/Joomla-Tips/using-template-overriding-with-joomla.html
http://docs.joomla.org/Component_parameters
http://www.form2content.com/f2c-joomla/pro/f2c-tutorials/73-create-a-template-override-for-the-front-end-article-manager
http://newtojoomla.com/pages/visual/override_footer/index.htm
10.Joomla template tutorial?
http://www.scribd.com/doc/26709558/Joomla-Template-Tutorial
http://www.scribd.com/doc/7548723/Joomla-Template-Tutorial-
11.component development?
http://docs.joomla.org/Developers
12.How to write split menu/ sub menu in joomla?
http://docs.joomla.org/Developers
13.How to put the module or small text content inside the image?
like below coding
<div id="header">
<div class="logo">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<h1><a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a></h1>
</td>
</tr>
</table>
</div>
<div id="menu"><jdoc:include type="modules" name="user3" /></div>
<div id="search"><jdoc:include type="modules" name="user4" /></div>
</div>
in above code, <div id="header"> have one image inside the css code, so we can put two modules inside this image ,the modules are menu and search
for more details click on below link and download the template
http://www.siteground.com/template-preview/joomla/siteground-j15-188#
14.How to see the database name of our joomla site/project?
goto config.hp in our project folder
then you can see var $db = 'joomlapractice';
here joomlapractice is database name of our site
15.supppose we enable some template for particular menu(ex:NRI menu) instead of default template , in this after template conversion for particular menu and put content, after that we click on link on title or read more , some cases content not displayed and page not redirected , so what is the problem regarding this and what should we do?
It is the problem on we are not giving the space and condition in index.php in template, so we have to add the followimg code in after the start of div tag
<?php
if($_REQUEST['view'] == 'article' || $_REQUEST['view'] == 'item' || $_REQUEST['view'] == 'category'){ ?>
<jdoc:include type="component" />
<?php }else{ ?>
and below code is before the end of div tag
<?php } ?>
i.e when ever click on link the content belonged link is diplayed in between the div tags area what div tag area we have mentioned,
16.what is &Itemid=41 in URL of joomla?
http://www.alledia.com/blog/joomla-urls/joomla-url-week-part-1-default-joomla-urls/17.How do i add one more field for one component in backend administration and update in database then show in front end?
Here is for com_eventlist component
1.Phpmyadmin add one more field in table
2./administrator/components/com_eventlist/models/event.php
/administrator/components/com_eventlist/tables/eventlist_events.php
/administrator/components/com_eventlist/views/event/tmpl/default.php
/administrator/language/en-GB/en-GB.com_eventlist.ini(may be not required)
/components/com_eventlist/models/details.php
/components/com_eventlist/views/details/tmpl/default.php
/components/com_eventlist/views/editevent/tmpl/default.php(if required)
/language/en-GB/en-GB.com_eventlist.ini(may be not required)
18.How can we include the different styles, modules for only home page ?
in index.php we need to add this code in top
<?php
// This is the content of index.php in the root of your template directory
defined( '_JEXEC' ) or die( 'Restricted access' );
$CssDir = $this->baseurl . '/templates/templatename/css';
$defaultMenu = JFactory::getApplication()->getMenu()->getDefault()->id;
$currentMenu = JFactory::getApplication()->getMenu()->getActive()->id;
if($defaultMenu == $currentMenu){
$bodyId = 'id="home"';
$homePage = true;
}else{
$bodyId = '';
$homePage = false;
}
?>
And here is the condition
<?php if($homePage == true)
{
print 'Ilovedravid';
or <jdoc:include type="modules" name="top" />
<
} ?>
Another way:
$option = JRequest::getCmd('option');
$view = JRequest::getCmd('view');
$frontpage = ($option == 'com_content' && $view == 'featured')
$is_article = ($option == 'com_content');
if ($is_article && !$frontpage)
{
// ...
}
19.How to add the styles in joomla templae index.php based on condition?
<style type="text/css">
/*<![CDATA[*/
<?php if ($pageview == 'section') && ($pageid == '12') {
echo '#content{background-color: red;}'
}
?>
/*]]>*/
</style>
20.Joomla template techniques?
http://docs.joomla.org/Multiple_layouts_with_one_template
http://docs.joomla.org/Creating_a_basic_Joomla!_template
http://docs.joomla.org/JDocumentHTML/countModules