Add Comments Item Action to expand on same page to full form

ckawalek

Joined: 2005-01-25
Posts: 104
Posted: Thu, 2007-04-05 03:53

I like having the "Item Actions" block listed on each photo page, but I think there really is no need for a separate Add Comments page - it could just expand like the "Add Comments" block.

I'm guessing it would be something like copying the actions in
modules/comment/templatesblocks/AddComment.tpl
to
modules/comment/module.inc
somewhere around:

			'text' => $this->translate('Add Comment'),
			'params' => array('view' => 'comment.AddComment',
					  'itemId' => $itemId, 'return' => 1));
		}

but my attempts have not resulted in anything that works...

--
http://ChristianJamesPhoto.com