Keyword

Add an extra radio button in the category admin back-end

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 3 months ago #97650 by Nick
Hey guys!

I'm trying to add a new radio button in the category admin view (so the area where you fill in the title and alias and stuff).

 

I want it to be exactly like the Publish radio button but i'm not sure how to achieve this. I already have the column in the database table called "complete" and i've got the actual row in the category back-end. However the radio buttons are not there and I have no clue how to run a sql query to the database to set the field value to 1.

 

what i want to achieve is when a certain category contains all the items it needs to contain, the user can log into the back end and select the "Yes" radio button to sign that the category is complete. This will then show on the front page. What I want to do now is to be able to get the "1" into the database field.

Any ideas where this query is being run in K2? I don't think it's in the view.html.php under administrator->components->com_k2->views->category

 

Perhaps under controllers? I'm not really that big with MVC frameworks.

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


Powered by Kunena Forum