Creating user types?

Greetings,

I am creating a Drupal site for my son's youth football team. While under development, it can be seen at cc.ejbdesign.com. I'd like to create two user types for the site; player and parent. With this I'd like to somehow link records for parents and children. is this possible? For example, if someone were to look at my profile, they would see my child listed and vice versa. Can anyone point me in the right direction for this?

Thanks!

Eric

How to create, enable and disable blocks programmatically

I have defined a block like this in the .module file of my module:

function mymodule_block_info(){
$blocks['foo'] = array(
'info' => t('Foo awesome block'),
'status' => FALSE,
'region' => 'page_top',
);
return $blocks;
}

function mymodule_block_view($delta = '') {
$block = array();
switch ($delta) {
case 'foo':
$block['content'] = '< p >some html placed somewhere in the page

Taxonomy Manager, Imported Terms Don't Work "There is currently no content classified with this term."

I used taxonomy manager to import approximately 800 terms... I looked in the database, they are there. I looked at my URL alias' and they are there and mapped... but none of them work?

The error message I receive is "There is currently no content classified with this term."

So, for example, if I go to taxonomy/term/755 I receive that message. If I look at its alias it says, Alias: Fargo, System: taxonomy/term/755

In the database it clearly shows that taxonomy/term/755 is Fargo... but no go.

...what gives?

Form fields, for loop and Ajax

Maybe I've just been looking at it for too long... In the 'for' loop, included below, instinct says that one select menu and one textfield should display, followed by the next 'set' (it's just not an intuitive interface for the end user). What am I missing that I need to make the fields alternate? On a side note, I'd appreciate any ideas about how to put them next to each other.

insert <img> in main menu <li>

Hi,
I make a theme and I have a problem.
Where can I insert <img> tag in <li> main menu element ?
I modify theme.inc but this is not working. <img> isn't visible in <li> main menu

theme.inc

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x