Updating Joomla Template from 1.0 to 3.9

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
Dayna Bedrosian
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Apr 30, 2013 2:21 pm

Updating Joomla Template from 1.0 to 3.9

Post by Dayna Bedrosian » Sun Oct 13, 2019 6:35 pm

I am working on trying to update a theme from 1.0 to 3.9, but the tutorial and the code aren't matching up.

It says to modify the templateDetails.xml file https://pastebin.com/6tATucPx I tried to do some modification to it, but it still doesn't seem right.

Then it said to modify the index.php file and again the structure doesn't follow what is said in the upgrade tutorial. https://pastebin.com/nXEe98KL

I am a bit confused and could use some direction. The doc that I am using to do the update is this. https://docs.joomla.org/Migrating_a_Tem ... 1.5_to_3.x

I really would appreciate any help.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22324
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, The Netherlands
Contact:

Re: Updating Joomla Template from 1.0 to 3.9

Post by pe7er » Mon Oct 14, 2019 4:01 pm

I would not modify the Joomla 1.0 templateDetails.xml (that uses outdated "mosinstall" tags)
but instead start with a copy the default Joomla 3.9 template "Protostar".

Or start with https://github.com/Bloggerschmidt/Blank or https://github.com/Bloggerschmidt/Blank ... ap-Edition
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
Co-developer of d2 Content https://data2site.com/joomla-extensions/d2-content

diaz365
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Thu Oct 03, 2019 3:41 pm
Contact:

Re: Updating Joomla Template from 1.0 to 3.9

Post by diaz365 » Wed Oct 16, 2019 4:51 pm

Dayna Bedrosian wrote:
Sun Oct 13, 2019 6:35 pm
I am working on trying to update a theme from 1.0 to 3.9, but the tutorial and the code aren't matching up.

It says to modify the templateDetails.xml file https://pastebin.com/6tATucPx I tried to do some modification to it, but it still doesn't seem right.

Then it said to modify the index.php file and again the structure doesn't follow what is said in the upgrade tutorial. https://pastebin.com/nXEe98KL

I am a bit confused and could use some direction. The doc that I am using to do the update is this. https://docs.joomla.org/Migrating_a_Tem ... 1.5_to_3.x

I really would appreciate any help.
looks like an old mambo xml template.

to install the template you need to update templateDetails.xml
you need edit xml files names of the items that make up the template.

and the index.php header etc..
this one works with joomla 3.9.11

you need to type out the files.
that go with the template including the images etc..
when you add module positions you need to add then to the to both the index.php and the
templateDetails.xml

I sell a tool the makes this easier in Adobe Dreamweaver.
The Joomla Template kit.
it's not for sale till later on this month.

it writes all the files in for you.
next your going to need a index.php
the header on the index,php needs to change.
and your css classes are not the same.

it's hard to type out the steps to a template upgrade.

Then you also need the CSS to match the new CSS.
this get long winded .

you also have to map to the joomla 3.9.11 /templates/folder-our-template
add your folder. your templates name.
add all the files,

once your login you need to install the base template.
which will not register.
login to the "back-end" yourjoomlaSite/administrator/

don't forget to add your template folder to the your-joomla-install/templates/your-templates name.

"Top menu administrator back-end"
extensions> manage> discover>
there you should see your template name which you added to templateDetails.xml file.
press on install top button.

you need to template.css also.
if you have Dreamweaver this could be done.
with-in minutes. template conversions.

use the header code from the index.php
and edit the xml to fit the images and css files.
etc..

sorry for not typing out he the full upgrade it takes steps and files.
I don't what editor your working with.

here is image code:
<img src="templates/<?php echo $this->template ?>/images/color swatches.png" width="282" height="149" />
make sure that you images are all in the images folder.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.1" type="template" client="site">
<name>fixtemplate</name>
<creationDate>2019/16/10</creationDate>
<author>Brian Diaz</author>
<authorEmail>sales@diaz365.com</authorEmail>
<authorUrl>http://www.diaz365.com</authorUrl>
<copyright>© copyright 1999-2019 DIAZ365</copyright>
<license>GNU/GPL</license>
<version>1.0.0</version>
<description>Base Master Template</description>
<files>
<filename>favicon.ico</filename>
<filename>index.html</filename>
<filename>index.php</filename>
<filename>J_CSS_Designer.html</filename>
<filename>template_preview.png</filename>
<filename>template_thumbnail.png</filename>
<filename>ver _3____J_CSS_Designer.html</filename>
<filename>css/com_ajax.css</filename>
<filename>css/com_banners.css</filename>
<filename>css/com_config.css</filename>
<filename>css/com_contact.css</filename>
<filename>css/com_content.css</filename>
<filename>css/com_contenthistory.css</filename>
<filename>css/com_fields.css</filename>
<filename>css/com_finder.css</filename>
<filename>css/com_mailto.css</filename>
<filename>css/com_media.css</filename>
<filename>css/com_menus.css</filename>
<filename>css/com_modules.css</filename>
<filename>css/com_newsfeeds.css</filename>
<filename>css/com_privacy.css</filename>
<filename>css/com_search.css</filename>
<filename>css/com_tags.css</filename>
<filename>css/com_users.css</filename>
<filename>css/com_wrapper.css</filename>
<filename>css/mod_articles_archive.css</filename>
<filename>css/mod_articles_categories.css</filename>
<filename>css/mod_articles_category.css</filename>
<filename>css/mod_articles_latest.css</filename>
<filename>css/mod_articles_news.css</filename>
<filename>css/mod_articles_popular.css</filename>
<filename>css/mod_banners.css</filename>
<filename>css/mod_breadcrumbs.css</filename>
<filename>css/mod_custom.css</filename>
<filename>css/mod_feed.css</filename>
<filename>css/mod_finder.css</filename>
<filename>css/mod_footer.css</filename>
<filename>css/mod_languages.css</filename>
<filename>css/mod_login.css</filename>
<filename>css/mod_menu.css</filename>
<filename>css/mod_random_image.css</filename>
<filename>css/mod_related_items.css</filename>
<filename>css/mod_search.css</filename>
<filename>css/mod_stats.css</filename>
<filename>css/mod_style_modules_wrapper.css</filename>
<filename>css/mod_syndicate.css</filename>
<filename>css/mod_tags_popular.css</filename>
<filename>css/mod_tags_similar.css</filename>
<filename>css/mod_users_latest.css</filename>
<filename>css/mod_whosonline.css</filename>
<filename>css/mod_wrapper.css</filename>
<filename>css/template.css</filename>
<filename>images/2019-10-03_13-24-34.png</filename>
<filename>images/arrow.png</filename>
<filename>images/bl_grey.gif</filename>
<filename>images/br_grey.gif</filename>
<filename>images/color swatches.png</filename>
<filename>images/indent1.png</filename>
<filename>images/indent2.png</filename>
<filename>images/indent3.png</filename>
<filename>images/indent4.png</filename>
<filename>images/index.html</filename>
<filename>images/mw_readon.png</filename>
<filename>images/mw_readon_rtl.png</filename>
<filename>images/spacer.png</filename>
<filename>images/tl_grey.gif</filename>
<filename>images/tr_grey.gif</filename>
</files>
<positions>
</positions>
</extension>

Code: Select all

<?php 
 // no direct access 
 defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" /> 
 <link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/system/css/system.css" type="text/css" /> 
 <link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/system/css/general.css" type="text/css" /> 
 <link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/template.css" type="text/css" /> 
<?php if($this->direction == 'rtl') : ?> 
 <link href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/template_rtl.css" rel="stylesheet" type="text/css" />
 <?php endif; ?>
</head>

<body> 
<jdoc:include type="component" />

</body>
</html>


Post Reply

Return to “Templates for Joomla! 3.x”