I posted this in General Support before I saw this topic <sry>:
I am having trouble adding the Gallery Button to the Black Rain theme.
I have searched through the forums and tried a could of the solutions but none seem to work. I have looked for the array line to add the posted code but I do not have any array line in my theme's index.template.php. I have tried adding:
echo '<li><a href="', $scripturl, '?action=gallery"><span>*Gallery*</span></a></li>';
but every variation causes an error that says something like "Can not load main_above template"
I did manage to get the link to appear by copying some of the code from the default theme but it didn't appear like the other buttons and to be honest, that was so many attempts ago I'm not sure what I did.
In my last attempt, I tried to just copy the index.template that another member posted that had the gallery working with Black Rain but it too caused the "main_above" error.
I am not familiar with PHP but could really use some help with this.
Here is a link to my forums if it helps