Drupal Zombie

If you're not a full-time programmer, learning Drupal development is hard. Look at the API docs, and you feel your brain slow-i--n---g.

Zombification!

DrupalZombie (http://drupalzombie.com) is for people who want to develop for Drupal 7, but are not übergeeks. Weekend programmers.

The articles are written by a quasihuman who is a better teacher than programmer. The articles:

After creation content type not listed in "Add Content"

Hello,

I am a newbie who installed Drupal 7.7 (Running MAMP 2.0.1 on Mac OSX 10.6.8)
modules I installed (following the course "Beginning Drupal 7" by Apress)
Backup_migrate
cck
ctools
nice_menus
panels
token
views
webform
wysiwyg

Page full of weird characters

Hello all,

I hope you are able to help me with the following problem. I had a perfectly working drupal 7 site until suddenly the site itself wouldn't load any longer and would just view:

��\�v�6���O�2g{�m(^t�����vn��s��MڪG!�6o!A�N��������b;�7��%GN���O"R8���:������?&3�{���_>?%�n�qvqF�?�x����=��j�����v@�6�<��b�h,��0��h|�s���HM�� խ���p,:��� 9�y�:::��iب��`z��m��� ��ʈF7>�<#;�no�<���'��Ib �~��K��(uƫO9c���OJ�&!�� EQc�f�*��y�p5|fɃ�dS+�4Mô

page.tpl.php: print user menu? (I have a start to look at)

Hello,
I'm trying to load/print the user menu as part of my theme. So far I can do this to get user menu links:

<pre><?php print_r(menu_navigation_links('user-menu')) ?></pre>

I would think this would work but it doesn't (Am I stuck on Drupal 6 somehow?):

<?php print theme('links', menu_navigation_links('user-menu')); ?>

I see nothing rendered. No errors reported. Any thoughts on what I'm missing?

Thanks a ton in advance.

mailing lists managment recommendations? (or mailman intergration)

hello,

how do u recommend managing mailing lists in drupal?

now our lists are managed by mailman, but as far as i found all mailman modules are for drupal 6.x or below.. but at the same time i see that drupal.org itself uses mailman mailing lists - anyone has an idea how do they do it?

thx,
a.

How to Create Default Value for User Reference Field

Hi there,

I recently spent an hour researching how to create a default value for a user reference field. I wanted to create a work history for my users which they would fill in themselves. Obviously, the work history needed to reference to the user filling in the form. For the work history content type I had created a user reference field and I was having difficulty working out how to automatically fill it in with the name of the user.

There seemed to be three approaches:

1. Use a PHP snippet in the default value field for the content type.
2. Use the Prepopulate module.
3. Use hook_form_alter.

The first option was not available to me because I'm using Drupal 7, and Drupal 7, as far as I know, doesn't allow PHP snippets in the default value field for fields unlike Drupal 6.

The second option is helpfully outlined at CCK user reference auto complete by Radiating Gnome and also by N1ckhead at User Reference.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x