Jump to content

How to echo the HTML Output in WHMCS Admin Order Page in table?


sonuyos

Recommended Posts

  
I have written this code and the print_r output it correct and shows the valid username and password of the service in the - https:// domain. com /billing/ADMIN/orders.php?action=view&id=ORDERID

However i want to have it displayed in a table format here - 

Can anyone help me? I have no idea how to put the HTML code output at that location, or to be honest in any location on the WHMCS admin order page.

There are multiple output, depending on the number of orders/service the order page has. Hence why i am using foreach.

 

Location of the place i want output.

image.thumb.png.9c58827663d3c126745d94fa9d6cb1d4.png

My code - https://3v4l.org/bFpOT (unable to post here).

Edited by sonuyos
Link to comment
Share on other sites

On 2/23/2022 at 8:39 AM, sonuyos said:

  
I have written this code and the print_r output it correct and shows the valid username and password of the service in the - https:// domain. com /billing/ADMIN/orders.php?action=view&id=ORDERID

However i want to have it displayed in a table format here - 

Can anyone help me? I have no idea how to put the HTML code output at that location, or to be honest in any location on the WHMCS admin order page.

There are multiple output, depending on the number of orders/service the order page has. Hence why i am using foreach.

 

Location of the place i want output.

image.thumb.png.9c58827663d3c126745d94fa9d6cb1d4.png

My code - https://3v4l.org/bFpOT (unable to post here).

You need to get the correct variable and return it to the template with AdminAreaPage.

Then you need to adjust the tpl to read this variable and present it like you want.

But with JavaScript as there is no admin order template…

Edited by pRieStaKos
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated