Hi,
I would like to add a link "add image" as a tab, when viewing the own album (album per user) as logged in user. This should be the same function that is provided by the "quick links" block ("Add an Image").
I tried to add the Tab by inserting the following code into acidfree_menu() function:
$items[] = Array('path' => "node/add/image/{$path[1]}",
'title' => t('Add image'),
'callback' => 'acidfree_page',
'type' => MENU_LOCAL_TASK,
'access' => user_access('edit own acidfree albums'));
Right after the code, that includes the "Album contents" tab (line 419). But it is not working this way. Can you support me in adding the Tab to my Acidfree albums?
Thanks in advance and kind regards,
Hauke
Comments
Comment #1
casperl commentedThis is a usability feature that I desperately need on my site as well.
I have added other navigational links on the menu system as well as graphical icons in custom blocks for users to add images when viewing Acidfree Albums.
However nothing will be as effective as a custom tab that states "Add Image into this Gallery" or similar.
Currently this ranks as the #1 usability issue for users when using Acidfree.
Comment #2
mwheinz commentedIn 6.x this is implemented as the "quick links" block.