Closed (fixed)
Project:
Dodge
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
5 Mar 2008 at 03:36 UTC
Updated:
20 Mar 2008 at 20:54 UTC
Hi, would it be possible to show a default dodge? So when users register it would show a dodge like 'You haven't dodged yet' without the 'You were'.
Kind regards,
Marius
Comments
Comment #1
mariusooms commentedActually re-thinking it...what I need is to just have "No dodge at this moment" set as default instead of an empty message. How could I accomplish this?
Comment #2
davyvdb commentedHi mariusooms,
You can do this in your own module using hook_user. As soon as a user is added, set his dodge to what you want.
But you're right, if there's no doge, the "your dodge history" block should say: "You have not set a dodge yet, please add a dodge.".
There's also another block coming that will solve this problem.
Davy
Comment #3
davyvdb commentedHi,
I've solved your problem now by altering the "your dodge history" block to "You have not set a dodge yet. Set your dodge in your user settings" if the user hasn't set a dodge yet.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.