Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post 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:

Code: [Download] [Hide] [Select]
<th>&nbsp;{L_LAST_POST}&nbsp;</th>


in:

Code: [Download] [Hide] [Select]
<th width="300">&nbsp;{L_LAST_POST}&nbsp;</th>


and I changed:

Code: [Download] [Hide] [Select]
<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:

Code: [Download] [Hide] [Select]
<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
 



 
NelsonSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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?
 row
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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:

mmr
 



 
NelsonSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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">

Code: [Download] [Hide] [Select]
    <th width="120" colspan="2">&nbsp;{L_TOPICS}&nbsp;/&nbsp;{L_POSTS}&nbsp;</th>
    <th width="180">&nbsp;{L_LASTPOST}&nbsp;</th>

 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
NelsonSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Milky Way Red - Width Of "last Topic" Field 
 
Nelson wrote: [View Post]
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
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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!
 



 
NelsonSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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:
Code: [Download] [Hide] [Select]
<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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Milky Way Red - Width Of "last Topic" Field 
 
Ok, i changed this:

Code: [Download] [Hide] [Select]
<td class="row2" align="center" nowrap="nowrap">


to this:

Code: [Download] [Hide] [Select]
<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...
 



 
NelsonSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Milky Way Red - Width Of "last Topic" Field 
 
sprite

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):
 sprite2
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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...
 



 
NelsonSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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!!)

Code: [Download] [Hide] [Select]
                <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>&nbsp;<!-- 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:
Code: [Download] [Hide] [Select]
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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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...
 



 
NelsonSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron