forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Big-G on November 15, 2005, 12:02:59 am

Title: Links from Coppermine to Forum and vice versa?
Post by: Big-G on November 15, 2005, 12:02:59 am
I have set up a phpbb forum and a coppermine gallery http://www.looneyteam.co.uk/gallery and http://www.looneyteam.co.uk/forum . This is just my test site but i have managed to integrate both successfully into each other, so that when logged into one you are logged into the other but i have noticed that there isn't a link from each of them to the other for users to navigate between them, can anyone assist please?
I'm sorry if this is covered elsewhere but i'm a newbie to all this and have looked but couldn't see anything.
Title: Re: Links from Coppermine to Forum and vice versa?
Post by: Joachim Müller on November 15, 2005, 07:44:01 am
to add a link to coppermine's navigation that points to your forum, edit themes/yourtheme/theme.php, find
Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add after it (in a new line)
Code: [Select]
<a href="/forum/" title="go to the forum">Forum</a>. Do something similar in the code of your bbs (you'll have to look this up on your bbs support board if you're not sure). This has been asked quite often - in the future, please search (http://forum.coppermine-gallery.net/index.php?action=search2;search=link%20forum) before posting.