Jump to content

Syleron

Members
  • Posts

    19
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Syleron

  1. @Adam Thank you so much! I appreciate the fix
  2. I'm attempting to access support tickets via the API but no matter the request I keep getting the following error: object(BlestaResponse)#7 (2) { ["raw":"BlestaResponse":private]=> string(68) "{"message":"The requested resource does not exist.","response":null}" ["response_code":"BlestaResponse":private]=> int(404) } Example Request: function getTicket($id) { $data = [ 'ticket_id' => $id, 'get_replies' => true, 'reply_types' => null, 'staff_id' => null ]; $response = $this->api->get("support_manager.support_manager_tickets", "get", $data); var_dump($response); return $response; } Can someone please advise? Cheers
  3. Hello, I was wondering if someone could let me know if it is possible to grab support tickets via the Blesta API? If so, a link to the docs would be fantastic!
  4. Looking forward to the Proxmox Reloaded updates!
  5. Trying to modify a module and select info from another DB than the blesta db. How would I go about doing this? Edit: Apart from directly opening the DB connection and closing it directly in the method...
  6. Title pretty much says it all. Could we possibly see the Yubikey added to the list of supported 2 factor auth? https://www.yubico.com Best regards, Andrew
  7. I tried grabbing the session but that's not working. I would like to know whether or not a user has logged in through the root website (The area before they get to the Blesta portion of the website) Any ideas? Cheers!
  8. I'm trying to grab the user's email using Contacts::get() but I'm not sure how to get the user's client id so I can pass it through. Any idea? Thanks, Andrew Edit: Found that you can use $_SESSION['blesta_client_id'] but is there a better way of doing this?
  9. This is hardly the best way of doing it but it works. (Don't judge me ) In /app/views/client/bootstrap/javascript/jquery-client-3.2.0.js method blestaLoadWidget find: var temp = $(data.content); after it put the following: // Append the widget to the page if (data.content.indexOf("services") >= 0) $(container).prepend(temp); else $(container).append(temp); That's it! edit: forgot to mention which method to change lol
  10. I don't believe this is currently possible through the web interface. I would like the ability to manually set/change the renewal date for a service. Cheers, Andrew EDIT: I just noticed the ability to change renewal date under the actions dropdown when modifying a service. My apologies.
  11. Fantastic, thanks again Tyson! Andrew
  12. I'd like to grab the value of one of my custom fields and display it on one of the client pages. How would I go about grabbing the value of the custom field? Thanks, Andrew
  13. Except I'm not looking to giving the people the ability to customize the layout through drag and drop.. I just want to hard code it so that services always show first
  14. Why is it impossible? It seems out of all the things that would not be possible would be this as the majority of the code is available to you.
  15. That method doesnt seem to work on the client page but even if it did it still doesnt really solve the fact that I would like the widgets to load in a specific order for everyone. Any other ideas? Thanks again!
  16. Hello! I was wondering if anyone could assist me on where to look in order to change the order of the widgets on the client dashboard? (Invoices, services, transactions). Cheers, Andrew
×
×
  • Create New...