Linking back to main website.
I want there to be a link somewhere on the main forum page so the users can link back to the main website quick and easily.
I’ve tried making a .gif banner with a hotspot link. But when it’s uploaded the banner is not clickable.
Is there any easy ways of doing this?
Here’s my site:
Thanks in advance.
Ashish Kumar (Ashfame)Participant
Instead of placing the image as background in CSS, use the
<img src="" alt="" />tag and make it clickable.
<a href=""><img src="" alt="" /></a>
Where exactly would I put that code?
Ashish Kumar (Ashfame)Participant
<body id="<?php bb_location(); ?>">
<div id="header" role="banner">
I cannot find header.php. Is it in a subfolder???
It is in the template folder. If you’re using the default theme, it’s located at bb-templates/kakumei/header.php. If you’re using a custom template, it should be located at my-templates/yourtemplatename/header.php
It’s a template file, not a core bbPress file.
Okay. Thank you. I will look for it there.
Okay, so I found it. I opened it in WordPad, added my link code after this:
<div id=”header” role=”banner”>
saved it, and closed WordPad.
I then browsed back to the forum and nothing has changed. Can someone shed some light on this?
1. Wordpad is bad for editing plain text files. It sometimes adds extra characters. Notepad is better, and even better and still free is Notepad++ http://notepad-plus.sourceforge.net/uk/site.htm (all if you’re on Windows)
2. Post a link to your forum please.
Don’t let the folder I put it in be misleading. I had created a folder for phpBB and then decided to go with bbPress because it was so much simplier. My website is for our homeowner’s association and I don’t expect much traffic so the bbPress was a better choice for me.
I have Windows and can copy and edit it in Notepad but then how do I get it uploaded back to the header.php? Sorry, I’m fairly new to this…. I mean I know how to upload it but will the changes take affect right then or do I need to do something in my file manager?
That page is requiring a login, so I cannot see it.
You can edit the file locally in Notepad, but after editing, you need to save the file then upload the edited file with an FTP program probably. What did you use to upload bbPress in the first place?
I uploaded it from my hosting company. I got it to work but because it is in this header the path shows my link to exist in phpBB. Because of that, the website home page is rendered that it does not exist. Can I just upload the header.php into hosting and not have to put it back where I got it.
Okay, I did get the link to work going back to the home page. I added a copy of the default.html in the bb-templates folder. The problem is that it does not bring along the css styling. The website is password protected but I have created a temporary user and password so that someone can take a look at this and tell me if there is a way to bring along the css styling with my default page so that when users link back to the home page, it will look like it originally looks.
pass: GNN*Xup*OrD, (don’t forget the comma)
Just go to Bulletin Board page and link to the forum. I put the home page link at the top left in the header.
The home page link should not be to http://oakleafmeadowshoa.net/phpBB/default.html
but should link to http://oakleafmeadowshoa.net/ right? What do you mean by “Home”? Home of the website? What URL?
If you really want to link Home to http://oakleafmeadowshoa.net/phpBB/default.html then you will need to adjust the path to your CSS and images. I can’t figure out why you want that default.html in the forum folder though. Please explain further what you’re trying to do.
What I am ultimately trying to do is allow the users to get back to the home page of the website from this home page of the forum. You’re right! I didn’t think that it should be in the phpBB folder. This is my first website and I guess it shows. When I tried once before to just add link path back to http://oakleafmeadowshoa.net/default.html it gave an error page stating that this url page was not found.
I don’t want the default.html in the forum folder but just need a proper path back to the home page of my website.
If this is the home page of the website:
Then that is what your link will be. Just like this:
<a href="http://oakleafmeadowshoa.net/" title="website home">Website Home</a>
Is it any more complicated than that? You don’t necessarily need a page name in there, the web server will serve up the default index page for that site. If that’s the page you want, then you’re done.
what exactly you want to put code please send it to me i will tell you what you have to put.
- You must be logged in to reply to this topic.