Keyword

Frontend User Featured Item - Can this be Disbaled

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 4 months ago #129027 by John Vincent
Hi,

I have seen several post about this Featured Item issue. Can someone help me clarify if this can be done via the settings in Joomla/K2 admin panel

OR

Do you need to edit the PHP code for the site.

Thanks,

John

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

More
10 years 4 months ago #129028 by Lefteris
Hi. First you need to clarify what are you talking about. K2 does include an option for hiding the 'Featured' notice (next to title) in K2 category parameters.

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

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

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 4 months ago #129029 by John Vincent
Hi,

In the editor there are two options - Featured & Published.

I want to turn off the Featured Item - so registered users who post to our forum can not select that option.

Here is an image of the editor

John

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

More
10 years 4 months ago #129030 by Lefteris
You will have to create an override for itemform.php . First read getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates . Then in the override replace the radio button with the following code:
<input type="hidden" name="featured" value="0" />

Note that someone who knows HTML programming can still make an item featured. This will just hide the radio button.

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