Default Style Error Index_box.tpl »  Show posts from    to     

Icy Phoenix


Old Support Topics - Default Style Error Index_box.tpl



mort [ Thu 20 Sep, 2012 00:46 ]
Post subject: Default Style Error Index_box.tpl
I appears the date sets the width of the last column.

This should fix it.

index_box.tpl

Code: [Hide] [Select]
Find:

<th width="180">&nbsp;{L_LASTPOST}&nbsp;</th>

Replace with:

<th><span style="padding: 0 35px 0 35px;">{L_LASTPOST}</span></th>


untitled_1_1348091133_702967


Joshua203 [ Thu 20 Sep, 2012 10:23 ]
Post subject: Re: Default Style Error Index_box.tpl
I'm sorry Mort, I disagree this woud be the best solution since the words "Last Post" will be different in other languages, so adding this padding might make it wider than needed.

I think a better way would be to set a wide enough width for the trouble causing box (where the date is).
If I remember correctly this is what I did for my Black Pearl/phpbb, let me know if you want me to look it up ).


mort [ Thu 20 Sep, 2012 13:01 ]
Post subject: Re: Default Style Error Index_box.tpl
Joshua203 wrote: [View Post]
I think a better way would be to set a wide enough width for the trouble causing box (where the date is).


There's not many things that will work there - If you note in index_box.tpl, someone has been playing with this problem as the "Other Script" is commented out.

Quote:
If I remember correctly this is what I did for my Black Pearl/phpbb, let me know if you want me to look it up ).


I'd like to see that. But I also did take that into consideration with German, and was of the opinion that if anyone was concerned about the overall width with another language, they could reduce it to suit their language. And if anything the reduction wouldn't need to be more than 10px either side.

I've attached a picture as is using German and the resolution resized to 1024x768 so you can see what I mean.

untitled_1_1348138844_125361

PS: Or I could wait more than 48 hours and the problem will fix itself....


TopoMotoV3X [ Thu 20 Sep, 2012 15:35 ]
Post subject: Re: Default Style Error Index_box.tpl
I also made ​​Dark Force with this change, I find that it remains all the more ordered..

2012_09_20_153651


Joshua203 [ Thu 20 Sep, 2012 16:14 ]
Post subject: Re: Default Style Error Index_box.tpl
Sorry guys I think I have mixed up 2 different problems about the same box width problem

You both may be right and have the better solution ( if it works crossbrowser! )

What I was talking about (for phpbb) was this way to fix it (it fixes the crossbrowser problem).. http://www.icyphoenix.com/viewtopic...tailsadj#p49048

Mort wrote: 
PS: Or I could wait more than 48 hours and the problem will fix itself

Not on a completely empty forum it won't


mort [ Thu 20 Sep, 2012 22:42 ]
Post subject: Re: Default Style Error Index_box.tpl
Joshua203 wrote: [View Post]
if it works cross browser!


Of course it does.

And it looks a lot better with the spacing imho.

Take note MG!


And for the "Puritan" you should also be able to use:

html.

Code: [Hide] [Select]
<th><span class="last_post">{L_LASTPOST}</span></th>


css.

Code: [Hide] [Select]
.last_post {
padding: 0 35px 0 35px;
}



Mighty Gorgon [ Sun 21 Oct, 2012 11:59 ]
Post subject: Re: Default Style Error Index_box.tpl
The solution is not working on my testing environment, can you please try to add a topic with a very long title?

Something like: "My Very Very Very Long Testing Title"

It still doesn't align the columns of different categories... at least with FireFox and IE.


mort [ Sun 21 Oct, 2012 14:13 ]
Post subject: Re: Default Style Error Index_box.tpl
I don't think it's that big a deal because it's the first "default welcome" category which usually has a post or two in it, and one has to remove them for it to show up.

From memory, it's never been any different from when phpBB came out with the MOD that split the categories, and that first category appears to have always been outside (or above) the other cats anyway and not in the same table as the rest.



And who wants an empty cat anyway.


Mighty Gorgon [ Sat 17 Nov, 2012 11:58 ]
Post subject: Re: Default Style Error Index_box.tpl
mort wrote: [View Post]
And who wants an empty cat anyway.

Me not...

Anyway, I couldn't solve the issue... I tried in several ways, and so far no good news.




Powered by Icy Phoenix