The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Put latest topics on top forum

Go down

Solved Put latest topics on top forum

Post by davidkiet on October 25th 2012, 1:49 pm

http://help.forumotion.com/t90639-latest-topics-new-system

I follow that and now i want put latest topics on top my forum (punBB)


Last edited by davidkiet on October 25th 2012, 7:25 pm; edited 1 time in total

davidkiet
New Member

Male Posts : 9
Reputation : 1
Language : vietnamese

Back to top Go down

Solved Re: Put latest topics on top forum

Post by Tonight on October 25th 2012, 2:27 pm

Go to Template overall_header

Find this:
Code:
    <div id="{ID_LEFT}">
                                        <!-- BEGIN giefmod_index1 -->
                                        {giefmod_index1.MODVAR}
                                        <!-- BEGIN saut -->
                                        <div style="height:{SPACE_ROW}px"></div>
                                        <!-- END saut -->
                                        <!-- END giefmod_index1 -->
                                    </div>

Replace it with this:
Code:
    <td valign="top" width="100%"><div id="center">
                                    <!-- BEGIN giefmod_index1 -->
                                    {giefmod_index1.MODVAR}
                                        <!-- BEGIN saut -->
                                        <div style="height:{SPACE_ROW}px"></div>
                                        <!-- END saut -->
                                    <!-- END giefmod_index1 -->
                                  </div></td>
avatar
Tonight
Forumember

Male Posts : 259
Reputation : 69
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Put latest topics on top forum

Post by ~@dikz~ on October 25th 2012, 3:29 pm

Sir do you have code for Phpbb2?
avatar
~@dikz~
Forumember

Male Posts : 363
Reputation : 4
Language : English & Tagalog
Location : Legazpi, Philippines - Bicol University

http://adikz.forumtl.com

Back to top Go down

Solved Re: Put latest topics on top forum

Post by Tonight on October 25th 2012, 3:48 pm

First, those codes ain't mine Wink Those are all from that tutorial.

You have to follow the tutorial (http://help.forumotion.com/t90639-latest-topics-new-system) till text For PunBB comes.

So to put it on top, change:
Code:
    <td valign="top" width="{C1SIZE}">
                                  <div id="{ID_LEFT}">
                                    <!-- BEGIN giefmod_index1 -->
                                    {giefmod_index1.MODVAR}
                                        <!-- BEGIN saut -->
                                        <div style="height:{SPACE_ROW}px"></div>
                                        <!-- END saut -->
                                    <!-- END giefmod_index1 -->
                                  </div>
                              </td>

to this:
Code:
    <td valign="top" width="100%">
                                  <div id="center">
                                    <!-- BEGIN giefmod_index1 -->
                                    {giefmod_index1.MODVAR}
                                        <!-- BEGIN saut -->
                                        <div style="height:{SPACE_ROW}px"></div>
                                        <!-- END saut -->
                                    <!-- END giefmod_index1 -->
                                  </div>
                              </td></tr><tr>
avatar
Tonight
Forumember

Male Posts : 259
Reputation : 69
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum