SMF Support > Install and Upgrade Help
Getting the forum back to the main website???
Datahead:
I am sure you guy have heard this a million times, but being new to SMF I need a little help. I want the Title at top of the forum to redirects back to the websites home page. I have SMF installed in a directory above the main site. Example: "mywebsite.com/forum" SMF works fine and is exactly what I was looking for. The problem is I want the forum to go back to the main website when a user clicks on the forum title on the top of the page and right now it goes to the main page of the forum. Any help would be greatly appreciated.
Thanks
Ron
Colin:
Hi There,
Welcome to SMF. Can you please provide the URL in which you want the image to link to and your index.template.php file from your themes folder?
Datahead:
Thanks for the welcome. As to the URL SMF is installed in a folder one above the main website. As I cant seem to post links basically it "hxxp:www.dataheadenterprises.com/forum [nonactive]" I in essence what to get back to the main website when you click the top logo which is hxxp:www.dataheadenterprises.com [nonactive]
I already have a link in the main website to get to the forum it is just getting back there that eludes me. I am a total newbe when it comes to coding html and php so I am hoping this is an easy fix. As to the Theme it is the SMF Default Theme - Curve I hope that is the information you wanted???
Ron
Ricky.:
To do so :
In Themes/default/index.template.php
Find :
--- Code: --- <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>
--- End code ---
Replace with :
--- Code: --- <a href="http://dataheadenterprises.com/">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
--- End code ---
Assuming your website url is : http://dataheadenterprises.com/
Datahead:
That was it... Thank you very much Ricky. I am going to assume if I change the theme I will have to make this modification again. Correct? Anyway thank you all for the help, I am sure there will be other questions down the road, but for now that solved the issue.
Thanks
Ron
Navigation
[0] Message Index
[#] Next page
Go to full version