- Posts: 4
COMMUNITY FORUM
featured articles
- Salvatore Oliveto
-
Topic Author
- Offline
- New Member
Less
More
11 years 2 months ago #126559
by Salvatore Oliveto
featured articles was created by Salvatore Oliveto
Hi all, can I inhibit the ability to make featured an article only from frontend for registered users? Allowing to do it only by backend (administrator)?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126560
by Lefteris
Replied by Lefteris on topic Re: featured articles
Hi. I don't get exactly what you want to do. Have you checked the "Allow editing of already published items" permission? This will allow your front-end users to edit items but not change their status ( published / featured).
Please Log in or Create an account to join the conversation.
- Salvatore Oliveto
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
11 years 1 month ago #126561
by Salvatore Oliveto
Replied by Salvatore Oliveto on topic Re: featured articles
I would only the administrator from backend, decide if an article is featured, disabling the feature from frontend for registered users
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126562
by Lefteris
Replied by Lefteris on topic Re: featured articles
Set the "Publish items" to "No" and "Allow editing of already published items" to "Yes". This way users on front-end will not be able to publish new items or make them featured but they would be able to update the already published items ( they will not be able to mark them as featured ).
Please Log in or Create an account to join the conversation.
- Salvatore Oliveto
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
11 years 1 month ago #126563
by Salvatore Oliveto
Replied by Salvatore Oliveto on topic Re: featured articles
...but I want registered users to publish articles from frontend, the only thing that they should not be able to do is make featured articles. This function should be reserved to the administrator from backend
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126564
by Lefteris
Replied by Lefteris on topic Re: featured articles
I am afraid that this cannot be done... A workaround would be to create an override for itemform.php and just remove the featured field. Of course someone who knows coding can overcome this, but most users will not even think about it.
Please Log in or Create an account to join the conversation.
- Salvatore Oliveto
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
11 years 1 month ago #126565
by Salvatore Oliveto
where itemform.php file is located ?
Replied by Salvatore Oliveto on topic Re: featured articles
Lefteris Kavadas wrote: I am afraid that this cannot be done... A workaround would be to create an override for itemform.php and just remove the featured field. Of course someone who knows coding can overcome this, but most users will not even think about it.
where itemform.php file is located ?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126566
by Lefteris
Replied by Lefteris on topic Re: featured articles
First read this getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates to learn more regarding K2 templates. Then you can create a custom template for K2 and alter the output as you wish.
Please Log in or Create an account to join the conversation.