Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Rombouts 71 posts 265 karma points
    Oct 25, 2013 @ 08:00
    Peter Rombouts
    1

    Extending 'SearchOrders.aspx' in backend

    Hi guys,

    I've written an export tool for some transport provider in the Netherlands, but I am searching for a location to put my button.
    Ideally I would like to do the following:

    Is there any way to edit these screens for custom tooling?

    Some context: My goal is to use the 'select and search orders' screen, and give my customer the same UI whether he is searching/deleting/capturing or exporting (with our custom piece).

    Thanks in advance for your reply,

    Kind regards,
    Peter Rombouts

  • Anders Burla 2560 posts 8256 karma points
    Oct 25, 2013 @ 08:08
    Anders Burla
    100

    Hi Peter

    The UI file is in Umbraco\Plugins\tea-commerce\Views\Orders\SearchOrders.aspx

    You can change the UI BUT can't change the behaviour. So you properly have to make your button do an ajax call and send the different parameter from the UI to that method. Then generate the csv and return it.

    Or you can make a custom node in the tree and make your entire own UI.

    Kind regards
    Anders

  • Peter Rombouts 71 posts 265 karma points
    Oct 25, 2013 @ 08:13
    Peter Rombouts
    0

    Hi Anders,

    Thanks for your reply; I already thought it was not possible, but it doesn't hurt to ask ;)
    We will try to implement a new node, which is a nice workaround.

    Pulling this off with AJAX is a bit messy I think, because if a TeaCommerce update comes along, our button will disappear.

    Kind regards,
    Peter Rombouts

Please Sign in or register to post replies

Write your reply to:

Draft