1. s_nieman
  2. Commercial Templates
  3. Thursday, 29 March 2012
  4.  Subscribe via email
Good day

I am using the Morpheus template for a design and have chosen to use an image rather than text in the logo position. The logo is displaying, but superimposed on top of the image is an error message:

Notice: Undefined variable: siteName in C:\wamp\www\trial\templates\j51_morpheus\index.php on line 76

Please help, what am I doing incorrectly?
Regards
Sharon
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Sharon

Try replacing the following at the top of your templates index.php (../templates/j51_morpheus/index.php)

<?php
defined('_JEXEC') or die;
JPlugin::loadLanguage( 'tpl_SG1' );
$path = $this->baseurl.'/templates/'.$this->template;
$app = JFactory::getApplication();
JHTML::_('behavior.mootools');
$app->getCfg('sitename');
?>


With....

<?php
defined('_JEXEC') or die;
$path = $this->baseurl.'/templates/'.$this->template;
$app = JFactory::getApplication();
JHTML::_('behavior.mootools');
define( 'Jmasterframework', dirname(__FILE__) );
$path = $this->baseurl.'/templates/'.$this->template;
$app = JFactory::getApplication();
$siteName = $this->params->get('siteName');
?>


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.