User tests: Successful: Unsuccessful:
this now serves only the styling and the image required in Hathor.
To test this you should go to: joomla-extensions/messages#7
Create an installable package and then apply also this PR!
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | Templates (admin) UI/UX |
@infograf768 That was a mistake, now PR should be safe
It seems that you added the CSS to the template.css
files directly. You should work on the template.less
files and then generate the css files.
You can do it from the build folder running:
cd build
php generatecss.php
And same for RTL changes
@phproberto
As far as I could see, the PR used generatecss.
The changes in the css files comes from the changes in the
/media/jui/less/modals.joomla.less
and
media/jui/less/modals.less
Labels |
Labels |
Added:
?
|
@suscess
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4563.
Status | Pending | ⇒ | Needs Review |
@losedk Nice idea, I also try to do that as it only requires to put this part that renders the buttons https://github.com/joomla/joomla-cms/pull/4563/files#diff-1caf6f6c420934f653cb344972c49abbR29 in the footer. The only problem is that in the current short-code for bootstrap modals in the toolbar this is not yet implemented: in current implementation the footer part doesn’t exist https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/toolbar/button/popup.php#L46. I’ll make a PR for that, if it get’s accepted we can move them easily in the footer area! Thanks for bringing this up, I totally forgot it
Labels |
Labels |
Removed:
?
|
Is this PR outdated - its hard to tell
I'm sorry, I didn't saw that :-) If this one is Merged and you have that PR, please post its number here so I can test that one to
@test Succesfull!
Status | Needs Review | ⇒ | Pending |
@roland-d The thing is that right now the default width is 80% of the window (that’s global not only here), so the question is do we keep a global value of 80% as default and override it here or do we keep a narrow default value (width: 560px; was the bootstrap default) and override in modals that require more estate?
@dgt41 To answer your question, I think we should look at the modals in place. Which ones are more common? If we need the wide ones more than the narrow ones, we should set the wide value as default, otherwise the other way around. Based on that we will know if this modal should be overridden or not.
@roland-d how about this:
needs only:
JFactory::getDocument()->addStyleDeclaration(
"
div.modal{
width: 560px;
margin-left: -280px;
}
"
);```
in /administrator/components/com_messages/views/messages/tmpl/default.php
and
```php
$bar->appendButton('Popup', 'cog', 'COM_MESSAGES_TOOLBAR_MY_SETTINGS', 'index.php?option=com_messages&view=config&tmpl=component', '400px', '250px');
in /administrator/components/com_messages/views/messages/view.html.php
We have these modals that need some serious width:
image (media field)
user (user field )
history (version field)
menuselect (menutype field)
module (modal to edit modules in menu)
and I am pretty sure I forget some more…
The only ones that fit better in narrow width are: this messages options and maybe multi language status
@n9iels @suredweb @tairedweb @losedk can anyone give it to test?
This should be the preview for the last iteration:
Could you add it to the stylesheet instead?
Done!
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-02 17:36:25 |
Closed_By | ⇒ | dgt41 |
Status | Closed | ⇒ | New |
Closed_Date | 2015-06-02 17:36:25 | ⇒ | |
Closed_By | dgt41 | ⇒ |
Can you just remove the messages part and let the css / hathor stuff there?
Status | New | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Labels |
Added:
?
|
Title |
|
As it is planned to remove messages with 3.5 (http://developer.joomla.org/news/616-meeting-notes-from-jab-plt-summit-2015.html) We need this here and also joomla-extensions/messages#7 to fix the issue
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-07-12 19:58:05 |
Closed_By | ⇒ | Kubik-Rubik |
Labels |
Removed:
?
|
This PR contains unrelated stuff concerning banners