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!
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!
With the latest CVS version, you can use <roundcube:object name="username" /> within the skin template. This will return 'username@host' from the current session.
Regards, Thomas
2006/1/26, shacketweb@juno.com shacketweb@juno.com:
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!
When I 'Reply-all' I get the email back, since I was one of the original recievers, but it's confusing b/c then I get the email I just sent in my inbox. I seem to remember other clients having the option of turning that off.
http://fak3r.com - you don't have to kick it
In the latest CVS, for all e-mail messages with the header:
charset=US-ASCII;
The message is not displayed. If the charset is charset="iso-8859-1" or is not present it displays fine. Haven't checked other charsets yet.
-Charles
Ooops, looks like the charset conversion function does return false if no translation table is found... will fix that as soon as possible.
Regards, Thomas
Charles McNulty wrote:
In the latest CVS, for all e-mail messages with the header:
charset=US-ASCII;
The message is not displayed. If the charset is charset="iso-8859-1" or is not present it displays fine. Haven't checked other charsets yet.
-Charles
On Mon, 30 Jan 2006 08:19:43 +0100, Thomas Bruederli roundcube@gmail.com wrote:
Ooops, looks like the charset conversion function does return false if no translation table is found... will fix that as soon as possible.
Regards, Thomas
Charles McNulty wrote:
In the latest CVS, for all e-mail messages with the header:
charset=US-ASCII;
The message is not displayed. If the charset is charset="iso-8859-1" or is not present it displays fine. Haven't checked other charsets yet.
-Charles