I would like to let users make a picture gallery in Drupal 7. I have
the gallery formatter and colorbox modules loaded, but can't figure
out how to use it to make a gallery content type that users can use
to create their own galleries.
I followed this:
Installation:
- Extract Colorbox
library in your sites/all/libraries/
folder
- Install Gallery
Formatter and Colorbox
Drupal 7 modules
- Create a new content type, or add a new
field to an existing content type
- Select 'Field' as 'Image'
- Select 'Widget' as 'Image'
- Apply primary settings as required: Public
or Private files, and a default image if
necessary - click "Save field settings"
- Apply secondary settings as required: most
of these can be left blank without
consequence. Change the "Number of values"
dropdown from '1' to 'unlimited' for good
luck.
- Click on the "Manage Display" tab near the
page top, and next to your new field change
the 'Image' format to 'jQuery Gallery'
- Click on the right-side gear to change
Gallery Formatter settings - select
'Colorbox' from the 'User jQuery modal for
full image link' box near the bottom - click
'Update'
- Save the content type, and make some
galleries.
But it is the last step that does not work for me. When I try to
make a gallery page, and upload an image, I get:
- Warning: call_user_func_array() [function.call-user-func-array]:
First argument is expected to be a valid callback, 'node_form'
was given in drupal_retrieve_form()
(line 771 of /home/content/89/6787389/html/xisam/includes/form.inc).
- Notice: Undefined index: #node in
comment_form_node_form_alter()
(line 1190 of /home/content/89/6787389/html/xisam/modules/comment/comment.module).
- Notice: Trying to get property of
non-object in comment_form_node_form_alter()
(line 1207 of /home/content/89/6787389/html/xisam/modules/comment/comment.module).
- Notice: Undefined index: #node in
menu_form_node_form_alter() (line 594 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).
- Notice: Trying to get property of
non-object in menu_form_node_form_alter()
(line 594 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).
- Notice: Undefined index: #node in
menu_form_node_form_alter() (line 600 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).
- Notice: Trying to get property of
non-object in menu_form_node_form_alter()
(line 600 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).
- Notice: Undefined index:
field_image2 in file_ajax_upload()
(line 265 of /home/content/89/6787389/html/xisam/modules/file/file.module).
- Notice: Undefined index: #suffix
in file_ajax_upload() (line 274 of /home/content/89/6787389/html/xisam/modules/file/file.module).
What am I doing wrong?
Thanks,
Jim