Keyword

Error with the K2 User module

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
2 months 2 weeks ago #172474 by Steven Trooster
Steven Trooster created the topic: Error with the K2 User module
The K2 user module isn't working anymore, all of the sudden. It produces an error Using $this when not in object context The whole module position is affected, since no modules in the same position will show.
I've narrowed the problem down to the rendering of a menu within the user module. If I render no menu, all works fine. If I render any menu, I get the error.
I recently updates to Joomla 3.9.8, but the error seemed to appear out of the blue today.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 months 2 weeks ago #172478 by Fotis
Fotis replied the topic: Error with the K2 User module
Please update to K2 v2.10 (dev) from github.com/getk2/k2/archive/master.zip - it should resolve your issue.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
2 months 2 weeks ago #172483 by Steven Trooster
Steven Trooster replied the topic: Error with the K2 User module
Thank you. Is this dev version suitable for a live site?

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 months 2 weeks ago #172486 by Fotis
Fotis replied the topic: Error with the K2 User module
Always. I'll be updating the K2 site soon to reference this version as a "rolling release", alongside the usual zip file provided e.g. in the Joomla updater.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
2 months 2 weeks ago - 2 months 2 weeks ago #172494 by Steven Trooster
Steven Trooster replied the topic: Error with the K2 User module
Just a question: when will you get rid of the modal window for editing items in the frontend? It's very annoying for several reasons:
- the browser doesn't show a progress bar when saving an item. My editors tend to click multiple times on save, because they believe nothing is happening. (especially when they have a large image file attached)
- in conjunction with SIG Pro it's frustrating, because the SIG pro modal window overlaps the K2 modal window completely. Since SIG Pro doesn't have a close button, so you can't save the gallery and go back to editing the article. The workaround: save the article first, then add a gallery and save it, then click somewhere outside of the modal window to close everything and reopen the article.
- accidentally clicking somewhere outside the modal window closes the editing of the article, thus loosing everything if you didn't save it first..

Is there a good reason you chose to use a modal window for editing? I don't see any advantages.
Last edit: 2 months 2 weeks ago by Steven Trooster.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 months 1 week ago #172520 by Fotis
Fotis replied the topic: Error with the K2 User module
The SIGPro modal is visible just fine within the K2 modal. Perhaps your options for opening the K2 modal are outdated and you're seeing a smaller sized modal. The default in K2 will fill up most of the screen. So things are easy to manage even in small-screen laptops.

Modals are used to include direct backend views. Fetching a component form within your frontend template is a bad idea for a million reasons...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
2 months 6 days ago #172548 by Steven Trooster
Steven Trooster replied the topic: Error with the K2 User module
The K2 modal opens in full screen, and the SIG Pro modal does this as well, full screen. So it covers the K2 modal. It wouldn't be a problem if there were a close button in the Sig Pro window. At least I can't see one.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #172595 by Fotis
Fotis replied the topic: Error with the K2 User module
Not in K2 v2.10 with SIGPro latest. See an example here: jmp.sh/gHZjtdg

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum