Welcome, Guest
Username: Password: Remember me

TOPIC: J3 Ready

J3 Ready 23 Dec 2012 17:59 #6261

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
hi there

from what i found on the forums this is not fully J3 ready yet - is this true ?

do you have an estimated date please ?

tnx
sean
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 07:27 #6378

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
Hi there,

i read for another post that the builder was almost ready for J3 - however how to i currently build a component for J3 ? do i have to choose the V2.5 builder option ? as i cant seem to be able to install any component on J3 !

TNX
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 08:38 #6379

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @cliffordsean,

Yes, build with COOK 2.0 (using the J2.5) mode for the time being.

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
The following user(s) said Thank You: cliffordsean

Re: J3 Ready 10 Jan 2013 08:41 #6380

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
tnx

this is cook 2 i take it : screencast.com/t/o1dMmobKa ?

tnx
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 09:04 #6381

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
No, it's the middle option, 'V2.0 Beta'...

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 09:35 #6384

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
ok cool

right i do a quick test project - i download and try to install into my J3 install and i get a blank white page



PHP Fatal error: Call to undefined method JController::getInstance()

i have built the project with V2.0 beta selected and i have downloaded the component with that selected also


any ideas ?
tnx
sean
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 09:43 #6385

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Check the file in which you're calling the ...getInstance() method... Does it tell you which controller? Check there too.

G
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 09:45 #6386

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
yup sorry full line is

[10-Jan-2013 11:41:59] PHP Fatal error: Call to undefined method JController::getInstance() in /www/merrytest/administrator/components/com_applicants/applicants.php on line 63
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 11:25 #6387

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
have you checked that line/file?

Does it exist?

G
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 11:29 #6388

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
HI,
yes it exists alright

problem seems to be

JController::getInstance()

which we cant use in J3 ?

it should be

JControllerLegacy::getInstance

have u come across this ?

tnx
sean
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 12:07 #6389

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hmmmm, I have to admit that I'm unsure about J3.0!

Have you seen this: docs.joomla.org/Developing_a_Model-View-...ent/3.0/Introduction

Have you tried renaming the call to the legacy version?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 12:13 #6390

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
hi

yes i have seen that and made those changes which solves those issues.

however i thought that components were running in J3 ? except for a few styling issues ?

as from what ive seen the components cannot run propperly in J3 for now (unless im doing something wrong?)

tnx
sean
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 12:33 #6391

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
That was my understanding too!

Maybe J3 has been updated or something. As I said though, I'm not familiar with J3 and have no experience developing components for it.

I don't think that comparability will be too long.

Does your helpers folder contain a file called mvc.php?

If not, check you cook config and try setting JDom to complete.

I think that some of the Joomla version compatability evaluation takes place there. If you didn't have the MVC helper, try removing your 'legacy' updates and see if it works.

If it doesn't, apologies!

I've posted thread to admin to take a look also.

Hope it helps,

G
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 12:36 #6392

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
hi there, thanks for info

no i dont have mvc helper !

what do you mean by ' try removing your 'legacy' updates ' ?

tnx
sean
The administrator has disabled public write access.

Re: J3 Ready 10 Jan 2013 13:27 #6393

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Hi everybody.

Admin is here and reading all your posts, but also working amazingly for you.

About Joomla 3.0, there is an important stuff to know, the Natives MVC base classes are now interfaces, and the classes we are commonly using have changed names. JModelLegacy (for instance)


Do not try to migrate for 3.0 because it is comming. In the corner, but still again 15 days I think.

At this moment, you will need to migrate your source to the new structure, and it will be the absolute last migration to do.

Be prepared for this migration because it is huge, but don't worry I am implementing a way that you will be able to keep your changes and regenerate your component afterwards. An amazing stuff working with an excellent overriding system.

Not everything will be possible with that, but it is a good start. Every PHP Class will be overladable and placed in a 'fork' directory.


Stay in touch, and do not try to migrate to 3.0 because even if it is close to Joomla 2.5, There are a lot of stuffs to do.

Your component will be cross compatible for 1.6 to 3.0 because the new structure allows you to do not think to the compatibilities. The component will manage by itself the cross compatibility layer.

So... hold on, we are almost there.

Next upgrade is very huge.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: BTB300
Time to create page: 0.135 seconds

Get Started