Dropdown list - list_text - content / node type

I want to programmically create a dropdown list in a content type:
listing :
0 kids
1 kid
2 kids
3 kids
aso.

//ADDING FIELDS ******************
1 function _mystest_installed_fields() {
2 $t = get_t();
3 return array(
4 'name' => array(
5 'field_name' => 'listkids_choice',
6 'type' => 'list_text',
7 'settings' => array(
8 'max_length' => 2,
9 ),
10 ),
11 );
12 }

Jackson Theme

I am running Drupal 7.4 on a freebsd server. I have decided to use the Jackson Theme (very nice by the way). The one problem that I have is that the Site Name did not show up. Well I figured that one out, but it shows up to dark and not the size I selected. Please set me in the right direction on how to fix this.

thank you,
Amy

Display image title (or alt) with a node template

I am using a node template printing a node's image(s) seperate from $content. It basically looks like this:

<?php print render($content['field_image']); ?>
<?php print render($content); ?>

I want to add a caption below each image. When I output $content using print_r, I find that the title attribute in:

Using OG & Rules to confer a role in D7

I guess technically this isn't post-install - I'm trying to suss this out before creating a D7 install for testing :)

What I'd like to is to give a user a role once they join a group. There will be multiple groups, but the role would be the same (say 'Member' vs 'Authenticated User'). So the rule would need to be based on joining *any* group vs a specific one. I guess we'd have to account for the possibility of different group content types - like Club vs Committee, for example.

Update.php never finishes

I have two sites that I upgraded from Drupal 7.4 to 7.7. One worked fine. But on the second one when I run update.php, it says

1 pending update
menu module

7001 - Rename "Primary Links" and "Secondary Links" to their Drupal 7 equivalents.

But when I run this update, it never finishes. It is stuck in the Run updates step. What do I do?

Thanks for help.
tj

Problem with WYSIWYG + IMCE (images)

Hello

So I want to be able to upload images with my wysiwyg (tinymce) and insert them in my plain text. This is what tinymce + imce should do and it works, partially. I can upload images, and insert them, but when I post the article, post or whatever content type it is, the image doesn't show! It does show in the text field when typing though!

Help is appreciated!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x