darkjin Posted June 4, 2009 Share Posted June 4, 2009 Ok so in this theme, the option is so that if you specify an image to go at the top of your forum, it will put it up there, but if not, by default it will take the Forum Title and stick it in the top left. What I want to do, is edit the code so that the title is not only there in text, but also as a link back to the original splash page. I am not using a graphic for the title so I have let it go to default. I want the default text to also act as a link. Can anyone help? Here is the code: // This part is the logo and forum name. You should be able to change this to whatever you want... if (empty($settings['header_logo_url'])) echo ' <span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name_html_safe'], '</span>'; else echo ' <img src="', $settings['header_logo_url'], '" alt="', $context['forum_name_html_safe'], '" border="0" />'; echo ' </td> </tr> <tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '> <td valign="top"> <table class="tborder" cellpadding="4" cellspacing="1" width="100%"> <tr> <td class="titlebg" colspan="2" width="100%"> ', $txt['userinfo'],' </td> </tr> <tr>'; if (!empty($context['user']['avatar'])) echo ' <td class="windowbg" width="1%">', $context['user']['avatar']['image'], '</td> <td class="windowbg2">'; else echo ' <td class="windowbg2" colspan="2">'; Quote Link to comment https://forums.phpfreaks.com/topic/160991-need-help-with-a-smf-forum-theme-editi-cant-change-something/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.