Replies: 1 comment 2 replies
-
Hi, I asked about this years ago... I think that @rica-carv found a workaround I am using The only way how I was able to do it: (It is just a screenshot from some plugin I have online - to see position) put this in init() and add method - just an example from searching github online, I have a better way somewhere (when I find it, I will add it here)
You can/could find this in many of my plugins. About the admin menu... in my plugins, I always separate the menu and admin UI part. It is not recommended and I create a folder admin. One of the main reasons is that I don't want to admin_config.php replaced by using a plugin builder repeatedly (it is needed with complex plugins). During that time I had a lot of versions of how to do it... my questions about this weren't answered. With each plugin, it was better and better. Unfortunately, I lost my backup, the only available sources are left on github. or look in "vstore" plugin for how to create a separate admin page for each admin menu item. Maybe you will get it. I didn't at that time, so I am using my way, |
Beta Was this translation helpful? Give feedback.
-
Creating a plugin with the plugin builder, if someone has a lot of database tables, the admin_config.php has a punch of Manage(list), and Create(create). It would be nice if we can remove the create, and just add it as a button on the list(Manage) page. Something simple like what the create page has with the Create/Cancel butt.
Example:
What it looks like:
What I want it to look like:
I would try to just do it myself, but I have no clue where to look to do so, I would make a custom page with my own button, but again - I don't know where the template is for admin config's for plugins.
Beta Was this translation helpful? Give feedback.
All reactions