Sub Menu
Links Menu
Online Users

In total there are 302 users online :: 4 registered, 0 hidden and 298 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot] based on users active over the past 60 minutes

Changing Layout - Can't figure this one out

Feature requests for the next versions of IntegraMOD.

Moderator: Integra Moderator

Changing Layout - Can't figure this one out

PostAuthor: nGAGE » Fri May 11, 2007 3:37 am

Hi all,

I've been moving arround some of the layout of the forum, such as the "New Topic" / "Reply" / "Jumpbox" / "Quickreply" / "Who's Online" etc (guess you get the point)... But when I was trying to move the "New Topic" button down in the viewforum_body.tpl, like I did in the viewtopic_body.tpl (see screenshots below), I ran into open space that just wasn't making sense. So I checked the topics_list_box.tpl for any linebrakes before content starts... Nothing!

[url=http]Who's Online area re-aranged[/url]

I then removed the only table that did seem to be the start of the content to me and all was fine.

Here's the code I removed (actually I moved it away, still have it though):
Code: Select all
 <table>     <tr>         <td>             <img>         </td>         <td>             <span>                 <a>                     {catrow.CAT_DESC}                 </a>             </span>         </td>         <td>             <img>         </td>     </tr></table>  

NOTE]viewforum_body[/b] (the section above the content, upto where content is called for)
Code: Select all
 {BOARD_ANNOUNCES}{BOARD_INDEX}  <BEGIN>     <table>         <tr>             <td>                 {BANNER_13_IMG}<br>             </td>         </tr>     </table><END>    <table>     <tr>         <td>     <BEGIN>             <a><img></a>     <END>         </td>         <td>{PAGINATION}</td>     </tr></table>    <form>     {TOPICS_LIST_BOX}</form>  


topcis_list_box.tpl (after .scripts end, till where head of content starts... this includes the section that causes the open space)]  </script>  <END><table>     <tr>         <td>             <img>         </td>         <td>             <span>                 <a>                     {catrow.CAT_DESC}                 </a>             </span>         </td>         <td>             <img>         </td>     </tr></table>  <table>     <tr>         <th> {topics_list_box.row.L_TITLE} </th>         <th> {topics_list_box.row.L_REPLIES} </th>         <th> {topics_list_box.row.L_AUTHOR} </th>         <th> {topics_list_box.row.L_VIEWS} </th>         <th> {topics_list_box.row.L_LASTPOST} </th>     <BEGIN>         <th><input></th>     <END>     </tr><END>  [/code]

[MY EDITS]

viewforum_body.tpl
(Now has the code causing the open space from "topics_list_box.tpl" above "New Post" button)
Code: Select all
 {BOARD_ANNOUNCES}{BOARD_INDEX}  <BEGIN>     <table>         <tr>             <td>                 {BANNER_13_IMG}<br>             </td>         </tr>     </table><END>  <table>     <tr>         <td>             <img>         </td>         <td>             <span>                 <a>                     {catrow.CAT_DESC}                 </a>             </span>         </td>         <td>             <img>         </td>     </tr></table>  <table>     <tr>         <td>     <BEGIN>             <a><img></a>     <END>         </td>         <td>{PAGINATION}</td>     </tr></table>    <form>     {TOPICS_LIST_BOX}</form>  


topics_list_box.tpl (Now without the code causing the open space)]  </script>  <END>  <table>     <tr>         <th> {topics_list_box.row.L_TITLE} </th>         <th> {topics_list_box.row.L_REPLIES} </th>         <th> {topics_list_box.row.L_AUTHOR} </th>         <th> {topics_list_box.row.L_VIEWS} </th>         <th> {topics_list_box.row.L_LASTPOST} </th>     <BEGIN>         <th><input></th>     <END>     </tr><END>  [/code]


And here a bunch of screenshots:
[url=http]Above viewtopic[/url]
[url=http]Cursor-Select on code area[/url]
[url=http]ViewTopic (no code-changes)[/url]
[url=http]ViewTopic (with code-changes)[/url]
[url=http]ViewForum (no code-chagnes)[/url]
[url=http]ViewForum (with code-changes)[/url]
[url=http]Viewing category (no code-changes[/url]
[url=http]Viewing category (with code-changes[/url]
[url=http]ViewForum incl.Subforum (no code-changes)[/url]
[url=http]ViewForum incl.Subforum (with code-changes)[/url]


Does anybody have a clue what this is supposed to do/display? I simply doesn't show anything to me. Could it be depending on some ACP-option changes? Or is it simply a left over nobody noticed?

Main thing is... will it work when I leave it moved to the viewforum_body.tpl instaid of the topics_list_box.tpl? (I think it probably should work, right?)


You you guys are able to follow my confucious post. <img>

Hope somebody can help/answer to this.
Last edited by nGAGE on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 6:28 am
Cash on hand: 0.00

Return to Design Your Site

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot]