davioooh
davioooh

Reputation: 24696

joomla template conversion from 1.5 to 2.5

My company updated web-site based on Joomla 1.5 to 2.5 version, and now I need to convert template to fit with the new version.

I'm following this tutorial: http://magazine.joomla.org/issues/issue-may-2012/item/740-How-to-convert-Joomla-15-template-to-Joomla-25

I installed the converted version but there are some problems: only the header image is shown. All the articles are hidden.

Looking the source code of the page I discovered that all the <jdoc:include /> tags are copid in the returned HTML without being interpreted, so the components are not imported in the page.

Can you help me?


UPDATE

Turning on debug mode and error reporting an error message is shown:

Fatal error: Call to a member function getMessageQueue() on a non-object in /home/forup/httpdocs/jupgrade/templates/forup_25/functions.php on line 17

Upvotes: 1

Views: 2707

Answers (2)

QArea
QArea

Reputation: 4981

In your template php-function prints special tags of cms, like:

echo '<jdoc:include...'; or
print '<jdoc:include...';

Joomla can't process this output.

Upvotes: -2

Techie
Techie

Reputation: 45124

Replace: $mainframe->getMessageQueue(); 
With: JFactory::getApplication()->getMessageQueue(); 

This should help you : http://www.artisteer.com/?post_id=119930&p=forum_post&forum_id=20

Upvotes: 4

Related Questions