Hi, I have read all the different topics on adding links, and the manual. I am totally confused :-\
Can someone please help me and give me the code to paste to index.template.
thanks
Bob
Hi
*sidetrack*
I might be able to help since im about to work on a integration of SMF to a gallery (Gallery2 / Coppermine). Why is Coppermine your choice of gallery?
Byon,
You do know that oldiesman already did a bridge from SMF to Gallery2?
All I need is for plain, in english, instructions on how to add a menu link from smf to my intergrated coppermine!
Thanks
Bob
Anyone ???
Bob
You need to edit the index.template.php file in the theme directory you are using. Download this and find :
// the [member] list button
BEFORE THIS ADD:
// Gallery
if ($context['user']['is_logged'])
echo ($current_action == 'coppermine' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'coppermine' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=coppermine">' , $txt['Gallery'] , '</a>
</td>' , $current_action == 'coppermine' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Reupload this file and it should be visible when logged in.
Hope this helps.
Sorry but did not work! Nothing shows up in menu?
Bob
Quote from: SteveW on April 28, 2007, 10:57:33 AM
You need to edit the index.template.php file in the theme directory you are using.
Yes thanks, I am not an expert but that much I know ;D
Perhaps it is colliding with the smf gallery I have installed. I want to switch to coppermine when I can get the link to appear in the menu.
Bob
Post your index.template.php so we can see.
Ok have index.template attached below. (to big to post :D )
Bob
Bump ;D
I'm guessing you got your solution bob. Care to share it with anyone else?