You're a little bit on the wrong track. You don't want to change header.html into a php file, you want to pass it a roundcube:object or roundcube:label. Then the template engine will take care of it. This is part of the separation of presentation logic from the rest of the code.
good luck!
-Charles
shacketweb@juno.com wrote:
I am trying to adjust the code to display the email account that the user logged in under (_user@_host from login). The best location I can find is to the left of the email button at the top of the page.
I have adjusted skins/default/includes/header.html to be a PHP file. I have changed the link to that file in skins/default/templates/mail.html to reference the PHP header file (not the html one).
The problems I am having are two-fold:
I can not figure out which variables hold these values. $_SESSION['what?']...$CONFIG['something?']...?
I can not get the newly created header.php page to respond to or display PHP code. It displays the plain text I put there, but <?php echo "test"; ?> doesn't display anything on the page.
Any thoughts of how I can accomplish this?
Try Juno Platinum for Free! Then, only $9.95/month! Unlimited Internet Access with 1GB of Email Storage. Visit http://www.juno.com/value to sign up today!