Jump to content

Need help with a SMF Forum theme edit...I can't change something...


darkjin

Recommended Posts

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">';

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.