Page 1 of 1

Small typo bug found in 141 rc5

PostPosted: Fri Dec 08, 2006 10:31 pm
Author: Frost
I noticed a small typo with the link to an image while making another theme for IM 1.4.1.

While you are viewing (viewforum.php) after clicking a forum, under the forums list there are the folder icons (icon legend).

The error is in the icon that tells you that you've posted in the forum.

* Image name = folder_own.gif
* Alt title = You have posted in this forum.
* Typo = http://www.website.com/templates/templates/your_template//images/folder_own.gif

Hope this helps <img>

Edit: fixed location

Re: Small typo bug found in 141 rc5

PostPosted: Fri Dec 08, 2006 11:05 pm
Author: Frost
Typo bug fix

NOTE// This might be just for Integra2, but this will fix if you have the same problem most likely

Open
templates/your_template/viewforum_body.tpl

Find / Around Line #92
Code: Select all
<td> <img></td>


Replace With
Code: Select all
<td> <img></td>


Save & Upload

Re: Small typo bug found in 141 rc5

PostPosted: Sat Dec 09, 2006 9:42 am
Author: Teelk
You'll notice all template images have this double slash, with the exception of subtemplates(eg. fisubgreen). The reason for this is actually because of sub templates. If you take a look at an image link while in a main template and then take a look at the same link while in a sub template you'll notice why there's a double slash.

Main Template - http://www.website.com/templates/templa ... er_own.gif

Sub Template(fisubgreen) - http://www.website.com/templates/templa ... er_own.gif

Because there's no sub template folder name all you get is a double slash.

There was a fix for this, but it required a large change to the cfg file of every template. And, since there are no ill effects from having a double slash, we decided that it was best to just leave it. The overhaul to every template would have been much too great.

Re: Small typo bug found in 141 rc5

PostPosted: Sat Dec 09, 2006 9:52 am
Author: Helter
this {TEMPLATE} if i remember corectly does not refer to the path, it translates to "template name"
so /templates/{TEMPLATE}/*.tpl refer's to templates/current template name/*.tpl

Re: Small typo bug found in 141 rc5

PostPosted: Sun Dec 10, 2006 1:09 am
Author: Frost
I'm not quiet sure I understand the replies :-?

Re: Small typo bug found in 141 rc5

PostPosted: Sun Dec 10, 2006 9:54 am
Author: Teelk
Sorry Frost, I completely misread your post. I think this is fixed in latest SVN, cause I can't find the line you're referring to and my test board is displaying it correctly. I think it was one of Helter's recent template fixes.

Re: Small typo bug found in 141 rc5

PostPosted: Sun Dec 10, 2006 8:43 pm
Author: Frost
Oh, sorry I should have looked and made sure it wasn't already done before I posted anything, that was confusing <img>

Re: Small typo bug found in 141 rc5

PostPosted: Tue Dec 12, 2006 2:19 am
Author: MWE_001
I have the very same issue as Frost on my test site and was getting ready to post about it. Good thing my veteran user thoughts kicked in and searched first. lol. anyhow thx guys now I know how to fix it. <img>