User tests: Successful: Unsuccessful:
Moduleposition is yet another form field that uses mootools modal. Now it uses JLayout.
None as the default behavior remains the mootools modal, but overriding with Bootstrap modal (or any other modal) is now possible and easy.
Apply patch.
Select Hathor as the admin template.
Try to edit any module in the module manager and select another position.
You should see a Bootstrap modal and the functionality should be the same.
Now delete /hathor/html/layouts/joomla/form/field/moduleposition.php
Repeat the testing procedure, but now you should see a mootools modal.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Easy | No | ⇒ | Yes |
Category | ⇒ | Layout |
I have tested this item successfully on 1575f4a
Tested successfully!
Joomla 3.4.5
Milestone |
Added: |
Milestone |
Added: |
||
Status | Pending | ⇒ | Ready to Commit |
RTC. Thanks
Labels |
Added:
?
|
sorry, but to early for RTC
here is still need to fix incorect usage of $renderLayout
property, it cannot be used for getInput()
because it used in JField::renderField()
so it make conflict
Status | Ready to Commit | ⇒ | Pending |
Labels |
Back to pending.
Labels |
Removed:
?
|
Status | Pending | ⇒ | Ready to Commit |
RTC than. Thanks.
Labels |
Added:
?
|
Great work @dgt41 :)
After checking PRs I have only 2 recommendations:
I think I have already commented this so maybe is that it's not going to happen in v3.5 but I think is the best moment to add all this features. If this is done somewhere else please tell me so I can review it.
I've seen this method has been included recently:
https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/form/field.php#L931
In my opinion the layout data that the label and the input need are the same. I actually faced some situations where I had to render the label inside the input itself.
Do you think is better that I send a PR to try to change things in JFormField and we use it as base for the rest?
@phproberto If I do the getInput and the render suggestions I get a nasty error in the menu item edit page:
Probably I need more coffee...
Status | Ready to Commit | ⇒ | Pending |
Labels |
Labels |
Removed:
?
|
This PR has received new commits.
I have tested this item successfully on 22f835a
Ok than. I don't look great in hathor but it works. Thanks
This PR has received new commits.
I have tested this item unsuccessfully on fc41841
Module Edit page is broken in Hathor - sorry x
This PR has received new commits.
CC: @designbengel, @rmittl, @svom, @zero-24
I am gonna close this one for now as it only affects hathor, lets not spend too much energy on this
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-11-05 16:14:55 |
Closed_By | ⇒ | dgt41 |
I was going to say that
Milestone |
Removed: |
I have tested this item successfully on 1575f4a
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7702.