News:

Wondering if this will always be free?  See why free is better.

Main Menu

Newbie question on how to edit a link

Started by LetTheBossKnow, June 28, 2014, 12:25:17 PM

Previous topic - Next topic

LetTheBossKnow

I am wanting to edit the link that is at the top of the simple machines forum to link back to my main website hxxp:letthebossknow.com [nonactive].

Right now it just takes you to the main forum page when you click on the link, so when you go to our website and you go into the forums, you are stuck in the forums unless you manually type the website address back in.

I hope this makes since, I am new to all of this so the terminology is beyond me sometimes.

Thanks for your help!


mashby

It's a good question! You'll need to be looking in the index.template.php file for the themes you have. For example, the default Curve theme has this code bit in it:
<h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';

You could change that to this:
<h1 class="forumtitle">
<a href="http://letthebossknow.com/">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';
Always be a little kinder than necessary.
- James M. Barrie

LetTheBossKnow

Thanks for the reply! we acquired simple machines forums from GoDaddy. When the forums were first downloaded, GoDaddy asked us to name the forums. That name appears in the link, and that link only goes to the main forum page. We want to change that link to make it go to hxxp:www.letthebossknow.com [nonactive]

From what you posted, that appeared to be code. Do I need to know coding in order to change this link? How do you even edit code on the forums?

mashby

I would recommend either FTP or File Manager which should be something you can setup/see in GoDaddy's admin panel, but I'm not familiar enough with the admin area of GoDaddy to tell you for sure. Are you able to see either of those items in GoDaddy? FTP will require a client application and File Manager is all web-based. You'll also need some sort of software to edit files. I'd recommend Notepad++.
Always be a little kinder than necessary.
- James M. Barrie

LetTheBossKnow

I think Ive figured it out with the information you provided.

Thank you Mashby!

code is just hard to figure out.

mashby

Excellent. Yeah, code looks like Greek at first. Can't tell you how many times I've rendered my site unusable after tinkering with code. You eventually start to understand it though. :)
Always be a little kinder than necessary.
- James M. Barrie

Advertisement: