Keyword

K2 Front Edit show specific categories

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 7 months ago #167578 by Chris
Hi,

I have a 2 language site (English, Greek).
When a visitor creates an K2 item from Front End, all categories are shown.
I need to display only English categories for EN, and only Greek ones for GR.
How I can do it?

Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #167592 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Front Edit show specific categories
Hello,
Depending on the user's group you can limit their access to certain categories so items won't get mixed up.

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

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #167593 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Front Edit show specific categories
Hello,
Depending on the user's group you can limit their access to certain categories so items won't get mixed up.

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

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

More
6 years 7 months ago #167666 by Chris Vrakotas
Replied by Chris Vrakotas on topic K2 Front Edit show specific categories
Hi Krikor,

Do you mean K2 user group? Yes, K2 user group can have access to specific categories, but in the front end, all categories are shown and the categories without access are ghosted. This is some kind of confusing for the user.
How this can be fixed?

Thanks
Chris

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #167684 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Front Edit show specific categories

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

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

More
6 years 6 months ago #167716 by Chris Vrakotas
Replied by Chris Vrakotas on topic K2 Front Edit show specific categories
I've read the post, but I don't know how to add the jQuery script to this php file.
Can you help?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #167733 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Front Edit show specific categories
You need to override the itemform.php file and add the script using Joomla!'s API
docs.joomla.org/Adding_JavaScript

More information on overrides can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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

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

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 6 months ago #167781 by Chris
Replied by Chris on topic K2 Front Edit show specific categories
Ok, thanks I'll try to figure out how to do it.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #167784 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Front Edit show specific categories
Best of luck with your project :)

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