Hire us to design your site.
Jul
12
2011

Informations Messages

Information messages is to inform the user about something relevant.
 

 you can read the first tutorial here …
 
and a few weeks later he write this tutorial you can read it here …
 
and see the demo here …
 
you can download free status icons here …
 
you can take a look at this to …
 
next week I should make some example how we can have it on vldpersonal …
 
example in bottom of register have a message saying that you now have to confirm you membership and also look in your junk mail if you not found it on your mail … maybee like this ?
 
“Please … don’t forget to check your junk mail sometimes the mail been there …”
 
have you another example of text instead of mine please tell me

1 comments from janclaeys : here come a quick install note
 
1) add the following code to site.css
 
/* Info messages */
 
.info, .error {
 
border: 1px solid;
 
margin: 10px 0px;
 
padding:15px 10px 15px 50px;
 
background-repeat: no-repeat;
 
background-position: 10px center;
 
}
 
.info {
 
color: #00529B;
 
background-color: #BDE5F8;
 
background-image: url(‘info.png’);
 
}
 
.error {
 
color: #D8000C;
 
background-color: #FFBABA;
 
background-image: url(‘error.png’);
 
}
 
2) modify your message.tpl wich is inside your template dir and change it to something like this
 
<!– IF app_message_type == “info” –>
<div>{app_message}</div>
<!– ELSEIF app_message_type == “error” –>
<div>{app_message}</div>
<!– ENDIF –>
 
3) your done!
 
Offcourse you can take more modifications but this gives a quick view i think how everything is handled.

About the Author: gugu

Hey ... I´m the owner of this site ;) If you need help customize your vldpersonals site. Please ask me and I will try to help you. Enjoy reading !

Comments are closed.