Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Read-only custom client field

$
0
0
I've created a module that tracks some extra data about clients. I want to show this data on the client profile page in the admin area, but it has to be read-only as admins must not make changes. My first thought was to just create a custom template that displays my data as static text, but it looks like customizing the admin templates is not supported (boo - that'll make a lot of things we have planned much harder).

My next thought was to create a custom client field and only show it in the admin section. I haven't checked yet, but I assume there is some way for my module to set the value of that field. What I don't see how to do, however, is make it read-only. Is there some way to do this?

Thanks.

Viewing all articles
Browse latest Browse all 13458

Trending Articles