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.

Templates issue for posts/views

View previous topic View next topic Go down

Solved Templates issue for posts/views

Post by Syabria on May 29th 2012, 9:25 am

Hey members,

At current my forum's display is in a way that my posts and views are right beside each other on the forum index. However someone told me that I needed to edit templates to make them go on top of each other. Could anyone possible help me achieve this look:



Last edited by Syabria on May 29th 2012, 9:06 pm; edited 1 time in total

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Nera. on May 29th 2012, 12:18 pm

Hi,

That's the topics list box you are showing there not the forum index right?

If so, go to AP > Display > Templates > topics_list_box and find this:

Code:
      <thead>
         <tr>
            <th class="tcl">{L_TOPICS}</th>
            <th class="tc2">{topics_list_box.row.L_REPLIES}</th>
            <th class="tc3">{topics_list_box.row.L_VIEWS}</th>
            <th class="tcr">{topics_list_box.row.L_LASTPOST}</th>
         </tr>
      </thead>
Delete it.

Than find this:

Code:
         <td class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.REPLIES}</td>
         <td class="tc3 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.VIEWS}</td>
         <td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.LAST_POST_TIME} {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</td>

Replace it with this:

Code:
                  <td class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.VIEWS}views<br />{topics_list_box.row.REPLIES}replies</td>
         <td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.LAST_POST_TIME} {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</td>

You have to publish your template on the green cross in order for it to work. Not only save it.

Here is a display of it working on a punBB forum (your profile states you are on punBB):


Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Syabria on May 29th 2012, 3:20 pm

Hmmm.... didn't work! I did everything right though and I double checked! Sad
Thanks though!

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Nera. on May 29th 2012, 3:46 pm

You'll have to check it again since it works perfectly fine on my punBB. Than it MUST work on yours too. That means you did not do it correctly.

Example: http://tiki.makingforum.com/f3-third-forum

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Syabria on May 29th 2012, 3:54 pm

Ahhah! I see now! Yes it worked in that area! However what I was looking at was on the forum index, not when you click on a forum. In other words, on the homepage?! Also may you tell me how to resolve this 'squashed' problem:


Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Syabria on May 29th 2012, 4:11 pm

Never mind, I figured it out! However I still need help on the 'squashed' layout thing.

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Nera. on May 29th 2012, 5:05 pm

Did you figure out the part for the forum index?

I need the link to see the squashing problem.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Syabria on May 29th 2012, 5:47 pm

Here's one page:

teenstalk.forumotion.com/f6-introduce-yourself

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Templates issue for posts/views

Post by Syabria on May 29th 2012, 9:05 pm

Never mind. Solved it myself! Thanks for your help Nera! Solved

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Templates issue for posts/views

Post by SLGray on May 29th 2012, 9:32 pm

@Syabria wrote:Ahhah! I see now! Yes it worked in that area! However what I was looking at was on the forum index, not when you click on a forum. In other words, on the homepage?! Also may you tell me how to resolve this 'squashed' problem:


@Syabria wrote:Never mind, I figured it out! However I still need help on the 'squashed' layout thing.

@Syabria wrote:Here's one page:

teenstalk.forumotion.com/f6-introduce-yourself

@Syabria wrote:Never mind. Solved it myself! Thanks for your help Nera! Solved

Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!

This is your second reminder about double posting.

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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