FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » changing "home" link
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
changing "home" link [message #7221] Tue, 12 November 2002 16:55 Go to next message
curtis is currently offline  curtis   United States
Messages: 29
Registered: November 2002
Karma: 0
Junior Member
I would like to change URL for the "home" link in the upper right corner to my website home page (since the user can get to the forums index with the links on the left or with the "go to" pop up). Do I change the URL in the php files in the themes folder?

If so, which one do I pick to use as a test for the default, unregistered user's forum index page?

If not, which files should I be tinkering with?

I assume once the changes are made and uploaded I should rebuild the theme for them to take effect.

Thanks.

[Updated on: Tue, 12 November 2002 16:56]

Report message to a moderator

Re: changing "home" link [message #7222 is a reply to message #7221] Tue, 12 November 2002 17:17 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Modify the url in the approriate file, which can be found in the thm/default/tmpl/ folder.

FUDforum Core Developer
Re: changing "home" link [message #7223 is a reply to message #7222] Tue, 12 November 2002 17:46 Go to previous messageGo to next message
curtis is currently offline  curtis   United States
Messages: 29
Registered: November 2002
Karma: 0
Junior Member
I think I'm missing something.

I can't find any URLs in the thm/default/tmpl/ files. I find them in the themes folder. The files that contain them are actions.php, buddy_list.php, etc. The line in theme/default/actions.php, for instance, is:

<td valign="middle"><a class="UserControlPanel" href="http://www.coastguides.com/forum/index.php?t=index&amp;<?php echo _rsid; ?>"><img src="http://www.coastguides.com/forum/theme/default/images/top_home.gif" border=0 alt="Home" /></a></td>
<td valign="middle"><a class="UserControlPanel" href="http://www.coastguides.com/forum/index.php?t=index&amp;<?php echo _rsid; ?>">Home</a></td>
</tr>

One is the URL for the image link, the other for the text. It seems I could simply change the href to "www.coastguides.com" Are you sure these aren't the right files to change? If not, I still can't find the right ones.

Thanks
Re: changing "home" link [message #7224 is a reply to message #7223] Tue, 12 November 2002 17:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You are editing the compiled file which is WRONG. You should be editing a .tmpl file, which is the source from which the compiled files are generated. {ROOT} is the 'special' string that gets replaced with the URl of your forum.

FUDforum Core Developer
slow on the uptake [message #7227 is a reply to message #7224] Tue, 12 November 2002 20:15 Go to previous message
curtis is currently offline  curtis   United States
Messages: 29
Registered: November 2002
Karma: 0
Junior Member
Hey, I'm slow on the uptake, but now it all makes sense to me! Thank you. Found and changed all that I needed in usercp.tmpl and feel like a genius. Can't tell you how much I appreciate all your work!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: The image is uploaded (I think) but I cannot see it
Next Topic: member list
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 18:07:24 GMT 2024

Total time taken to generate the page: 0.14018 seconds