Versions using layouts and bootstrap#5654
Versions using layouts and bootstrap#5654wilsonge merged 6 commits intojoomla:stagingfrom dgrammatiko:_field_content_history
Conversation
|
Note to committers DO NOT merge this for 3.4. Wait until me and @phproberto have worked out the final desired form for a rendering class. |
|
@wilsonge I am not trying to change your (and @phproberto ’s) timelines here! Bottom line: if you want me to put it on hold (e.g. close it for now) I will do so |
|
I completely understand the reasons for this! And I support killing off mootools as well. The issue for me is how we intialise and render the JLayout. The framework View package from 2.0 will likely include this renderer class Michael wrote for Jissues (see ). We had a JLayout implementation here https://github.com/joomla-projects/cms-naked/blob/master/libraries/cms/renderer/jlayout.php and were thinking about using that. But my point is that whilst we still are really unsure about how any rendering system will work in Joomla I'm really reluctant to start doing everything before we have a 'accepted' solution. Because otherwise we start getting inconsistencies and b/c breaks. I'll try and get @phproberto to comment on this before you actually close it. But my opinion is to (reluctantly) hold it . |
|
Thanks @wilsonge for taking care of this. I've moved all my github notifications to another folder and it's harder for me to notice things like this. Yes. I think this should be moved to the v3.5 release. I've just had a phone call with Javier to prepare the v3.5 enviroment. I think we are going to have the same setup than v3.4 so we will have a milestone + a tag for PRs related to it. Once we have settled where & how is v3.5 code going to be managed @wilsonge and I can have the definitive renderer ready and then start telling people how integrate things like this PR. I don't think that this PR will need a lot of changes, just use the new rendering system. I agree that it makes no sense to introduce something now to then change it on v3.5. So I think we can keep this PR open until in around 2 weeks we have things settled. Then point it to the right place with the right instructions. Thanks @DGT41 !! |
|
@wilsonge @phproberto Excellent! FYI there is also a media field layout, but I forgot to push the code here, so you don’t have to redo that one as well 😄. As soon as you settle the 3.5-dev repo I will bring it there! One more think that needs your attention is #5652 which is a redo of the current implementation with a little twist to have bootstrap modal in the equation. And the question, as well there, is the same shall it wait for 3.5, or can it go in 3.4? |
|
test works good |
|
#Test OK This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
@wilsonge Have you figured things out as to what to do with this PR? Can this be merged into 3.5 or should it wait longer? This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
If we implement the stuff Roberto mentioned in #7948 (comment) then I'm happy (this also applies for #5655) |
|
To test this try to edit an article in isis, hathor, protostar and beez |
There was a problem hiding this comment.
is there a reason to use $renderLayout and not $layout as e.g. here: https://github.com/joomla/joomla-cms/pull/7702/files#diff-f4e4dfd1f5119bfe9d55b7c74570c7a6R42 ?
|
@zero-24 Fixed! |
|
@DGT41 i don't see any change (on github)? Are you sure you commit the change for $renderLayout and $layout. Did you also catch that hathor problem? |
|
I have tested this item 🔴 unsuccessfully on f45ad43 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
I have tested this item 🔴 unsuccessfully on f45ad43 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
This PR has received new commits. CC: @anibalsanchez, @designbengel, @Fedik, @zero-24 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
@designbengel Hathor and Beez are not really compatible with bootstrap. Let them use mootools… |
|
I have tested this item ✅ successfully on 9c5bef6 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
This PR has received new commits. CC: @anibalsanchez, @designbengel, @Fedik, @zero-24 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
I have tested this item ✅ successfully on c1596fb This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
commit 027c213 Author: dgt41 <d.grammatiko@gmail.com> Date: Sun Oct 4 15:44:39 2015 +0300 Include @phproberto s recommendations commit 2fe6482 Author: dgt41 <d.grammatiko@gmail.com> Date: Mon Jun 8 17:19:52 2015 +0300 Remove mootools from front end commit 2dedd2d Author: dgt41 <d.grammatiko@gmail.com> Date: Mon Jun 8 16:51:40 2015 +0300 JCLOSE doesn't exist commit aa229fe Author: dgt41 <d.grammatiko@gmail.com> Date: Wed Jun 3 17:53:08 2015 +0300 sync proper usage of JHtml comments default layout mootools for B/C commit cc9240f Author: dgt41 <d.grammatiko@gmail.com> Date: Wed Apr 29 02:55:29 2015 +0300 footer commit 279354b Author: dgt41 <d.grammatiko@gmail.com> Date: Fri Jan 9 22:10:51 2015 +0200 Versions using layouts and bootstrap
|
This PR has received new commits. CC: @anibalsanchez, @designbengel, @Fedik, @zero-24 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
I have tested this item ✅ successfully on bc4331d This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
I have tested this item ✅ successfully on bc4331d I tested with IE8 and current FF, Chrome and IE but with no mobile phone. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
This PR has received new commits. CC: @anibalsanchez, @designbengel, @Fedik, @phproberto, @waader, @zero-24 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
Added a span with class hidden phone to make the buttons fit the mobile view. Preview: @waader @designbengel can you confirm that is fixed now? |
|
Great! Before retesting ... the checkbox on left side of each row is also "hidden". Maybe you have another idea to get that fixed? This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
This PR has received new commits. CC: @anibalsanchez, @designbengel, @Fedik, @phproberto, @waader, @zero-24 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
@waader I didn’t realize that in order to compare two versions you need to be able to select them. Now should be ok |
|
I have tested this item ✅ successfully on ba74815 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5654. |
|
Now it's definitely better than the mootools version. Thanks! |
Versions using layouts and bootstrap
|
Merged - two successful tests from @waader and @designbengel |




Use of layouts for field contenthistory
This is a redone for #4561. Now versions are using layouts and there are two sets:
One on the root/layouts this is for B/C
And another on the templates isis and protostar this is using bootstrap modal
Actual rendering:
Isis:

Protostar:

B/C
None
Testing
Try to re edit an article on backend and front end (make sure that versions are enabled and you have few versions available)