Pulling Env variables into Web Template Editor pages

jhawkins003

Well-Known Member
Jun 24, 2014
56
17
58
cPanel Access Level
Root Administrator
We have custom layouts built for the Web Template Editor pages in WHM (account suspended page, default account page, etc.) with a feedback form for users to submit issue reports. We would like to include a few hidden fields that submit data pulled from env variables (exact visited page, users browser info, etc.) but I can't for the life of me get the CGI generated template to pull the data. It ignores normal Apache calls and I can't find any documentation from cPanel as to whether they store them in something akin to their [% data.item %] syntax via the CGI template.

Has anyone else done this? Suggestions? I know I have to be missing something obvious ha!
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,234
2,422
363
cPanel Access Level
Root Administrator
Hey there! I did ask around a bit last week and didn't find anything useful related to this. My only other thought would be to submit a ticket so we can do a deeper look into how that area functions and find out what the options are.
 

jhawkins003

Well-Known Member
Jun 24, 2014
56
17
58
cPanel Access Level
Root Administrator
Hey there! I did ask around a bit last week and didn't find anything useful related to this. My only other thought would be to submit a ticket so we can do a deeper look into how that area functions and find out what the options are.
Rex, thank you for looking at this and appreciate the advice!
 
  • Like
Reactions: cPRex