Pulling Env variables into Web Template Editor pages
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!
-
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. 0 -
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!0
Please sign in to leave a comment.
Comments
2 comments