I have installed the Blank Sidebox Mod on 1.3.8a. Rather than placing the content in tpl_blank_sidebox directly, I would like to be able to reuse the EZ Pages Page 2, 3, 4 (which I am not now using) to contain the content in text or in HTML.
That way I can change the contents in Admin>Tools>Define Pages Editor>define_page_2(or 3 or 4).php and have it show up in the blank sidebox. This would aleviate the need to upload new or changed content to the server.
The blank sidebox has code that builds a variable called $content. At the appropriate spot in tpl_blank_sidebox, I want it to read the content of define_page_N.php (even if it is plain text or if it is html code eg. images, links etc.) and present it in the sidebox.
I am not a formal student of PHP, or HTML for that matter (only what I learned from looking at Zen Cart code.) I know there is a Require(), an Eval() and an Include functions, and one has to watch out that the returned value is captured and added to the $content string, but I am at a loss for the correct combination of function calls. Is this even possible?
If there is anyone who understands what I want to accomplish and can direct me with a little bit of coding, I would be appreciative. Thank You.
PJD




