Jump to content

Client area for provisioning module not showing up


ajithp

Recommended Posts

Hi , I'm new to whmcs development. Pardon me , if my question seems silly,and direct me to right path

My question is : I've made a provisioning module in my dev license. I've added a sample client area function to it

I'll paste it here

 

function sqprovision_ClientArea($params) {

131

133

134 $code = '<form action="" method="post" target="_blank">

135 <input type="hidden" name="user" value="'.$params["username"].'" />

136 <input type="hidden" name="pass" value="'.$params["password"].'" />

138 <input type="button" value="Login to Webmail" onClick="window.open(\'http://'.$serverip.'/webmail\')" />

139 </form>';

147 return $code;

148

149 }

 

I've linked this to product with id=4

how would I render this in front end ?

what will be its url ??

please help me out

 

:?::?::?::?::?:

Link to comment
Share on other sites

Hi sentq,

Thanks a lot for the reply.

I've added those codes from git.

It didn't worked out well.

I tried to change my theme to default, then it worked fine. so it was problem, with custom theme , that was not properly build (Someone else did it :oops:)

 

Thanks for support Sentq

Link to comment
Share on other sites

I got one more doubt , how to render custom functions in provisioning module

Please check the sample provisioning module file, it has all examples in place with their description.

 

both of your questions has examples in there. like the one I mentioned early.

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