Jump to content

Adding custom field on 'whmcs/clientarea.php?action=services'?


0xB0BACAFE

Recommended Posts

Hello, I'm trying to add one custom field in my 'whmcs/clientarea.php?action=services' area, but after some tests, no progress.

        <tbody>
            {foreach key=num item=service from=$services}
                <tr onclick="clickableSafeRedirect(event, 'clientarea.php?action=productdetails&amp;id={$service.id}', false)">
                    <td class="text-center"><i class="fa fa-cube fa-2x" aria-hidden="true"></i></td>
                    <td><strong>{$service.product}</strong>{if $service.domain}<br />{$service.domain}</a>{/if}</td>

                    # Here where I'm trying to add the custom field.
					<td class="text-center">{$client_custom_field_customertype}</td>
                    
					<td class="text-center"><span class="label status status-{$service.status|strtolower}">{$service.statustext}</span></td>
                    <td class="responsive-edit-button" style="display: none;">
                        <a href="clientarea.php?action=productdetails&amp;id={$service.id}" class="btn btn-block btn-info">
                            {$LANG.manageproduct}
                        </a>
                    </td>
                </tr>
            {/foreach}
        </tbody>

Basically, using '{debug}' parameter, I noticed that variable don't come to this page, and don't have idea how I can import this.

The custom field that I need is to add the IP Address of a specific VPS instance.

ZB4jvzX.png

Anyone had done that or know some form?

Thank you at all.

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