Topic: Link in Title

Okay, I don't really know what everyones views are on this, but on my forums I like to have a quick way for people to get back to my homepage (index.html) from the forums. On Kennel's version here, he stuck the "Go back to PunBB.org" link in the top right, but that doesn't come with the download version. So, I just toyed with the idea of turning the Board Title into a link. If you don't get what I mean, just check out my boards in my sig and click on the title.

Since some people just have boards and no website, it might be useful if it was a toggle option and have a text area to simply enter the url for the link. Anyways, just a thought. smile

Re: Link in Title

hmm... HTML is allowed in the line under the Forum Title, so this is where I have put my link on my page, including a pic (centered on the page), have only done a small modification in the template file for the header, where I have removed the Forum title from the output.

So when I click the image, I go back to my 'main' page... well that's at least one way of doing it, and very little work. smile

Re: Link in Title

I've edited the main template file to get the link back to the front page. Check out the source of this file:

http://punbb.org/forums/include/template/main.tpl

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Link in Title

Works for me. Hey, do you have a link to your site Frank so I can see this image work in action? smile

5

Re: Link in Title

Hewitt, you were asking about graphics, was this what you had in mind or something more fancy.

http://www.post21.co.uk/files/hewitt.png

6 (edited by Frank H 2003-09-15 19:46)

Re: Link in Title

Hewitt: no unfortunately not yet .. hehe.. it's as of now unofficial ... and I just went to 1.0.1 from RC2 ... and I didn't want to go on fixing alll small mods until the attachment is released ...  but I can write what I've done here smile

in the main.tpl as Kennel posted url for, I simply removed this

            <span class="punheadline">{pun_title}</span><br>

but stil leaving the {pun_desc}

and in Admin-options for the forum, I have put this in the "Board Description" field:

<center><a href="http://xxx/" target="_top"><img src="http://xxx/img/MCSE.gif" border="0"></a></center>

As the forum lies in the /forum/ and I fetched the image form /img/ I wrote the whole url to the image...

Re: Link in Title

Ah, I see what you are talking about.