Copied to clipboard

Flag this post as spam?

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


  • Pau 14 posts 75 karma points
    Apr 21, 2015 @ 13:54
    Pau
    0

    Custom Actions

    Hi all,

    Im using:

    menu.Items.Add<ActionBrowse>("Clients list");

     

    i would like to know, how to build my custom actions.

     

     

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Apr 21, 2015 @ 16:44
  • Pau 14 posts 75 karma points
    Apr 22, 2015 @ 09:01
    Pau
    0

    Yes, thats what i needed, thanks my friend ^^, you got my vote 

  • Pau 14 posts 75 karma points
    Apr 22, 2015 @ 11:33
    Pau
    0

    One more thing, i created my custom action:

        var listClients = new MenuItem ("ClientList","Client List");

                        listClients.Icon ="umb-content";

                        //listClients.NavigateToRoute(" xxx ");

                        menu.Items.Add(listClients);

    and this is my Folder Tree -> CustomSectionApplication/backoffice/CustomSectionTreeController/SubMenu/ClientList.html

    I cant figure which is the route i need to use in the NavigateToRoute method.

    If i use the full folder tree it just closes the node tab.

    if i use the customSection/CustomSectionTree/SubMenu/ClientList.html route

    it goes to umbraco/views/CustomSectionTree/SubMenu.html

  • Pawel Bres 39 posts 160 karma points c-trib
    Apr 24, 2015 @ 09:46
    Pawel Bres
    0

    Hi Pau,

    I didn't test it but maybe try to add /App_Plugins/ a the beginning of your path ?

  • Taylor Mitchell 19 posts 43 karma points
    Nov 17, 2015 @ 21:10
    Taylor Mitchell
    0

    I'm having the same issue, did you ever figure out how to fix that redirect?

Please Sign in or register to post replies

Write your reply to:

Draft