MyBB Community Forums

Full Version: How do i?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
How do i add the attachment and have the top links in writing on top of the image

[attachment=5477]
Hello

In the theme manager find Top Links Menu (Customized in this style)
Under background put
#026CB1 url(images/urimage.gif) top left repeat-x
ok i think im with you but how do i add the writing that goes on the image
Do you want to integrate the text within the image? Like the image contains the text already?
well i tried adding this -

href="http://www.tussaudtimes.co.uk/"> alt="" />{$lang->toplinks_Home}</a> </li>
href="{$mybb->settings['bburl']}/search.php"> alt="" />{$lang->toplinks_Search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"> alt="" />{$lang->toplinks_MemberList}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"> alt="" />{$lang->toplinks_Calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"> alt="" />{$lang->toplinks_Help}</a></li>
<li><a href="{$mybb->settings['bburl']}/downloads.php"> alt="{$lang->toplinks_Downloads}" />{$lang->toplinks_Downloads}</a></li>
href="http://www.tussaudtimes.co.uk/gallery/"> alt="" />{$lang->toplinks_Gallery}</a> </li>
href="http://www.tussaudtimes.co.uk/imagehost/"> alt="" />{$lang->toplinks_Image Host}</a> </li>
</ul>

But it didn't work. Not really sure what im doing but id like it so the text was over the image which i have added and worked.

I would like the text to look like this -

| Home | Search | Member List | Calender | Help | Downloads | Gallery | Image Host |
Do what i have mentioned in my 1st post in this thread. this will show the image with the top links text on top of it.

then to have the text the way you want, in the header template remove all <ul>, <li>, </li> and </ul>. And put the | in between the text, also remove the image tags.


<a href="http://www.tussaudtimes.co.uk/">{$lang->toplinks_Home}</a> | 
<a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_Search}</a> | 
<a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_MemberList}</a> |
<a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_Calendar}</a> | 
<a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_Help}</a> | 
<a href="{$mybb->settings['bburl']}/downloads.php">{$lang->toplinks_Downloads}</a> | 
<a href="http://www.tussaudtimes.co.uk/gallery/">{$lang->toplinks_Gallery}</a> | 
<a href="http://www.tussaudtimes.co.uk/imagehost/"> {$lang->toplinks_Image Host}</a>

regards
opps i get this error message


Parse error: parse error, unexpected T_STRING, expecting '}' in /home/fhlinux183/t/tussaudtimes.co.uk/user/htdocs/forums/global.php(342) : eval()'d code on line 1
Can i see the whole code of your header template please...
<a name="top" id="top"></a>
<div id="container">
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}"style="max-width:750px"

alt="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
<ul>
<li><a
<a href="http://www.tussaudtimes.co.uk/">{$lang->toplinks_Home}</a> |
<a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_Search}</a> |
<a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_MemberList}</a> |
<a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_Calendar}</a> |
<a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_Help}</a> |
<a href="{$mybb->settings['bburl']}/downloads.php">{$lang->toplinks_Downloads}</a> |
<a href="http://www.tussaudtimes.co.uk/gallery/">{$lang->toplinks_Gallery}</a> |
<a href="http://www.tussaudtimes.co.uk/imagehost/"> {$lang->toplinks_Image Host}</a>
</ul>

</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$boardmsg}
{$unreadpmmsg}
{$pfc_mybb}
<navigation>

<br class="clear" />
<a href="http://www.tussaudtimes.co.uk/imagehost/">{$lang->toplinks_Image Host}</a>

A space in the variable name?!! lol i donno how i didnt see that before in the code you have previously mentionedToungue..

Anyway there was other mistaked also in the code, so use the code below.
<a name="top" id="top"></a>
<div id="container">
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" style="max-width:750px" alt="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
<a href="http://www.tussaudtimes.co.uk/">{$lang->toplinks_Home}</a> |
<a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_Search}</a> |
<a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_MemberList}</a> |
<a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_Calendar}</a> |
<a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_Help}</a> |
<a href="{$mybb->settings['bburl']}/downloads.php">{$lang->toplinks_Downloads}</a> |
<a href="http://www.tussaudtimes.co.uk/gallery/">{$lang->toplinks_Gallery}</a> |
<a href="http://www.tussaudtimes.co.uk/imagehost/">{$lang->toplinks_Image_Host}</a>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$boardmsg}
{$unreadpmmsg}
{$pfc_mybb}
<navigation>

<br class="clear" /> 

Pages: 1 2 3