Customizing SMF > Building Your Community and other Forum Advice

Advice on linking to another site for a non-coder

(1/1)

jossiejojo:
My only experience of website design is with Frontpage: I cant code HTML except maybe a few lines at most.
I really need a way of linking my SMF forum back to the main part of my site ie inserting a hyperlink back. Can anyone help please? The existing site (without the forum) is:

www.artcornwall.org

thanks a lot

Bigguy:
Try this out. If you put it in your index.template.php file right were the others are it should put a tab on the default theme:


--- Code: --- // Show a [new] button.
      echo ($current_action == 'newaction' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'newaction' ? 'active_back' : 'back' , '">
               <a href="http://www.artcornwall.org
">Main Page</a>
            </td>' , $current_action == 'newaction' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
--- End code ---

You can change the "Main Page" text to what ever you want. Hope this helps a bit.

Navigation

[0] Message Index

Go to full version