Talk:Upgrading a Joomla 1.5 template to Joomla 2.5
Andrecolbert (Talk | contribs) (→confusing sentence) |
Andrecolbert (Talk | contribs) (→Sitename File not referenced) |
||
| Line 18: | Line 18: | ||
== '''Sitename File not referenced''' == | == '''Sitename File not referenced''' == | ||
| − | The updated syntax below fails to | + | The updated syntax below fails to provide a file reference: |
<?php echo $mainframe->getCfg('sitename');?> is now $app->getCfg('sitename'); Where $app = JFactory::getApplication(); | <?php echo $mainframe->getCfg('sitename');?> is now $app->getCfg('sitename'); Where $app = JFactory::getApplication(); | ||
| + | |||
| + | == Error Codes == | ||
| + | |||
| + | The updated syntax below also fails to provide a file reference: | ||
| + | |||
| + | $this->error->code is replaced by $this->error->getCode(); | ||
| + | $this->error->message is replaced by $this->error->getMessage(); | ||
Revision as of 06:51, 21 October 2011
Hello!
I'm currently converting my joomla 1.5 template to 1.6... And i use Imagelist as a param, for copyright image!
Unfortunatly, it somehow puts: images/stories, infront of my urls. So default or any other image won't work.
And stories folder is removed in joomla 1.6
Hope someone reads this. I see it as a minor bug. But i could be nice, if it could be corrected before final release in five days :)
confusing sentence
The wording in the following sentence needs improving. It doesn't make sense.
<fieldset name="basic"> wraps the parameters in a slider and using name="basic" labels that slider as "Basic Options" and name="advanced" labels it as "Advanced Options".
Sitename File not referenced
The updated syntax below fails to provide a file reference:
<?php echo $mainframe->getCfg('sitename');?> is now $app->getCfg('sitename'); Where $app = JFactory::getApplication();
Error Codes
The updated syntax below also fails to provide a file reference:
$this->error->code is replaced by $this->error->getCode(); $this->error->message is replaced by $this->error->getMessage();