Welcome, Guest
Username: Password: Remember me

TOPIC:

J3 Ready 23 Dec 2012 17:59 #6261

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

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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 following user(s) said Thank You: cliffordsean

Please Log in or Create an account to join the conversation.

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

tnx

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

tnx

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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

hi there, thanks for info

no i dont have mvc helper !

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

tnx
sean

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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 following user(s) said Thank You: BTB300

Please Log in or Create an account to join the conversation.

Time to create page: 0.148 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started