Adding "-- posts in -- topics"
3 posters
Page 1 of 1
Adding "-- posts in -- topics"
Someone can help me?
I'm editting the index_box. But when i edit the post number and topic number, it's not showing when i placed it in the table head. The only thing showing is "Post in Topics", there's none counting of topics/post
Can someone help me? You can check my index_box.
- Code:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="main-head">
<center><div class="page-title">{catrow.tablehead.L_FORUM}</div></center>
<span class="topicpost"><span><b>{catrow.forumrow.POSTS}</span></b> Posts in <span><b>{catrow.forumrow.TOPICS}</b> </span> Topics</span>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</span>
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<br />
{catrow.forumrow.FORUM_DESC}
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
<center><span style="color: #181818; text-align: center" margin-left: 0 auto;">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span></center>
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
<ul>
<li><a href="{U_TODAY_ACTIVE}" class="demo" title="You can check here todays active topics">{L_TODAY_ACTIVE}</a></li>
<li><a href="{U_TODAY_POSTERS}" class="demo" title="You can check here todays active 10 posters">{L_TODAY_POSTERS}</a></li>
<li><a href="{U_OVERALL_POSTERS}" class="demo" title="You can check here the overall top 20 posters">{L_OVERALL_POSTERS}</a></li>
</ul>
<!-- BEGIN switch_delete_cookies -->
<p class="right">
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
</p>
<!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
Thank YOU!
Last edited by mark1111 on December 30th 2011, 1:39 pm; edited 1 time in total
Re: Adding "-- posts in -- topics"
So you want to add it in the right side of the category? I believe it can only be in the forums not the categories. I could be wrong, there could be a code.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Adding "-- posts in -- topics"
Try this:
- Code:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead --><div class="mos-craciun"></div>
<div class="main-head">
<div class="page-title">{catrow.tablehead.L_FORUM}</div>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="tc1" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<img class="img-lat" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</span>
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<br />
<div class="img-desc">{catrow.forumrow.FORUM_DESC}</div>
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
<td class="tc2">{catrow.forumrow.TOPICS}<br><span>Subiecte</span></td>
<td class="tc3">{catrow.forumrow.POSTS}<br><span>Mesaje</span></td>
<td class="tcr">
<span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<div class="main-ftr"></div>
<br>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
<ul>
<li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
<li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
<li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
</ul>
<!-- BEGIN switch_delete_cookies -->
<p class="right">
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
</p>
<!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
Re: Adding "-- posts in -- topics"
Try this:
Now add to css:
Now, let me explain you something
First of all, make your categories like thats, is just an exemple.
1. Create a category: Category Ex
2. Add a forum to 'Category Ex'
Title:
At all subforums use at title :
- Code:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="main-head"><center><div class="page-title">{catrow.tablehead.L_FORUM}</div></center>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</span>
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<br />
<center>{catrow.forumrow.FORUM_DESC}</center>
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
<center><span style="color: #181818; text-align: center" margin-left: 0 auto;">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span></center>
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
<td width="10%" style="border: none!important;">
<div class="topics-posts"><span>{catrow.forumrow.POSTS}</span> Posts in <span>{catrow.forumrow.TOPICS}</span> Topics</div>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
<ul>
<li><a href="{U_TODAY_ACTIVE}" class="demo" title="You can check here todays active topics">{L_TODAY_ACTIVE}</a></li>
<li><a href="{U_TODAY_POSTERS}" class="demo" title="You can check here todays active 10 posters">{L_TODAY_POSTERS}</a></li>
<li><a href="{U_OVERALL_POSTERS}" class="demo" title="You can check here the overall top 20 posters">{L_OVERALL_POSTERS}</a></li>
</ul>
<!-- BEGIN switch_delete_cookies -->
<p class="right">
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
</p>
<!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
Now add to css:
- Code:
.topics-posts {
color: #fff;
float: right;
padding: 5px;
margin-top: -100px;
margin-right: 4px;}
Now, let me explain you something
First of all, make your categories like thats, is just an exemple.
1. Create a category: Category Ex
2. Add a forum to 'Category Ex'
Title:
- Code:
<div style="display: none">Forum Ex</div>
- Code:
<table width="650" border="0">
<tr>
<td width="120"><a href="/f1-"> <div align="center">
<strong><span style="font-size: 12px;">General</span></strong>
<br>
<img src="http://cdn4.iconfinder.com/data/icons/Basic_set2_Png/64/bubble.png" border="0"></div> </a>
</td>
<td width="120"><a href="/f2-"> <div align="center">
<strong><span style="font-size: 12px;">Announcements</span></strong>
<br>
<img src="http://png-2.findicons.com/files/icons/1676/primo/64/news.png" border="0"></div> </a>
</td>
<td width="120"><a href="/f3-"> <div align="center">
<strong><span style="font-size: 12px;">Introductions</span></strong>
<br>
<img src="http://cdn4.iconfinder.com/data/icons/Basic_set2_Png/64/user_anonymous.png" border="0"></div> </a>
</td>
<td width="120"><a href="/f4-"> <div align="center">
<strong><span style="font-size: 12px;">Suggestions</span></strong>
<br>
<img src="http://cdn2.iconfinder.com/data/icons/basicset/flag_64.png" border="0"></div> </a>
</td>
</tr> </table>
At all subforums use at title :
- Code:
<span style="display:none;">SubForum name</span>
Re: Adding "-- posts in -- topics"
HOHO! A very well explanation.
I like it. My problem is now solved.
Thanks BTW .
I like it. My problem is now solved.
Thanks BTW .
Re: Adding "-- posts in -- topics"
Haha. Well. Thank You .
Solved solved solved. Mods/admins can locked this now. :3
Solved solved solved. Mods/admins can locked this now. :3
Similar topics
» Adding line to topics posts
» Adding or Removing Posts From The Latest Topics Widget
» howto stop the Latest topics showing posts in hidden topics ?
» How to make topics so they don't count posts (like free spam but it aint raising members posts)
» How To Remove The Number Of Posts,Topics and Latest Posts Beside The Categories
» Adding or Removing Posts From The Latest Topics Widget
» howto stop the Latest topics showing posts in hidden topics ?
» How to make topics so they don't count posts (like free spam but it aint raising members posts)
» How To Remove The Number Of Posts,Topics and Latest Posts Beside The Categories
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum