Open RobertMassart opened 4 years ago
@RobertMassart - Which version are you using? if you are on latest develop, you might encounter some problems because atk-wordpress develop branch use atk4/ui v2.0.4 which is not stable enough at this point. I am waiting for a stable 2.1 from atk4/ui to update this repository. Meanwhile, you should use atk-wordpress v1.5 which uses atk4/ui v1.7 and should be working correctly.
I’ve tried many versions but I’ll go back and try v1.5.
I tried pulling atk-wordpress 2.0.4 but composer will not pull this release. I was forced to pull ‘dev-master’.
I think when I used 1.5 then the demo stopped working.
From: Alain Belair [mailto:notifications@github.com] Sent: June 2, 2020 10:48 AM To: ibelar/atk-wordpress Cc: Robert Massart; Mention Subject: Re: [ibelar/atk-wordpress] CURD - please help make this work (#21)
@RobertMassarthttps://github.com/RobertMassart - Which version are you using? if you are on latest develop, you might encounter some problems because atk-wordpress develop branch use atk4/ui v2.0.4 which is not stable enough at this point. I am waiting for a stable 2.1 from atk4/ui to update this repository. Meanwhile, you should use atk-wordpress v1.5 which uses atk4/ui v1.7 and should be working correctly.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ibelar/atk-wordpress/issues/21#issuecomment-637591499, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFITVWKSRBG6CQSVYNOLDYLRUUGJTANCNFSM4NQY5C5Q.
Okay back on v1.5.
On the backend I get this which looks right and functions:
[cid:image001.png@01D638D6.D173EAC0]
But same logic on frontend I get this instead:
[cid:image002.png@01D638D6.D173EAC0]
Probably missing some css on frontend but still the actions don’t function on the front side.
So doing an add/edit/delete just end up with Transition errors in the java script console. Do you know why?
[cid:image003.png@01D638D8.3EE9A800]
From: Robert Massart Sent: June 2, 2020 11:02 AM To: 'ibelar/atk-wordpress'; ibelar/atk-wordpress Cc: Mention Subject: RE: [ibelar/atk-wordpress] CURD - please help make this work (#21)
I’ve tried many versions but I’ll go back and try v1.5.
I tried pulling atk-wordpress 2.0.4 but composer will not pull this release. I was forced to pull ‘dev-master’.
I think when I used 1.5 then the demo stopped working.
From: Alain Belair [mailto:notifications@github.com] Sent: June 2, 2020 10:48 AM To: ibelar/atk-wordpress Cc: Robert Massart; Mention Subject: Re: [ibelar/atk-wordpress] CURD - please help make this work (#21)
@RobertMassarthttps://github.com/RobertMassart - Which version are you using? if you are on latest develop, you might encounter some problems because atk-wordpress develop branch use atk4/ui v2.0.4 which is not stable enough at this point. I am waiting for a stable 2.1 from atk4/ui to update this repository. Meanwhile, you should use atk-wordpress v1.5 which uses atk4/ui v1.7 and should be working correctly.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ibelar/atk-wordpress/issues/21#issuecomment-637591499, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFITVWKSRBG6CQSVYNOLDYLRUUGJTANCNFSM4NQY5C5Q.
Does conditional tags work in templates in 1.5 ?
$s = 'My {email?}e-mail {$email}{/email?} {phone?}phone {$phone}{/?}. Contact me!';
Can’t seem to get them to work just echoes them out to the rendered page.
I had really high hopes for atk-wordpress that I could finally create something that runs both frontend and backend without hand coding all the AJAX.
But for the last two weeks of working with atk4 and atk-wordpress, I realize it just not fully functional for my needs.
And the fact that atk4 is not stable is really bad for you as well.
I really hope the next release will truly function on both frontend and backend with all elements supported especially (CURD and MasterCRUD).
If you could, please let me know when you think it would be a good time for me to try again.
Thanks Robert
@RobertMassart - Understand the frustration. I will try to get back at it when atk4/ui v2.1 is finally release and when I can find time for it. I will let you know when ready for sure.
Added event panel into atk-wordpress-demo:
Error: Call to a member function add() on null (in C:\www\peernet\html\wp-content\plugins\atk-wordpress-demo\vendor\atk4\ui\src\View.php:1187)
Code: //Executor may already had been add to layout. Like in CardDeck. if (!isset($this->app->html->elements[$ex->short_name])) { $ex = $this->app->html->add($ex)->setAction($action); }
is failing because $this->app->thml is null.
Adding check for null does not help , you just get this error instead:
Critical Error: atk4\ui\Exception Action must be set prior to assign trigger.
I really need CURD working, just not sure what I need to do to get it functional.