sample create plugin for Add buttons in admin

Tuesday, April 23, 2024 2:30:28 PM
  • Posted: Thursday, October 10, 2019 10:20 PM
  • 41
hi i want add buttons in Shipment page for do new work
i do it in source code but i want do it by plugin can i do it by Widget in admin page?
                            <vc:admin-widget widget-zone="order_shipment_list_buttons" additional-data="null" />

how i can find avaiable zones  in admin ?
do you have any sample ?
thx
0
  • Posted: Friday, October 11, 2019 12:27 PM
  • 953
Hi Reza,

Please check out developer guides for more detailed information: http://docs.grandnode.com/developer-guides
Best regards,
Patryk

GrandNode Team
1
  • Posted: Thursday, October 31, 2019 4:49 PM
  • 41
Thanks i try create a plugin
i hide button whit this script

<script>
    $(document).ready(function () {
        //disable the pdf button
        $('#exportpackagingslips-selected').hide();
        $("button[name^='exportpackagingslips-all']").hide();
    });
</script>


but when add new form for call it in my plugin it's not work i add _ViewImports in Views my plugin folder
What else should I do
0
  • Posted: Thursday, October 31, 2019 4:52 PM
  • 41
new form code

<form asp-controller="ShippingPdfPrint" asp-action="PdfPackagingSlipSelected" method="post" id="pdf-packaging-slip-selected-form-new">
    <antiforgery-token />
    <input type="hidden" id="selectedIds" name="selectedIds" value="" />
</form>
0
  • Posted: Thursday, October 31, 2019 8:56 PM
  • 41
i fix it i forget add it in BasePlugin
0
back to top
Filters