Warning: A skin using autodiscovery mechanism, Simple, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/docsj/public_html/includes/Skin.php at line 74] in /home/docsj/public_html/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, Standard, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/docsj/public_html/includes/Skin.php at line 74] in /home/docsj/public_html/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, jw_joomla, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/docsj/public_html/includes/Skin.php at line 74] in /home/docsj/public_html/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, Chick, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/docsj/public_html/includes/Skin.php at line 74] in /home/docsj/public_html/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, MySkin, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/docsj/public_html/includes/Skin.php at line 74] in /home/docsj/public_html/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, Nostalgia, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/docsj/public_html/includes/Skin.php at line 74] in /home/docsj/public_html/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, MonoBook-docs-j-org, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/docsj/public_html/includes/Skin.php at line 74] in /home/docsj/public_html/includes/debug/Debug.php on line 303
Difference between revisions of "Site (Application)" - Joomla! Documentation
 Actions

Difference between revisions of "Site (Application)"

From Joomla! Documentation

m (another tagged)
(Marked this version for translation)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
The '''Site''' [[S:MyLanguage/application]], also known as the '''''Front-end''''', is the main part of a Joomla website. This is where the general traffic occurs: when a visitor uses your site, he will be using the Site application. You can manipulate this (add/remove [[S:MyLanguage/content]], [[S:MyLanguage/Switching templates|switch templates]] etc.) from the [[S:MyLanguage/Administrator (Application)|Administrator application]]. Users with appropriate [[S:MyLanguage/:Category:Access Control|access levels]] will also be able to edit some aspects of the site from the Front-end.
+
<!--T:1-->
 +
The '''Site''' [[S:MyLanguage/application|application]], also known as the '''''Front-end''''', is the main part of a Joomla website. This is where the general traffic occurs: when a visitor uses your site, he will be using the Site application. You can manipulate this (add/remove [[S:MyLanguage/content|content]], [[S:MyLanguage/Switching templates|switch templates]] etc.) from the [[S:MyLanguage/Administrator (Application)|Administrator application]]. Users with appropriate [[S:MyLanguage/:Category:Access Control|access levels]] will also be able to edit some aspects of the site from the Front-end.
  
 +
<!--T:2-->
 
The Site application is implemented in the JSite class, which is a subclass of the generic JApplication. The JSite object can be retrieved in all versions that support JSite using the following code. The variable <code>$app</code> will be a JSite object when this code is run in the Site application.
 
The Site application is implemented in the JSite class, which is a subclass of the generic JApplication. The JSite object can be retrieved in all versions that support JSite using the following code. The variable <code>$app</code> will be a JSite object when this code is run in the Site application.
 
</translate>
 
</translate>
  
 
<translate>
 
<translate>
 +
<!--T:3-->
 
<source lang="php">$app = JFactory::getApplication();</source>
 
<source lang="php">$app = JFactory::getApplication();</source>
 
</translate>
 
</translate>
  
 
<translate>
 
<translate>
==Example==
+
==Example== <!--T:4-->
 
</translate>
 
</translate>
[[File:Home page example.png|frame|left|<center><translate>An example Home Page, the first page of the Site application</translate></center>]]
+
 
 +
[[<translate><!--T:7-->
 +
File:Home page example.png</translate>|left|<translate><!--T:5-->
 +
An example Home Page, the first page of the Site application</translate>]]
 
<translate>
 
<translate>
 +
<!--T:6-->
 
<noinclude>[[Category:Application]][[Category:Landing Pages]]</noinclude>
 
<noinclude>[[Category:Application]][[Category:Landing Pages]]</noinclude>
 
</translate>
 
</translate>

Latest revision as of 09:34, 25 June 2014

Other languages:
English • ‎español • ‎français • ‎Nederlands

The Site application, also known as the Front-end, is the main part of a Joomla website. This is where the general traffic occurs: when a visitor uses your site, he will be using the Site application. You can manipulate this (add/remove content, switch templates etc.) from the Administrator application. Users with appropriate access levels will also be able to edit some aspects of the site from the Front-end.

The Site application is implemented in the JSite class, which is a subclass of the generic JApplication. The JSite object can be retrieved in all versions that support JSite using the following code. The variable $app will be a JSite object when this code is run in the Site application.

$app = JFactory::getApplication();

Example

An example Home Page, the first page of the Site application