Okay wiki added
http://wiki.qmailtoaster.com/index.php/Clickable_Banner
On step 7:
can I know why there is second div without image?
7.
<!-- FOR you: Div for center, a href to link and an img tag as the linked
item //-->
<div style="text-align: center;"><a href="http://www.yourlink.com"
target="_blank"><img height="60" width="468" alt="any text
here"src="../images/yourimage.png"></a></div>
<div style="text-align: center;"><a target="_blank"><img height=""
alt="Ant text here for use" src=""></a></div>
</body></html>
On 05-Mar-11 1:03, [email protected] wrote:
Hi Pak,
here is the howto, can you put on the wiki please.
Adding a second Image that is clickable to your Squirre amail Login screen
1. Login as root to “ Your “ server
2. cd /usr/share/squirrelmail/src
3. Make a backup of the original login.php
4. cp login.php login.php.org
5. Edit the file login.php
6. Add the text right at the bottom of the file, after :
do_hook('login_bottom');
?>
7.
<!-- FOR you: Div for center, a href to link and an img tag as the linked
item //-->
<div style="text-align: center;"><a href="http://www.yourlink.com"
target="_blank"><img height="60" width="468" alt="any text
here"src="../images/yourimage.png"></a></div>
<div style="text-align: center;"><a target="_blank"><img height=""
alt="Ant text here for use" src=""></a></div>
</body></html>
8. Copy your image in " png " format to ( using sftp or ant other means )
/usr/share/squirrelmail/images
9. Check permissions, should be owned by root:root, and 0644
if not run these commands:
cd /usr/share/squirrelmail/images
chown root:root yourimage.png
chmod 644 yourimage.png
10. Load up your webmail site, you should see your new clickable image.
Notes:
Originally my image would NOT show up
to Fix, I copied then default logo(sm_logo.png) to my windows PC, used
mspaint top open,
did edit , select all, hit delete.
I also opened my logo, did select all, copy, THEN pasted into the now
empty default squirrelmail logo .
Saved as sm_logo2.png, copied back to /usr/share/squirrelmail/image
set the correct logo name in the login.php file and Voila
Enjoy
madmac
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]