title: How to output 'Site Name' in Joomla 3.x with PHP?
body: <p>I've created a custom template for Joomla 3, but want to be able to dynamically output (or otherwise work with) the 'Site Name' - as defined in the Joomla administrative interface: <code>SYSTEM &gt; GLOBAL CONFIGURATION &gt; SITE &gt; SITE NAME</code>.</p>
  
  <p>I've accomplished something similar using JFactory / JInput in order to get the ItemID of the current page, but can't seem to determine the corresponding syntax for the Site Name.</p>
  
  <p>This is the code used in order to pull ItemID, for what little it's worth;</p>
  
  <pre><code>$jinput = JFactory::getApplication()-&gt;input;
  $Itemid = $jinput-&gt;get('Itemid');
  </code></pre>
  
  <p>Thanks in advance for any help anyone can provide.</p>