User tests: Successful: Unsuccessful:
Select image field (field type media) is using mootools modal.
Without affecting in anyway the logic of the field we can use jQuery and bootstrap.
This needs some visual fixes as the rendered modal needs some css to get to a more appropriate size.
Feel free to submit some ideas or code!
B/C
Should be 100% compatible
Test:
Apply the patch
Go to administrator -> global configuration
and check the functionality of Offline image.
Everything should be ok (except the size of the modal)
Labels |
Added:
?
|
Why have you added the title Select or upload an image?
On 11 Oct 2014 15:12, "Dimitri Grammatiko" notifications@github.com wrote:
Now it should act exactly as the old modal + now it is responsive
[image: screenshot 2014-10-11 17 11 05]
https://cloud.githubusercontent.com/assets/3889375/4602869/a1404768-5150-11e4-9e47-55d0a39c4523.png—
Reply to this email directly or view it on GitHub
#4513 (comment).
Bootstrap modal needs a title: http://getbootstrap.com/2.3.2/javascript.html#modals
If we leave it blank the layout gets ugly, I guess that’s the drawback here, we add another string
@infograf thought s on adding another string etc
On 11 Oct 2014 16:52, "Dimitri Grammatiko" notifications@github.com wrote:
Bootstrap modal needs a title:
http://getbootstrap.com/2.3.2/javascript.html#modals
If we leave it blank the layout gets ugly, I guess that’s the drawback
here, we add another string—
Reply to this email directly or view it on GitHub
#4513 (comment).
@brianteeman
No problem adding new strings in 3.4.0
That's very likely due to our friends from the codestyle sprint
What you need to do is update your branch https://github.com/dgt41/joomla-cms/tree/media_field_bs_modal to current staging and resolve any conflicts that may have occured.
There are two possible ways of getting the branch updated:
Labels |
Added:
?
|
@test, it works fine.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4513.
Status | Pending | ⇒ | Ready to Commit |
Moving to RTC as issue patch more than 2 successfull tests
Status | Ready to Commit | ⇒ | Needs Review |
For B/C I reverted the option to use the mootools modal in front end. Lets NOT break every site out there.
Please test again
The PRs regarding Media Field, User Field and Content History are also used in the front end. That might break the rendered design IF THE TEMPLATE is not BOOTSTRAP compatible. (the old modal uses it’s own css file). I wrote it!
I'm sorry to say, but if it's going to break templates that worked fine before, then this will obviously not pass. We will need a different approach then.
Status | Needs Review | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-19 16:04:16 |
The styling on this is off, there is a size issue with white space at the bottom AND there is now the word Select at the top
before
after
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4513.