<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
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.<br>
I followed this:
<div id="main">
<div id="content">
<div class="region region-content">
<div id="block-system-main" class="block block-system first
last clearfix">
<div class="content">
<div id="node-14" class="node node-blog node-promoted">
<div class="content clearfix">
<div class="field field-name-body
field-type-text-with-summary field-label-hidden">
<div class="field-items">
<div class="field-item even"><br>
<p>Installation:</p>
<ol>
<li>Extract <a
href="https://github.com/downloads/jackmoore/colorbox/colorbox.zip">Colorbox
library</a> in your sites/all/libraries/
folder</li>
<li>Install <a
href="http://drupal.org/project/galleryformatter">Gallery
Formatter</a> and <a
href="http://drupal.org/project/colorbox">Colorbox</a>
Drupal 7 modules</li>
<li>Create a new content type, or add a new
field to an existing content type
<ul>
<li>Select 'Field' as 'Image'</li>
<li>Select 'Widget' as 'Image'</li>
</ul>
</li>
<li>Apply primary settings as required: Public
or Private files, and a default image if
necessary - click "Save field settings"</li>
<li>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.</li>
<li>Click on the "Manage Display" tab near the
page top, and next to your new field change
the 'Image' format to 'jQuery Gallery'</li>
<li>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'</li>
<li>Save the content type, and make some
galleries.</li>
</ol>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
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:<br>
<ul>
<li><em class="placeholder">Warning</em>: call_user_func_array() [<a
href="http://www.xisam.org/node/add/function.call-user-func-array">function.call-user-func-array</a>]:
First argument is expected to be a valid callback, 'node_form'
was given in <em class="placeholder">drupal_retrieve_form()</em>
(line <em class="placeholder">771</em> of <em
class="placeholder">/home/content/89/6787389/html/xisam/includes/form.inc</em>).</li>
<li><em class="placeholder">Notice</em>: Undefined index: #node in
<em class="placeholder">comment_form_node_form_alter()</em>
(line <em class="placeholder">1190</em> of <em
class="placeholder">/home/content/89/6787389/html/xisam/modules/comment/comment.module</em>).</li>
<li><em class="placeholder">Notice</em>: Trying to get property of
non-object in <em class="placeholder">comment_form_node_form_alter()</em>
(line <em class="placeholder">1207</em> of <em
class="placeholder">/home/content/89/6787389/html/xisam/modules/comment/comment.module</em>).</li>
<li><em class="placeholder">Notice</em>: Undefined index: #node in
<em class="placeholder">menu_form_node_form_alter()</em> (line <em
class="placeholder">594</em> of <em class="placeholder">/home/content/89/6787389/html/xisam/modules/menu/menu.module</em>).</li>
<li><em class="placeholder">Notice</em>: Trying to get property of
non-object in <em class="placeholder">menu_form_node_form_alter()</em>
(line <em class="placeholder">594</em> of <em
class="placeholder">/home/content/89/6787389/html/xisam/modules/menu/menu.module</em>).</li>
<li><em class="placeholder">Notice</em>: Undefined index: #node in
<em class="placeholder">menu_form_node_form_alter()</em> (line <em
class="placeholder">600</em> of <em class="placeholder">/home/content/89/6787389/html/xisam/modules/menu/menu.module</em>).</li>
<li><em class="placeholder">Notice</em>: Trying to get property of
non-object in <em class="placeholder">menu_form_node_form_alter()</em>
(line <em class="placeholder">600</em> of <em
class="placeholder">/home/content/89/6787389/html/xisam/modules/menu/menu.module</em>).</li>
<li><em class="placeholder">Notice</em>: Undefined index:
field_image2 in <em class="placeholder">file_ajax_upload()</em>
(line <em class="placeholder">265</em> of <em
class="placeholder">/home/content/89/6787389/html/xisam/modules/file/file.module</em>).</li>
<li><em class="placeholder">Notice</em>: Undefined index: #suffix
in <em class="placeholder">file_ajax_upload()</em> (line <em
class="placeholder">274</em> of <em class="placeholder">/home/content/89/6787389/html/xisam/modules/file/file.module</em>).</li>
</ul>
What am I doing wrong? <br>
<br>
Thanks,<br>
Jim<br>
</body>
</html>