sample create plugin for Add buttons in admin

5 czerwca 2020 20:15:44
  • Wysłany: 10 października 2019 22:20
  • 31
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
  • Wysłany: 11 października 2019 12:27
  • Moderator
  • 571
Hi Reza,

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

GrandNode Team
1
  • Wysłany: 31 października 2019 16:49
  • 31
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
  • Wysłany: 31 października 2019 16:52
  • 31
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
  • Wysłany: 31 października 2019 20:56
  • 31
i fix it i forget add it in BasePlugin
0
back to top
Filters