You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason for this is because applications, such as the one I work with, sometimes require class and id parameters to be added to the body tag. So far I've been using JavaScript to add them in order to make the application work. I would much rather just be able to set a $_PAGE['bodytag'] variable in order to correctly configure the body tag. The syntax above will help ensure that there is no impact if the $_PAGE['bodytag'] is not set.
Unfortunately (or maybe fortunately?) I am in a spot where I am not to modify the application core code nor the WET core code so as to ensure easy maintenance and support from both communities. While I enjoy the challenge most of the time, that leaves me with the options of customizing the application's theme or creating application plugins (which results in some pretty creative coding at times).
I realize that this request addresses one persons needs but I would imagine that other PHP based web applications might have the similar requirements.
Best regards,
Michael Milette
The text was updated successfully, but these errors were encountered:
Would it also be possible to add another new variables that would be a placeholder for extra parameters in the tag found in dist-php\inc\head-hav.php?
It would be added just before the initial php closing tag (around line 27):
And then in the body tag a few lines down:
The reason for this is because applications, such as the one I work with, sometimes require class and id parameters to be added to the body tag. So far I've been using JavaScript to add them in order to make the application work. I would much rather just be able to set a $_PAGE['bodytag'] variable in order to correctly configure the body tag. The syntax above will help ensure that there is no impact if the $_PAGE['bodytag'] is not set.
Unfortunately (or maybe fortunately?) I am in a spot where I am not to modify the application core code nor the WET core code so as to ensure easy maintenance and support from both communities. While I enjoy the challenge most of the time, that leaves me with the options of customizing the application's theme or creating application plugins (which results in some pretty creative coding at times).
I realize that this request addresses one persons needs but I would imagine that other PHP based web applications might have the similar requirements.
Best regards,
Michael Milette
The text was updated successfully, but these errors were encountered: