-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
new feature: plugin modal view needed for quicker edit #7259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
for quick user action to modify modules settings in popup a modal view is necessary to save it.
New feature: joomla plugin edit view in modal
|
Can you please give some test instructions? And also tell us what and where you exactly add new features? |
after save the modal window for plugin edit, we need to close it as its main work done, we dont need to show plugin lists. so close the modal
|
hi @n9iels we have plugins for payment and some other operations. and users need to fill the info by themselves. |
|
One more thing, please check this file ** joomla already have the same feature for modules. and we can live edit the modules from menu item edit view. we need that for module too. :) |
|
seems it could be a nice feature in your extension, |
|
@Fedik and it will improve users experience |
|
I "think" I can see the use case for this directly in the core - if I For example in com_redirect by default you get a message If I understand you correctly then with this PR that message could be On 25 June 2015 at 09:30, Abu-Huraira [email protected] wrote:
Brian Teeman |
|
@brianteeman |
|
+1 @brianteeman also from 'com_finder' we can enable/disable the plugin. There is many use case actually. Many components depends on lot of plugin, for instance 'Virtuemart, Payplans, Jomsocial' etc. So for every change we need to go to plugin manager > search plugin > open and change settings > back to component again. |
|
Can I suggest that you update the pull request to include com_redirect. The easier it is to test the more likely it is to be reviewed
|
|
thank you @brianteeman. will do that |
getRedirectPluginId to get the system redirect plugin id for quicker action
1 language modified and one added for com_redirect to match edit plugin message
get the redirectpluginid value from RedirectHelper
onclick it will show plugin edit view in modal for system redirect plugin
|
Thanks On 25 June 2015 at 12:01, Abu-Huraira [email protected] wrote:
Brian Teeman |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be obvious but I suck at JS. What's the purpose of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when we save the plugin it will show the plugin list as its loaded in iframe.
btw, module modal used the same approach and more, i just picked up the code necessary to close modal after it save
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, can't see that in https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_modules/views/module/tmpl/modal.php. Maybe it got changed recently?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I think #6804
On 25 June 2015 at 12:55, Thomas Hunziker [email protected] wrote:
In administrator/components/com_plugins/views/plugin/tmpl/edit.php
#7259 (comment):@@ -20,6 +20,10 @@
{
if (task == 'plugin.cancel' || document.formvalidator.isValid(document.getElementById('style-form'))) {
Joomla.submitform(task, document.getElementById('style-form'));
if (self != top){window.top.setTimeout('window.parent.jModalClose()', 1000);Hmm, can't see that in
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_modules/views/module/tmpl/modal.php.
Maybe it got changed recently?—
Reply to this email directly or view it on GitHub
https://github.com/joomla/joomla-cms/pull/7259/files#r33246541.
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry i didn't mention the exact file
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_modules/views/module/tmpl/edit.php#L123
but seems its already changed to jquery
|
If we want introduce new "popup", it already should be without mootools dependency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert that line to the original. I guess it comes from a bad merge.
|
Some things to think about: You create a new method in the RedirectHelper to fetch the ID. By the way, the The modal imho should be wider. Similar to the module modal loaded from the menu item. Maybe the button also should only be there if we have found a plugin id. Otherwise you get a link to the list. |
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we directly introduce a bootstrap modal here? It seems like we stepping backwards introducing a mootools dependency here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@brianteeman Good point, something I was thinking as well after posting my comment. So let's stick to the modals. I do like the original idea. @shamsbd71 Could you fix the merge conflicts please? |
|
@shamsbd71 are you able to resolve the merge conflicts and then we can get this merged This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/7259. |
|
only PR-dev can resolve merge Conflicts? |
|
who can resolve merge Conflicts? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/7259. |
|
@franz-wohlkoenig anyone with commit access can do it |
|
thanks for Info, @brianteeman is anyone having commit Access willing to resolve merge Conflicts? |
|
@wilsonge I think it is useful to take this into Joomla 4, what do you think? |
Why wait for J4 - joomla 3 has over 2 years of life |
|
because there are no new feature releases planned at this moment with exception for 3.8 being the router release. |
|
@roland-d where is that documented - its not what the roadmap says https://developer.joomla.org/roadmap.html |
|
We read the roadmap differently then. It says the following: The features in development are set as the Modern Routing System and General improvements. |
|
Well I would say that this is a General improvements. but also keep reading further
|
|
In that case @mbabker do you want this in 3.8? If so we probably need to find someone who wants to clean this up and propose a new PR or for @shamsbd71 to fix this. |
|
Personally my aim is to keep the major focus on the router. As seen on the
project boards, I've flagged a bunch of PRs for 3.8 that are relatively
smaller in nature. So honestly, it's going to be a case by case basis
right now.
On Sat, May 13, 2017 at 3:51 PM RolandD ***@***.***> wrote:
In that case @mbabker <https://github.com/mbabker> do you want this in
3.8? If so we probably need to find someone who wants to clean this up and
propose a new PR or for @shamsbd71 <https://github.com/shamsbd71> to fix
this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7259 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWfoYZXuNwlJJ5_z5UTy8OnTB2wsID5ks5r5he4gaJpZM4FKrT8>
.
--
- Michael Please pardon any errors, this message was sent from my iPhone.
|
|
3.8 please
…On 24 May 2017 10:52 a.m., "Robert Deutz" ***@***.***> wrote:
So 3.8 or 4.0 @mbabker <https://github.com/mbabker> @wilsonge
<https://github.com/wilsonge> who will take it :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7259 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPH8VF09esJ3WFUZm6dFpNO8p_KmHyOks5r8_3UgaJpZM4FKrT8>
.
|
|
If this is tested and reviewable I've got no issue looking at it for 3.8. I'm just not making promises on things being included into the release is all. |
|
@mbabker PR have 2 successfully Test, but conflicts. Close PR? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/7259. |
|
Closing the PR just because it has merge conflicts isn't right. If it's been abandoned though, which seems to be the case, and nobody wants to pick it up to get it updated then yes, it should be closed. |
|
Thanks for Answer, @mbabker – if this PR get no Response, it will be closed at 23th July 2017. |
|
I will try to find time to redo this |
|
thanks @brianteeman |
|
sorry i took a look but its not a simple case of resolving merge conflicts as the base code has changed considerably since this Pr was made. I still think its a good addition but not something I can do |
|
I will have a look |
|
Thanks @roland-d - its all the changes in administrator/components/com_redirect/views/links/tmpl/default.php |
|
@ABU would you please check your pr when you back?
On Fri, Jun 23, 2017 at 5:05 PM Brian Teeman ***@***.***> wrote:
Thanks @roland-d <https://github.com/roland-d> - its all the changes in
administrator/components/com_redirect/views/links/tmpl/default.php
that I struggled with
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7259 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAxSE58x1ica4Lw19JWr1j5Ipm-tWfrEks5sG5vpgaJpZM4FKrT8>
.
--
…-----
Sent from my iPhone
|
…n settings when needed
|
Closing this in favor of #16844 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/7259. |



in admin just the way joomla has module modal edit view, we need to have plugin edit view in modal to save its settings. we dont want to forward users to find and edit things
Test Instructions:
i have showed in com_redirect with full functional language, helper and view files. so if you visit com_redirect
administrator/index.php?option=com_redirect
you will see how its working.
thanks