Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Updating 1.5 Template to 2.5

Updating 1.5 Template to 2.5 1 year 2 months ago #42574

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Last fall I believe it was, y'all helped me with very simple instructions on what needs to be changed to convert a 1.5 template to be 1.7 compatible... I can't seem to find that post now! I'm going through the tutorial on this, but it's way more complex than what I need since I'm not upgrading a web site or switching from one template to another. I simply need the specific things that need to be changed (I know params become fields for example - but seems there was also something about the BASEPATH at the top of the index.php file...)

Thanks!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42575

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4028
  • Thank you received: 137
  • Karma: 10
Hi Jacki,

I tried looking for that post too and was out of luck, but instead I found you something else that may be of much help:
docs.joomla.org/Upgrading_a_Joomla_1.5_template_to_Joomla_1.6

When it says 1.6, I think it should work on 1.7 too.
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42578

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Thanks, Tessa - Yes, I've actually already seen this one...! It's helpful, but not *exactly* what I was looking for. I did find the original forum post where I first found out about this tutorial that Nick put together:

www.ostraining.com/support-forum/joomla-...the-template-course/

However, when I go to the link that Steve posted at the bottom of this thread, it no longer takes me to that short, simple tutorial that had been put together :(
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42582

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4028
  • Thank you received: 137
  • Karma: 10
Jackie, this might be a question to ask Steve. =] You will get an answer soon though :)
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42584

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

Give our new "Migrate a Joomla 1.5 Template to 2.5" tutorial a try :)
www.ostraining.com/blog/joomla/update-a-joomla-15-template/

We just recently created it so let us know if you encounter any issues and we'll get them fixed quickly.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42592

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Thanks, Nick - that's the one I was going by... It did work (I think, so far!) - but I personally found the earlier one to be much easier since it just simply had things like:

1. Copy and paste this line at the top of the xml file...
2. Change the params to fields (and gave an example).
3. etc.

It was just a few simple steps if I remember right! Just wish I could find that particular tutorial you wrote!

BTW - I have some people on another forum offering to pay me for upgraded templates! What is a "normal" fee for doing this?!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42593

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

You're welcome! We don't have any other tutorial so either I wrote it in a forum post or you're thinking of the notes I put below each of the template class tutorials:
www.ostraining.com/joomla-template-course/

As to how much, I've seen others charge $400-800. I would say figure out how many hours it takes you and multiply by your hourly to have a good estimate.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42595

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Thanks, Nick!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42596

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
You're welcome, Jacki! :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42599

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Hey again - I've got it working - except the drop-down "Bulletin" button is not opening up the modules... I *think* it's something to do with their javascript... Here's the site:

killearnlakesrealty.com/

Here's where you can see what the drop-down Bulletin is *supposed* to do!

demotemplates.joomlashack.com/vintage/in...view&id=14&Itemid=30

Is there something I Need to change in the template upgrade (the demo is 1.5 and mine is 2.5) - ?

Thanks so much!!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42737

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Still can't get this one feature to work! It seems to be run by javascript... Upon viewing the source, the javascript is below (if this paste works!):

<script type="text/javascript">
window.addEvent('domready', function() {
//window.onload = function(){
//select the button
var button1 = $('button');
var content1 = $('cPanel');
var content2 = $('inside');
//The height transition we attach to 'cPanel'
var b1Toggle = new Fx.Style('cPanel', 'height',{duration: 200});
//add an onclick event listener to button1
button1.addEvent('click', function(){
//toggle height transition (hide-show)
if(content1.getStyle('height').toInt() > 0){
//hide
b1Toggle.start(0);
}else{
//show
b1Toggle.start(c1Height);
}
button1.toggleClass('button1_');
return false;
});
//set css display:block for the contentElements
content1.setStyle('display','block');
//get the scrollSize of the contentElements
var c1Height = content1.getSize().scrollSize.y;
});
</script>
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42739

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

It's unlikely to be a 1.5 to 2.5 migration, but it could be.

Try turning error reporting to maximum in your Global Configuration's Server tab to see if you get any errors.

Looks like you're already getting one Javascript error in firebug:
Fx.Style is not a constructor
var b1Toggle = new Fx.Style('cPanel', 'height',{duration: 200});

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42740

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Thanks, Nick - I turned on Maximum errors but don't see any. This is a Joomlashack template that was done for 1.5 and I've upgraded it (sort of!) to work on 2.5 - I know nothing about javascript(!) - just figured that's what they're using for this drop-down Bulletin feature.

Is there something different I need to set in the index.php file for mootools? And could that be the problem? Seems I remember something about changing this line:

JHTML::_( 'behavior.mootools' );

I appreciate the help - I don't even know where to begin to look!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42753

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

You're welcome!

Do you have
JHTML::_( 'behavior.mootools' );
in your code? If so, try using the following instead:
JHtml::_('behavior.framework');

Also, here's a list of the API changes from 1.2 to 1.3 (however, first try the above suggestion):
github.com/mootools/mootools-core/wiki/Upgrade-from-1.2-to-1.3

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #42837

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Thanks, Nick - unfortunately, that didn't fix it. I looked at the API changes, but I don't have a clue what all that means or what I'm supposed to do with it!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 2 months ago #43232

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

OK, revert that change, then try the InterExt plugin to load an older version of mootools to see if it's a Mootools version issue:
extensions.joomla.org/extensions/core-en...ements/scripts/18499

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44436

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Hey, Nick - I'm finally getting a chance to work on this issue again. I'm trying to install the plugin, but it keeps giving an error:

There was an error uploading this file to the server.

Any idea what would cause this?!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44438

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

It's a pretty big file (7 MB). What's your max upload size set to for the server?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44455

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
This is the first site I'm dealing with on a Go Daddy server... I found the php.ini file but it didn't have the:

memory_limit = 64M

set at all. I added the above line but it still is giving the same error...
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44457

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

I just tried it and it installed fine for me. Is your file named "plg_interext_v2.0.zip"?

Are you able to install other extensions?

Try checking your folder and file permissions using the following tutorial:
www.ostraining.com/blog/joomla/admin-too...nd-file-permissions/

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44493

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Ok, yes the file name is plg_interext_v2.0.zip.

Yes, I can install other extensions (just installed Admin Tools and Akeeba Backup to test).

Did the fix permissions.

Still getting the same error!!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44498

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

Could you send me some login credentials to This email address is being protected from spambots. You need JavaScript enabled to view it. so I can take a quick look for you? Please include a link to this forum post in the email and then afterward reply to this forum post letting me know you sent the email so that I can check it.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44511

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Sent :)
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44528

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

The max_upload_size for the server is set to 2 MB. Try increasing it by 5 fold. That should get the extension working for you.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44532

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Where is that set?! I looked at the php.ini file and *thought* I'd changed it to 64!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44534

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

Looks like you set the memory limit and not the max upload size.Jacki wrote:
memory_limit = 64M

You also set the max upload size in the php.ini file like so:
max_upload_size = 10M

Hope this helps!

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44539

  • jackibar
  • jackibar's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 509
  • Karma: 0
Oops. Ok, I fixed that, but it seems the php.ini file I'm editing is not the one the system is actually using because it still says 2M in Joomla's System Info page... Is there another php.ini file I need to find?!
Please become a member of OSTraining to reply to this post.

Updating 1.5 Template to 2.5 1 year 1 month ago #44554

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17175
  • Thank you received: 444
  • Karma: 63
Hi Jacki,

The best thing to do is to check with your host, as each host's setup is unique. They'll be able to get that issue sorted for you.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.