- Posts: 15920
COMMUNITY FORUM
No front-end editing happening
- Krikor Boghossian
- Offline
- Platinum Member
Bootstrap uses the .modal class as well for its own modal which has different styling. This is causing the conflict.
You can change the modal in your overrides, but if I where in your shoes I would use the CSS solution instead.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gary
- Offline
- Junior Member
- Posts: 21
I also would prefer to use the custom.css to overide, but I need to figure out what the change should be. Now with the changes I posted earlier, the editor box does not open in the modal popup window and the Close button does not function.
I don't know if I mentioned that I am using Joomla 3.3.6 and K2 2.5.9.
I know that both of these issues are frequent topics on a number of forums, so a lot of people have the problem. It would certainly benefit the community as a whole if the framework developers stayed consistent with some of the Joomla core functions, OR k2 not use a modal window for the editor and then we avoid the whole conflict.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
Normally this is a template issue, since it works on default K2 and the majority of the templates. Send me a link to see what I can do.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gary
- Offline
- Junior Member
- Posts: 21
I also tried a T3 template from another developer and it also works, but with the modal override. I believe that T3 is still based on BS3 framework.
K2 works with no issue on the base Protostar, which is a Bootstrap template. So the issue is with this particular template developer and it is really up to them to address the problem.
But in searching for the solution, I see that this is a pretty common issue, mostly with the BS3 based templates (I have also seen it on some T3) so it is likely coming from those developers that feel that they must somehow use a different modal method for their product for other reasons and K2 support is just an afterthought for marketing. They must not be testing the templates for full K2 function or they would have discovered the flaw and corrected it.
My suggestion, for what it's worth, would be for K2 to abandon the modal window for the front end edits and just use a standard editor page that works under the core Joomla. While not so trendy, it is more universally functional and when the users are doing article edits on the front page, function is more important than form.
Thanks for your kind offer to assist, Krikor, but it is really the responsibility of the template developer to address this (besides-I am working on this on my localhost before taking it to the live site, so linking in from the outside requires more server and router setup than I want to do at this point) .
I appreciate all of your input and support so far and if they provide a solution that might benefit the community as a whole, I will come back and share it. As of now I can proceed with the rest of the site development with what I have. It is not as aesthetically pleasing as the template I wanted, but will be a good second choice.
If I may make a suggestion for the forum here, with template issues like this becoming more common, a section on template issues might be of benefit and could consolidate users searches for specific template problems and solutions. Just a thought.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
K2 works with no issue on the base Protostar, which is a Bootstrap template. So the issue is with this particular template developer and it is really up to them to address the problem.
I agree with you.
Thank you for kind words Gary. The default modal cannot be dropped in the current version since it is designed to support Joomla! 1.5 and 2.5 as well.
Starting with the upcoming v3 where support for older versions is dropped, this modal will be gone.
Finally thank you for your feedback.
The template issue is indeed a gray area for the enduser but since users have paid for a specific template and support is only provided to paying members (template club subscribers) it would unethical to provide support for someone else's commercial product.
Another point would be since another dev built it, there is no way of telling which methods they used.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Max Lynam
- Offline
- New Member
- Posts: 7
Basically, as stated earlier in this thread, K2 uses a core MooTools modal to support Joomla 1.5 and 2.5 - using an open "modal" class.
I understand from other threads that this is going to change in a coming version of K2, which along with other classes will be extensions specific (more like k2modal) and as Joomla is/has removing updates and support for Mootools, Joomla 1.5 and 2.5 similar would be expected from extension (and template) developers.
Importantly, "modal" is a standard class in Bootstrap 2 AND 3, used (and reserved) by Bootstrap ... nothing done by template developers ... this is a Bootstrap thing. Important to note is that prostar uses modified bootstrap files and is not completely bootstrap compatible ... maybe to try and support Mootools ... but that is to be completely removed from all core functionality and has been getting removed more and more on each core release. The sooner mootools is completely removed from core the sooner a lot of these issues will go away.
There's a few other posts about similar on the K2 forum ... the updates in naming, removal of mootools usage and compatibility with standard Bootstrap (2, 3 and future) will make things much smoother .... and as Krikor said:
Starting with the upcoming v3 where support for older versions is dropped, this modal will be gone.
Please Log in or Create an account to join the conversation.
- Gary
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.