Keyword

How to disable k2 edit-item popup?

  • Kran Chi
  • Kran Chi's Avatar Topic Author
  • Visitor
5 years 6 months ago - 5 years 6 months ago #169415 by Kran Chi
How to disable k2 edit-item popup? was created by Kran Chi
Hello

I saw a lot of related posts with no clue and just wondering why there is no option in backend to disable popup! in fact this feature really bothering users when there is no option to :

1- Setting width & height of popup
2- After submit the new item, popup still opening (so what!? close it please)
3- After step2 if user not click on [close] button and select X from the browser bar, the item will be locked in backend.
4- Also there is no option in menu connecting the submit item too, even Target Window has no parent value to select because in line 23 of :
administrator\components\com_k2\elements\itemform.php
There is a JS Script to remove parent value!

As I guess in next version of k2, these issues will not be fixed so I want to :

1- "Submit k2 item" or "Edit k2 item" be opened in a regular Joomla page (not tmpl=component)
2- after item saved, user be redirected to previous page (not closing the window or being in the same page)

Is there a clear manual for a file path to edit?.

with best...
Last edit: 5 years 6 months ago by Kran Chi.

Please Log in or Create an account to join the conversation.

  • Kran Chi
  • Kran Chi's Avatar Topic Author
  • Visitor
5 years 6 months ago - 5 years 6 months ago #169420 by Kran Chi
Replied by Kran Chi on topic How to disable k2 edit-item popup?
About My Question number2 , I Found the code that covers save action - line 806 of :
administrator\components\com_k2\models\item.php
case 'save':
            default:
                $msg = JText::_('K2_ITEM_SAVED');
                if ($front) {
					
                    $link = 'index.php?option=com_k2&view=item&task=edit&cid='.$row->id.'&tmpl=component&Itemid='.JRequest::getInt('Itemid');
				} else {
                    $link = 'index.php?option=com_k2&view=items';
                }
                break;

A simple IF could set custom redirect URL.
Can we override this URL with plugin or something else?
Last edit: 5 years 6 months ago by Kran Chi.

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #169422 by JoomlaWorks
Replied by JoomlaWorks on topic How to disable k2 edit-item popup?
After all the help we've provided you (me and others) in the forum, you go and post this vitriolic review jmp.sh/QSiQhTa for a 100% free extension and then come back to ask for help? You have a lot of nerve pal...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 5 years 6 months ago by JoomlaWorks.

Please Log in or Create an account to join the conversation.

  • Kran Chi
  • Kran Chi's Avatar Topic Author
  • Visitor
5 years 6 months ago - 5 years 6 months ago #169441 by Kran Chi
Replied by Kran Chi on topic How to disable k2 edit-item popup?
Yes of course because this forum do nothing!

You can check previous posts again that have locked. is there a tiny sample code from k2!? or at least an absolute path to a file!? you spend less that one minute for every question. even this threat replied when you saw that review!

You can check the Stackidea forum to see real support. Free or paid, there is a standard to support something.I think you have to be graceful that these users improve your alexa rank!

Also if there is a review right for every user, so I used that honestly.
I mentioned that I HAVE TO work with k2 because of template given to me, not the quality of this component.

When there are ECC+ (captcha), Komento (comment system) and native Joomla extra field, I can predict sooner or later k2 will be discontinued with this level of improvement & attention to user requirement.

I list again the k2 issues (fixed myself) to be sure it wasn't personal :

- No support for 3rd party captcha in comment form (I integrated OsolCapctah with k2 - so you can)
- There is no notification email after every comment and also approving by url.
- DON'T use popup, these days 50% of visitors using mobile device (also Check-in problem will be occured)
- Don't remove parent parameter with JS!
- No good control on front-end submit form (still need CSS to hide browse-server for example)
- Lock Tag still has some problems when suggestion is on (I removed this feature)
- Add a simple option to set URL after user submit an item (where to go). you can simply redirect him to my-items pages not stuck in the current submit page. User profile already has something like that.

It's 2018, don't forget that.
good luck.
Last edit: 5 years 6 months ago by Kran Chi.

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #169456 by JoomlaWorks
Replied by JoomlaWorks on topic How to disable k2 edit-item popup?
I'm sorry but you're clueless. You clearly have no idea what open source is. I'm pretty sure you're the one who'll need luck rewriting whatever crap project/idea you're working on.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum