Hi friends
I am using portal and mybb 1.4. forum. Is this possible to place a button like home here
so that if i click on that button it will open the portal home page
Open the header template of your theme, see how the other toplinks are set out, copy one, and edit it appropriately. With Afresh you also need to create a new CSS class to global.css - again, copy one of the others and edit it as needed.
Also moved to correct forum.
its a toplink, not button

sorry for posting in wrong section
Thank u MattR for quick respond
in default template in header only this code i got. i dont no how to proceed
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<navigation>
<br />
my folder structure is like this
http://mysite.com/forum/index.php
and i need a link to
http://mysite.com/
And for proper previously i used SMF there they use to say as button thats y the mistake happen, any way thank u for proper for properly correcting me

I don't think that's the header template that the Afresh theme is using...
(2009-01-14, 08:59 PM)MattR Wrote: [ -> ]I don't think that's the header template that the Afresh theme is using...
Yes, the above mentioned code is for default template,
Afresh template code is
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
{$welcomeblock}
</div>
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<navigation>
<br />
Oh, hang on, it's header_welcomeblock_member for Afresh, my bad.
Thanks I got the answer
GoTo Templates & Style->Template-> yourtemplate -> Header Templates ->
You have to do both in
header_welcomeblock_guest and
header_welcomeblock_member
The code is
<div class="upper_panel">
<span class="float_right">
<a href="http://yoursite.com">Home</a>
<a href="{$mybb->settings['bburl']}/search.php" class="search">{$lang->toplinks_search}</a>
<a href="{$mybb->settings['bburl']}/memberlist.php" class="memberlist">{$lang->toplinks_memberlist}</a>
<a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a>
<a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></span>