Dbirhtdays Layout

DBirthdays module (mod_dbirthdays) shows nearest birthdays (future or past) of your site users.

Dbirhtdays Layout

Postby junior_duda » Wed Jul 07, 2010 7:25 pm

Hi, thanks for the great work about Dbirthdays,
I'm trying to change the layout display, I wish to customize the output to put the avatar on a columm and the name in a right row like on the image,
Image

junior_duda
 
Posts: 2
Joined: Wed Jul 07, 2010 7:16 pm

Re: Dbirhtdays Layout

Postby Darkick » Thu Jul 08, 2010 6:36 am

Try these parameters:

Birthday TODAY: $name<br />$new_birthday_date<br style="clear: left" />
...
Birthday any other day: $name<br />$new_birthday_date<br style="clear: left" />

DAvatar params: align=left

Darkick
 
Posts: 204
Joined: Fri Sep 04, 2009 10:16 pm
Location: Russia, Ekaterinburg

Re: Dbirhtdays Layout

Postby junior_duda » Thu Jul 08, 2010 6:30 pm

WOW Darkick, its perfectly, thanks so much,

junior_duda
 
Posts: 2
Joined: Wed Jul 07, 2010 7:16 pm

Re: Dbirhtdays Layout

Postby rfn » Mon Aug 02, 2010 8:54 pm

I've done this as well and it works, but the text aligns itself to close to the images. How do I add some space (padding?)

rfn
 
Posts: 3
Joined: Sun Aug 01, 2010 12:31 pm

Re: Dbirhtdays Layout

Postby Darkick » Tue Aug 03, 2010 5:44 am

DAvatar params: align=left|style=padding: 5px;
This give you 5 pixels padding around the avatar.

Darkick
 
Posts: 204
Joined: Fri Sep 04, 2009 10:16 pm
Location: Russia, Ekaterinburg


Return to DBirthdays

Who is online

Users browsing this forum: No registered users and 1 guest