Birthday Module + Panels

Buffer2k - February 10, 2009 - 06:57
Project:Birthdays
Version:6.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

i am using the advanced profile kit, which depends on the panels module.

Is there a way to have a block or view with his own data to integrate the birthday, sign and age to a user panel?

Have a nice day!

#1

Buffer2k - February 10, 2009 - 06:59
Title:Nirthday Module + Panels» Birthday Module + Panels

I mean Birthday....

#2

maartenvg - February 10, 2009 - 07:07

I don't have a lot of experience with panels, but if I'm not mistaken (and you are good with code), you can create an extra module that declares a block containing just that. Then you should be able to show that in the APK.

You'll need to get the current user being watched (arg() and user_load() will come in handy for that). Then format the content of that block using the appropriate Birthdays API calls (for an example see how it is done with in the Birthdays module for the profile view).

Then you should be set to do your panels-thing.

#3

Buffer2k - February 10, 2009 - 08:40

i am not good with code :\

 
 

Drupal is a registered trademark of Dries Buytaert.