Upgrading Joomla 1.5 Template to Joomla 1.6

1 view
Skip to first unread message

Matt Thomas

unread,
May 20, 2010, 8:00:31 AM5/20/10
to joomla-de...@googlegroups.com
Hi Everyone,

Since there now may be a flurry of activity regarding all things 1.5 to 1.6, I thought it may be helpful to start a thread devoted to upgrading 1.5 templates to 1.6. Ultimately, I'd like to flush out what we can to complete the tutorial at http://docs.joomla.org/Tutorial:Upgrade_Joomla_1.5_Template_to_Joomla_1.6

I started looking at the 1.6 templateDetails.xml file last night and the big change that I see are with the way parameters are handled. They now understandably are included as part of <config> as follows:

    <config>
        <fields name="params">
            <fieldset name="basic">
                <field name="" type=" default="" label="" description=".">
                    <option value="1">On</option>
                    <option value="0">Off</option>
                </field>
                <field name="" type="" default="" label="e" description="" />
            </fieldset>
        </fields>
    </config>


<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". Are there any other option names?

I also noticed that it appears, and I may be wrong, that manually installing a template is different, and although using Discover (Extension Manager -> Discover -> Discover) detects a template, it doesn't seem to add it to the style list. Is this correct or am I missing something?

Thanks for any help that anyone can offer to documenting this. I know that it will be a big topic.

Best,

Matt

Matt Thomas
Founder - betweenbrain
web • print • identity • creative
www.betweenbrain.com

betweenbrain at The Joomla! Resources Directory™ - http://betweenbra.in/resources

Joomla! 1.6 Beta1 Download http://betweenbra.in/x/6

Joomla! 1.6 Issue Tracker http://betweenbra.in/x/5

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.

elin

unread,
May 20, 2010, 8:44:46 AM5/20/10
to Joomla! General Development
The style insertion issue was in the tracker and I thought Andrew had
fixed it. If it is still an issue can you reopen or start a new one
please?

Elin

On May 20, 8:00 am, Matt Thomas <m...@betweenbrain.com> wrote:
> Hi Everyone,
>
> Since there now may be a flurry of activity regarding all things 1.5 to 1.6,
> I thought it may be helpful to start a thread devoted to upgrading 1.5
> templates to 1.6. Ultimately, I'd like to flush out what we can to complete
> the tutorial athttp://docs.joomla.org/Tutorial:Upgrade_Joomla_1.5_Template_to_Joomla...
> Joomla! 1.6 Issue Trackerhttp://betweenbra.in/x/5

Andrea Tarr at Tarr Consulting

unread,
May 20, 2010, 8:45:22 AM5/20/10
to joomla-de...@googlegroups.com

I know that was an issue at one point. It worked fine doing a full install but the discover install was missing that step. If it’s still not working, could you add to the issue tracker? Thanks,

Andy

 


Matt Thomas

unread,
May 20, 2010, 8:59:48 AM5/20/10
to joomla-de...@googlegroups.com
This is what I'm seeing (attached). I'll be happy to open / re-open a tracker issue if it's not right.

Thanks!


Matt

Matt Thomas
Founder - betweenbrain
web • print • identity • creative
www.betweenbrain.com
203.632.9322


betweenbrain at The Joomla! Resources Directory™ - http://betweenbra.in/resources

Joomla! 1.6 Beta1 Download http://betweenbra.in/x/6

Joomla! 1.6 Issue Tracker http://betweenbra.in/x/5



j16-geshi.png

Rimas Kudelis

unread,
May 28, 2010, 6:58:12 AM5/28/10
to joomla-de...@googlegroups.com
Hello Matt,


2010.05.20 15:00, Matt Thomas rašė:
> Since there now may be a flurry of activity regarding all things 1.5
> to 1.6, I thought it may be helpful to start a thread devoted to
> upgrading 1.5 templates to 1.6. Ultimately, I'd like to flush out what
> we can to complete the tutorial at
> http://docs.joomla.org/Tutorial:Upgrade_Joomla_1.5_Template_to_Joomla_1.6

I just checked this link out, and the page is empty... :(

> I also noticed that it appears, and I may be wrong, that manually
> installing a template is different, and although using Discover
> (Extension Manager -> Discover -> Discover) detects a template, it
> doesn't seem to add it to the style list. Is this correct or am I
> missing something?

I just installed the beta, and when discovering my template, it added a
style named "Default" which used my template. Well, not exactly the best
name, but it's still OK. So, this works for me.

> Thanks for any help that anyone can offer to documenting this. I know
> that it will be a big topic.

Rimas

Matt Thomas

unread,
May 30, 2010, 12:13:29 PM5/30/10
to joomla-de...@googlegroups.com
Hi Rimas,

Yes, the wiki doc is currently blank. It was created as a place where we could all contribute our findings as to the 1.5 to 1.6 template upgrade process.

Did you create a new template from scratch or use a 1.5 template?

Best,

Matt

Matt Thomas
Founder - betweenbrain
web • print • identity • creative
www.betweenbrain.com

betweenbrain at The Joomla! Resources Directory™ - http://betweenbra.in/resources

Joomla! 1.6 Nightly Build http://betweenbra.in/x/7


Joomla! 1.6 Issue Tracker http://betweenbra.in/x/5



Rimas Kudelis

unread,
May 30, 2010, 3:15:24 PM5/30/10
to joomla-de...@googlegroups.com
2010.05.30 19:13, Matt Thomas rašė:
Yes, the wiki doc is currently blank. It was created as a place where we could all contribute our findings as to the 1.5 to 1.6 template upgrade process.

Did you create a new template from scratch or use a 1.5 template?


I'm trying to upgrade a template I made for 1.5. I've already changed the XML file, that was the easy part. :) BTW I'm glad I can now use a line like <folder>html</folder> instead of listing all files in that folder, each in a separate <filename> tag.

I've already raised the problems I discovered in my other thread, "Multi-language support in Joomla! 1.6: some notes".  So far I only have one question: what is the best way to link website logo to the current language's home page?

Rimas

Matt Thomas

unread,
May 31, 2010, 4:42:22 PM5/31/10
to joomla-de...@googlegroups.com
I just finished my initial conversion of a 1.5 in-house template development framework to 1.6 and it was fairly easy. Other than needing to update a custom JavaScript, the only other issues I ran into were template parameters and the sitename object. Details documented at http://docs.joomla.org/Tutorial:Upgrade_Joomla_1.5_Template_to_Joomla_1.6.

I'm sure there will be other discoveries, but I was very pleased to see that all of my tricks continue to work. Thanks for making it easy!!!

@Rimas - just thought I'd follow up to let you know that the style named "Default" is easily changed. Just open that style and rename it.


Matt

Matt Thomas
Founder - betweenbrain
web • print • identity • creative
www.betweenbrain.com

betweenbrain at The Joomla! Resources Directory™ - http://betweenbra.in/resources

Joomla! 1.6 Nightly Build http://betweenbra.in/x/7


Joomla! 1.6 Issue Tracker http://betweenbra.in/x/5



On Fri, May 28, 2010 at 6:58 AM, Rimas Kudelis <r...@akl.lt> wrote:

Rimas Kudelis

unread,
Jun 1, 2010, 2:17:24 AM6/1/10
to joomla-de...@googlegroups.com
2010.05.31 23:42, Matt Thomas rašė:
> @Rimas - just thought I'd follow up to let you know that the style
> named "Default" is easily changed. Just open that style and rename it.

I know. I just think "TEMPLATE - Default" would make more sense and be
easier to discover.

Rimas

Matt Thomas

unread,
Jun 1, 2010, 6:44:55 AM6/1/10
to joomla-de...@googlegroups.com
On Tue, Jun 1, 2010 at 2:17 AM, Rimas Kudelis <r...@akl.lt> wrote:
I know. I just think "TEMPLATE - Default" would make more sense and be easier to discover.

Ah ha. I understand now. I assume that you would use the template name in place of TEMPLATE. Seems reasonable to me.

Best,

Matt
Reply all
Reply to author
Forward
0 new messages