views:

45

answers:

1

We need a customized user profile page for users that signed up this month (some marketing promo).

What would be the simplest way of doing this? Again its only for users that signed up this month. Please provide detailed instructions if possible.

Thank you

+1  A: 

In page.tpl.php

body class="<?php if(arg(1) == 'user') echo date('m-Y'); ?>"

Style with css. You could get a little more explicit with that if so only certain profiles get a class.

Instead of just echo date('m-Y');, query the database to get the created value and strtotime.

eatsleepdev

related questions