- Posts: 21
COMMUNITY FORUM
Front-end add new article - avoid categories selec
- Udi K
-
Topic Author
- Offline
- Junior Member
Less
More
11 years 3 months ago #123851
by Udi K
Front-end add new article - avoid categories selec was created by Udi K
Hi,
I use K2 categories and items, selected from the main menu.
When user selects a category, he sees all articles and can add new article.
Selecting "Add Item" brings the K2 edit screen with all categories, so the user can select another category.
How can I avoid it?
Thanks
I use K2 categories and items, selected from the main menu.
When user selects a category, he sees all articles and can add new article.
Selecting "Add Item" brings the K2 edit screen with all categories, so the user can select another category.
How can I avoid it?
Thanks
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 3 months ago #123852
by Yiota
Replied by Yiota on topic Re: Front-end add new article - avoid categories selec
You can limit the user group's access to the categories you actually need them to add/edit items.
Please Log in or Create an account to join the conversation.
- Udi K
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
11 years 3 months ago #123853
by Udi K
Replied by Udi K on topic Re: Front-end add new article - avoid categories selec
Thanks - but it doesn't prevent the user selecting another authorized category although he currently adds K2 item when he is at another category.
I want that when he is in specific category any new item will be added to that category.
Please advise.
Udi
I want that when he is in specific category any new item will be added to that category.
Please advise.
Udi
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 3 months ago #123854
by Yiota
Replied by Yiota on topic Re: Front-end add new article - avoid categories selec
I don't think you can do that. You can disable the selection by css, though.
Add this in your template's css file.
table.adminFormK2 tr td.adminK2RightCol select#catid {
-webkit-user-select: none; /* Chrome all / Safari all */
-moz-user-select: none; /* Firefox all */
-ms-user-select: none; /* IE 10+ */
user-select: none;
}
Add this in your template's css file.
table.adminFormK2 tr td.adminK2RightCol select#catid {
-webkit-user-select: none; /* Chrome all / Safari all */
-moz-user-select: none; /* Firefox all */
-ms-user-select: none; /* IE 10+ */
user-select: none;
}
Please Log in or Create an account to join the conversation.
- Udi K
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
11 years 3 months ago #123855
by Udi K
Replied by Udi K on topic Re: Front-end add new article - avoid categories selec
Hi,
Thanks a lot - we check it.
I'll inform if it works
:ohmy:
Thanks a lot - we check it.
I'll inform if it works
:ohmy:
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 3 months ago #123856
by Yiota
Replied by Yiota on topic Re: Front-end add new article - avoid categories selec
OK. Let me know. :)
Please Log in or Create an account to join the conversation.
- Udi K
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
11 years 1 month ago #123857
by Udi K
Replied by Udi K on topic Re: Front-end add new article - avoid categories selec
Hi,
Sorry for the delay.
We solved it internally and it works fine.
It means that adding an item within the category, the selected category is displayed automatically.
Thank you.
Udi
Sorry for the delay.
We solved it internally and it works fine.
It means that adding an item within the category, the selected category is displayed automatically.
Thank you.
Udi
Please Log in or Create an account to join the conversation.