|
Page 1 of 2
|
Nelson
Joined: May 2010
Posts: 7
|
Milky Way Red - Width Of "last Topic" Field
Hi!
Sorry for my english, I'm german.
My problem concerns the last topic field in the forum overview. I want to make it wider (about 250-300 px). I tried to do this in "forumlist_body.html". I changed:
<th> {L_LAST_POST} </th>
in:
<th width="300"> {L_LAST_POST} </th>
and I changed:
<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
<td class="row2" align="center" nowrap="nowrap">
in:
<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
<td class="row2" align="center" nowrap="nowrap" width="300">
But nothing happened. (I cleared the cache and updated the template-cache).
So, where I can change the width of the last topic field?
Best regards,
Nelson
|
#1 Tue 18 May, 2010 19:09 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
TheSteffen
Joined: August 2006
Posts: 1625
Location: Magdeburg
|
Re: Milky Way Red - Width Of "last Topic" Field
First of all, you can also post on www.icyphoenix.de
Do you mean the 2 rows I marked with blue?
____________ TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
|
#2 Thu 20 May, 2010 11:25 |
|
Nelson
Joined: May 2010
Posts: 7
|
Re: Milky Way Red - Width Of "last Topic" Field
Wow, german support from Magdeburg. I will remember next time!
Yes, the fields you marked (but the "topics" and "posts" rows are two seperate ones). Specially this one:
|
#3 Thu 20 May, 2010 13:58 |
|
TheSteffen
Joined: August 2006
Posts: 1625
Location: Magdeburg
|
Re: Milky Way Red - Width Of "last Topic" Field
I have not tested it...
Take a look into templates\default\index_box.tpl
And play with this <th width="180">
<th width="120" colspan="2"> {L_TOPICS} / {L_POSTS} </th>
<th width="180"> {L_LASTPOST} </th>
____________ TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
|
#4 Thu 20 May, 2010 14:58 |
|
Nelson
Joined: May 2010
Posts: 7
|
Re: Milky Way Red - Width Of "last Topic" Field
Oh, I noticed something: I`m in the wrong Forum, because I don't use IcyPhoenix, only the Milky Way Red Style for the normal phpbb 3.0.7 PL1. Sorry for this! Can you move this thread in the correct forum?
So this may be the reason, why there are no .tpl files in my styles directory. There is only the directory "template" with html-files within.
|
#5 Thu 20 May, 2010 22:21 |
|
TheSteffen
Joined: August 2006
Posts: 1625
Location: Magdeburg
|
Re: Milky Way Red - Width Of "last Topic" Field
Oh, I noticed something: I`m in the wrong Forum, because I don't use IcyPhoenix, only the Milky Way Red Style for the normal phpbb 3.0.7 PL1.
Hehe,
topic moved.
Can someone else help Nelson because I don't use phpBB3
____________ TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
|
#6 Thu 20 May, 2010 22:38 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Milky Way Red - Width Of "last Topic" Field
Sure TheSteffen i'll try
Nelson can you provide a link to the forumlist page on your site?
cause i m comparing to black pearl and i have a feeling you have the file modded with other mods than just this (i see differences anyway)
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#7 Fri 21 May, 2010 03:48 |
|
Nelson
Joined: May 2010
Posts: 7
|
Re: Milky Way Red - Width Of "last Topic" Field
Sure: http://www.spritecomics.de/forum
You are right. I use the mod "NV advanced last topic titles 1.2.9". It adds the title of the last post or topic to the forumlist. But I don't think, that the mod is the problem. Maybe I'm wrong...
@TheSteffen: Thank you!
|
#8 Fri 21 May, 2010 14:12 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Milky Way Red - Width Of "last Topic" Field
No you are right .. if this is all that been modded it will probably not matter but i wanted to make sure milkyway was not build up completely diffferent in this file compared to black pearl (the one i know best and have installed)
here we go:
the thing most important that sets the width to this field is not the "th ....L_LASTPOST" thingy because this will never vary in size
this is the most important one:
<td class="row2" align="center" nowrap="nowrap">
now i tried your edits first and got the same result... none
now please try skipping the first edit and only apply the second one please, for me this worked just fine with a width of 300 but if set way to high it's liable to create a slider at the bottom of the page ...so keep that in mind
just flushing the cache would be enough
funny thing about this is ...if you would add the first edit ater you did the above it would still work but i would not do that because it is not needed as far as i can see
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#9 Fri 21 May, 2010 17:30 |
|
Nelson
Joined: May 2010
Posts: 7
|
Re: Milky Way Red - Width Of "last Topic" Field
Ok, i changed this:
<td class="row2" align="center" nowrap="nowrap">
to this:
<td class="row2" align="center" nowrap="nowrap" width="200">
Nothing else. But nothing happened...
I tried it on my local testboard and on my online-board. But nothing...
|
#10 Mon 24 May, 2010 11:18 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Milky Way Red - Width Of "last Topic" Field
are you sure?? it does not look like it failed to me if i compare the "kein beitrage" with one containing posts, as you can see they are equal in size, is this just coïncidental?
Edit: also if i look at your previously posted example screeny and compare it i see a small difference in width (a little more space in front and after text):
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#11 Mon 24 May, 2010 12:04 |
|
Nelson
Joined: May 2010
Posts: 7
|
Re: Milky Way Red - Width Of "last Topic" Field
I can't believe it: I tried it with the newest Firefox Version (3.6.3): Nothing! Then I tried it on my second PC with FF 3.5: Nothing! Then, on both PC's, I tried it with InternetExplorer: It works!
When I used FF, I cleared the cache and loaded the page with "STRG+F5", but nothing! So, do you tested it with IE or FF?
Strange: For testing I deleted nowrap="nowrap", and the FF applys the changes. But why not the width? I even tried style="width:200px". Same results: IE works, but not FF...
|
#12 Mon 24 May, 2010 13:57 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Milky Way Red - Width Of "last Topic" Field
hehehe... you are right ( MG warned me multiple times about using IE, but i tend to be quite deaf LOL)
this time i tried a new thing (and i must admit i m just messing about ..so please be carefull following my advice and at least back up the 2 modded files to be safe!!)
<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
<td class="row2" align="center" nowrap="nowrap">
<!-- IF forumrow.LAST_POST_TIME -->
<p class="topicdetailsadj"><!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a> <!-- ENDIF -->{forumrow.LAST_POST_TIME}</p>
<p class="topicdetailsadj">{forumrow.LAST_POSTER_FULL}
<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
</p>
<!-- ELSE -->
<p class="topicdetailsadj">{L_NO_POSTS}</p>
<!-- ENDIF -->
and add in stylesheet after the topicdetails entry:
p.topicdetailsadj {
width: 300px;
margin: 1px 0;
}
be carefull !!!! i can t be held responsible if this goes wrong and messes something else up (eventhough i doubt it would)
i checked in 2 browsers (IE and FF) and it looks ok to me sofar, i also had it tested by W3C ..this found no errors or warnings
use it at your own risc
EDIT: Chrome/Safari/Opera also look okay to me
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#13 Mon 24 May, 2010 15:22 |
|
Nelson
Joined: May 2010
Posts: 7
|
Re: Milky Way Red - Width Of "last Topic" Field
It works! It really works! I did a backup of the files, but I don't think that there will be a problem.
Thank you very, very much! You made my day...
|
#14 Mon 24 May, 2010 16:38 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Milky Way Red - Width Of "last Topic" Field
you re welcome Nelson, it was intresting as usual to me too and for now i ve left my test pages the same way, let s see what happens
greetings,
...Joshua203
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#15 Mon 24 May, 2010 16:43 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|