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.

Join cat.name, posts, topics and last post

Go down

Solved Join cat.name, posts, topics and last post

Post by Julija on January 18th 2015, 7:44 pm

Hello guys, I was wondering if it's possible to join Category name, Posts, Topics and Last poster columns into one row.

It looks like this now:


Can I join it together so that the heading would only show Category name like this?:


Thanks!
(Sorry if the topic title is not accurate enough.)

Julija
Forumember

Female Posts : 48
Reputation : 0
Language : english

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Ikerepc on January 18th 2015, 8:16 pm

What forum version you using and please post your forum url
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Julija on January 18th 2015, 8:26 pm

http://gtfo.justgoo.com/
I'm using phbb2.

Julija
Forumember

Female Posts : 48
Reputation : 0
Language : english

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Ikerepc on January 18th 2015, 8:33 pm

You need a lot of coding for that it will be much easier at phpBB 3...

I haven't time to make code now, sorry
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Julija on January 18th 2015, 10:06 pm

Well, phBB2 is sooo much better for me for a number of reasons and I understand that it should involve some coding, I was only hoping that playing with codes in templates would be enough. There's absolutely no rush, but I would appreciate it very much if you could make the code when you have some time. Smile

Julija
Forumember

Female Posts : 48
Reputation : 0
Language : english

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Ikerepc on January 19th 2015, 1:20 am

I can try when I find some time, of corse Smile
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Ikerepc on January 20th 2015, 6:43 am

Go to Admin panel -> display -> Templates -> General index_box

1st step
Find this:
Code:
   <tr>
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle">&nbsp;{catrow.tablehead.L_FORUM}&nbsp;</th>
      <th nowrap="nowrap" width="50">{L_TOPICS}</th>
      <th nowrap="nowrap" width="50">{L_POSTS}</th>
      <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
   </tr>
And replace with this:
Code:
   <tr>
      <th colspan="5" nowrap="nowrap" width="100%" class="secondarytitle">&nbsp;{catrow.tablehead.L_FORUM}&nbsp;</th>
   </tr>


2nd step
Find this:
Code:
      <td class="row3" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td class="row3 over" align="center" valign="middle" height="50">
And replace with this:
Code:
      <td nowrap="nowrap" width="50" class="row3" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td nowrap="nowrap" width="50" class="row2" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td nowrap="nowrap" width="150" class="row3 over" align="center" valign="middle" height="50">
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Julija on January 20th 2015, 2:36 pm

Worked like a charm, thank you so much!

Julija
Forumember

Female Posts : 48
Reputation : 0
Language : english

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Ikerepc on January 20th 2015, 2:42 pm

You welcome Smile
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Join cat.name, posts, topics and last post

Post by Ange Tuteur on January 20th 2015, 6:26 pm

Thanks for the help, Ikerepc.

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Back to top


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