Show threads on home page
3 posters
Page 1 of 1
Show threads on home page
I posted this in appearance forum but I guess it's more down to coding so maybe a programmer can I help me. I am using Invision.
In Index_box template, the categories of the forum are shown in the heirarchy followed by forums and subforums.
In topics_List template, there is a list of topics for that forum:
How can I amend Index_Box so that the index shows a list of topics instead of a list of forums? I only one forum, and I wish for the list of topics to be the homepage rather than an index.
I'm sure there's a way...
In Index_box template, the categories of the forum are shown in the heirarchy followed by forums and subforums.
- Code:
<table cellpadding="0" cellspacing="0" id="{catrow.tablehead.ID}" class="ipbtable index-box">
<thead>
<tr>
<th class="forum">{L_FORUM}</th>
<th class="topics">{L_TOPICS}</th>
<th class="replies">{L_POSTS}</th>
<th class="last post-info">{L_LASTPOST}</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4">
- Code:
</td>
</tr>
</tfoot>
<tbody>
<!-- END tablehead -->
- Code:
<!-- BEGIN forumrow -->
<tr>
<td class="row2 icon" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status clearfix" 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}" class="icon" />
</span>
<div class="par forum-name">
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<p class="forum-desc">{catrow.forumrow.FORUM_DESC}</p>
In topics_List template, there is a list of topics for that forum:
- Code:
<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->
- Code:
<!-- BEGIN topic -->
<!-- BEGIN table_sticky -->
</tbody>
</table>
- Code:
<div class="maintitle">
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE}</h2>
</div>
<table cellspacing="0" cellpadding="0" class="ipbtable">
<thead>
<tr>
<th class="icon"></th>
<th class="icon"></th>
<th class="forum2">{topics_list_box.row.topic.table_sticky.L_TITLE}</th>
<th class="topics">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
<th class="starter">{topics_list_box.row.topic.table_sticky.L_AUTHOR}</th>
<th class="views">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
<th class="last last-post2">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
How can I amend Index_Box so that the index shows a list of topics instead of a list of forums? I only one forum, and I wish for the list of topics to be the homepage rather than an index.
I'm sure there's a way...
Synapse11- New Member
- Posts : 13
Reputation : 2
Language : English
Re: Show threads on home page
Nvm this was really easy. In the index template:
<meta http-equiv="refresh" content="0; url=http://www.diprepublic.net/f6-anything-goes" />
<meta http-equiv="refresh" content="0; url=http://www.diprepublic.net/f6-anything-goes" />
Synapse11- New Member
- Posts : 13
Reputation : 2
Language : English
Re: Show threads on home page
did you had that in index tamplate or did you add it? cuz in index_body tamplate I can't find itSynapse11 wrote:Nvm this was really easy. In the index template:
<meta http-equiv="refresh" content="0; url=http://www.diprepublic.net/f6-anything-goes" />
Re: Show threads on home page
I added it. It redirects the index page to the forum every time.
However meta redirecting is frowned upon by google and the like as it smells like a virus.
However meta redirecting is frowned upon by google and the like as it smells like a virus.
Synapse11- New Member
- Posts : 13
Reputation : 2
Language : English
Re: Show threads on home page
Please do not post mutli-threads about the same issue/question. Since your other topic has been archived, this will be garbaged.
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.
Similar topics
» Forum Widget Only Show in Home Page
» How to show latest topic on home page of my forum
» HTML page as Home page problem
» Show threads in category description
» How do I make threads that doesn't show the thread maker?
» How to show latest topic on home page of my forum
» HTML page as Home page problem
» Show threads in category description
» How do I make threads that doesn't show the thread maker?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum