Joomla. Where article is outputed? - joomla

I'm new in Joomla and so need some help with basic.
I have write template for Joomla 1.7 and use it in such way:
Template have one position called "main".
I use custom HTML for building page structure and include modules with ModulesAnywhere plugin.
Now I have module which list all articles from category. When I click on the link I am redirecting to my_site/category/article_name. But where article text is outputed?
It seems like that it should be ouptuted in position. If so how could I dynamicly add this tag in my custom HTML?

The articles are showed by default (or any other component content)where this tag is located in your template:
<jdoc:include type="component" />
Normal content does not require any position like modules.

Related

Hello Guys I am new in joomla and I want to display search module in header using code

Hello I am new in Joomla and I need help
I just want to display my new module into my header.php file I try with
but I don't see any search form in my header. Can anyone help me step by step thanks in advance
Note: create new module from my Joomla admin using default search module new module name = Header Search Module
You need to use <jdoc:include type="modules" name="your-position-name" /> in the file you want to display that module. Have you tried this?

How to add share buttons in magento CMS pages?

I have created CMS pages in Magento and I want to share with Social site using share buttons Facebook, Twitter, Google+ so any one to tell me how to do that ?
Add this part to :
your_package/your_theme/template/page/html/head.phtml
before this line --> <?php echo $this->helper('core/js')->getTranslatorScript() ?>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "ur-c297c92f-9661-1cf3-697d-47c19ab7e281"});</script>
Add this part to your cms page :
<span class='st_facebook_hcount' displayText='Facebook'></span>
<span class='st_twitter_hcount' displayText='Tweet'></span>
<span class='st_googleplus_hcount' displayText='Google +'></span>
NOTE: using sharethis extension
You can check below URL for Addthis button, select style of button you want to share, grab the code and add that code to Magento Admin >> CMS >> Pages. click on to Html view of Editor and paste the code which you have grab from Addthis site, and you will see share buttons on front end. Another method is you can add this code to your template file commonly used for Example 1column.phtml is used for CMS pages and you need Share buttons on all CMS pages then you can paste the same code in .phtml template file.
Add this : https://www.addthis.com/get/sharing#.UK8_PoafHcc
Although this is an old thread i would like to share my answer which i found.
Add a meta tag in
template/page/html/head.phtml
<meta property="og:site_name" content="yoursite.com"/>
Create a Custom Variable from System/Custom Variables by pasting the Facebook sharing button code to Variable HTML Value.
To add like/share button to cms or static block, use the “Insert Variable” button to insert the Custom Variable you have just created.

Joomla 1.7: Order of modules on frontpage

I would like to configure my frontpage (default page). In Menu Manager I set Menu Item Type to "Featured articles". It's great. I have featured articles on my homepage. Now I want to show my special module only on my homepage. So I add new module in module manager and assign it to homepage. Yes, module is added. And this is problem. Module is added before Featured Articles.
I would like to change order of Featured Articles (Content Component) and Modules. Is it possible?
I think I can't change it in Joomla Back-end.
Thank you very much for reply
Oh, it's my mistake.
In my main template file index.php I have bad order of jos:include tags.
<jdoc:include type="component" />
<jdoc:include type="modules" name="left" style="mfPanel" headerLevel="2" />
First it must be component and then tag for modules.

Joomla 1.5 jdoc include type head works only on homepage?

I have a problem withjdoc include head. On any other page than Home, the <jdoc:include type="head" /> result is not complete, it does not include jQuery library etc. but only the title and favicon. Any idea how could I keep the JS libraries and all from jdoc head on all pages, not just the homepage ? I don't know why they get loaded on home but not on login for example, or search...
Thanks.
By default header in Joomla doesn't contain jQuery... It loads Mootools.
If you need to load jQuery you have to use a plugin like this one.

Designed template for Joomla is not showing the modules

I designed a template for Joomla 1.5 and problem is that it is not showing the modules enabled , for example I have created an article and it shows the title and body but it does not show the date or enabled plugins like JComment !!!
How can I fix this issue?
Solved. The problem was in the following tag:
<jdoc:include type="component" />
and XML file.

Resources