Okay
  Public Ticket #2527851
Creating Dashboard Page
Closed

Comments

  •  1
    Bob started the conversation

    I want to have a page on my site that will show the Amelia Dashboard. This will appear in the menu only if the user is logged in as administrator (I can already to that with an existing plugin), but I am not clear on how to access the dashboard page from the front end. Essentially, what I want is to have this appear in the menu: https://cavebearcoaching.com/wp-admin/admin.php?page=wpamelia-dashboard#/dashboard

  • [deleted] replied

    Hello Bob, 

    It isn't possible to add the dashboard of Amelia to the front-end, that would require customization of the plugin and we can't help out with that. Our support doesn't cover any customization of the plugin. There is some plugin that someone made to show the Amelia Calendar on the front-end  https://wordpress.org/plugins/theidealweb-amelia-shortcode-extended/#description

    so you can check it out, maybe it could help you achieve what you want. 


  •  1
    Bob replied

    I love it when somebody tells me that what I have already done is impossible... ;>)

    Here is how I got it working: 

    1) find a plugin that allows me to encapsulate some PHP code inside a shortcode. There are several that make it easy. I happened upon Insert PHP Code Snippet which worked just fine.

    2) Insert the PHP Code: header("Location: https://cavebearcoaching.com/wp-admin/admin.php?page=wpamelia-customers#/customers"); 

    3) Insert the associated shortcode into a text module: [ameliabooking employee=1]

    This approach allowed me to implement a simple front end to any of the back end Amelia reports. I created an Admin menu item that was enabled only if the user is logged in as Admin (another simple plugin: "If Menu") and then added menu items below the Admin menu for the reports I want to see. 

    The only downside to this approach is that when I click one of these menu choices, I wind up in the back end, but it is so much easier for me to see the report than the current method of going to the dashboard, scrolling down to the bottom of the list (reverse alphabetizing?) and then clicking in the report I want. 



  • [deleted] replied

    Hello Bob, 

    Apologies for replying a bit later, we don't work on weekends.

    I said it isn't possible in Amelia, meant with its built-in features, and that would require some customization (our support doesn't cover such customization of the plugin), so someone who knows around code and etc., like yousmile.png , could probably achieve that. 

    I'm glad to see you managed to achieve what you wanted. Thank you for sharing this. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help.