Jump to content

Change Product/Service Status Text


BryanB

Recommended Posts

I would like to use the product/service status feature in a different way, I just want to change the names of each status so instead of "Active" I would like it to say "complete" ect.. I was able to do it on the clients front end but now I have to remember which is which because it doesnt show in the admin drop down box.

 

I know the admin files are encoded but is there anyway to work around that?

 

If not does anyone know how I can include just a few lines of text on the admin page next to the status box that says something like, Active=Complete, Suspended=In progress?

 

I've seen modifications to the admin pages via javascript in a password generator mod and am wondering if that would be the best way to do this?

 

something like...

 

// Get the status drop down box, if there is one
var e = document.getElementsByName("status drop down box");
if (e.length>0)
{
}

 

I'm looking to change the page on admin/clienthosting.php

00000451.png

 

 

Any ideas?

 

Thanks

Link to comment
Share on other sites

Well, I checked around and found something may help you:

In the admin folder goto your template folder (probably /WEBSITE/whmcs/admin/templates/v4)

you will find footer.tpl

add the following code:

{literal}
<script type="text/javascript">
var statusElm=document.calendarfrm.status;
alert(statusElm.length);
</script>
{/literal}

check what you can do with that.

 

Hope that was helpful ;)

Link to comment
Share on other sites

hmm, thats weird.. my admin/templates/v4/footer.tpl looks nothing like that. All I have in my footer file is this:

 

    </div>
 </div>
 <div class="clear"></div>
</div>
<div id="footer">Copyright © <a href="http://www.whmcs.com/" target="_blank">WHMCompleteSolution</a>.  All Rights Reserved.</div>
</body>
</html>

 

Well, I checked around and found something may help you:

In the admin folder goto your template folder (probably /WEBSITE/whmcs/admin/templates/v4)

you will find footer.tpl

add the following code:

{literal}
<script type="text/javascript">
var statusElm=document.calendarfrm.status;
alert(statusElm.length);
</script>
{/literal}

check what you can do with that.

 

Hope that was helpful ;)

Link to comment
Share on other sites

  • 11 months later...

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