Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Werner Andreas

Custom Editable Column Question

Hello,
i have the developer edition of ACP and i’m trying to develop a custom add-on to make a taxonomy column editable.
The taxonomy is called “Media Category – media_category” and is generated by the “Enhanced Media Library” Plugin ( see here )

I have downloaded your starter plugin from Github and everything is explained very well; the problem i am facing starts at Step 4 and 5 – Retrieve & Store the value.
Your example shows how to retrieve a value from a meta field, which is easy, but unfortunately i don`t know how to retrieve and store the values from the “media_category” taxonomy:(

Can you please help me further, and maybe also add an example of retrieving/storing taxonomy values in your starter plugin?

Here is a screenshot:
Screenshot

And here is my plugin PHP file:
http://andiszek.com/dump/ac-editabie-media_category.zip
(see lines 48 & 58)

thank you in advance!
andi

8 years, 9 months ago
Tobias Schutter
Developer

Hi Andi,

If you want to add an editable “Media Categories” column I would suggest to use the “Taxonomy” column and select the Media Categories taxonomy. This column has native support for sorting, filtering and editing!

Cheer,
Tobias

8 years, 9 months ago
Werner Andreas

Hi Tobias,
it works!
Thank you for the tip, why haven`t i thought of that before:(

best regards,
andi

8 years, 9 months ago
Tobias Schutter
Developer

Great! Topic closed :)

8 years, 8 months ago

You must be logged in to reply to this topic.