Stergere bara marcheaza forumurile ca fiind citite si topic nou
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Administreaza prezentarea forumului :: Arhiva probleme privind designul forumurilor
Pagina 1 din 1 • Distribuiţi
Stergere bara marcheaza forumurile ca fiind citite si topic nou
Cum pot sterge aceste butoane de jos?
Butonul Topic nou il am si sus.
Butonul Topic nou il am si sus.
Ultima editare efectuata de catre AlexSasann in Mier Noi 12, 2014 10:17 pm, editata de 1 ori
Re: Stergere bara marcheaza forumurile ca fiind citite si topic nou
Daca mai aveti problema astept template-ul topic_list_box
Re: Stergere bara marcheaza forumurile ca fiind citite si topic nou
- Cod:
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
</div>
<div class="main-content">
<div class="ipb-content">
<table cellspacing="0" class="table">
<thead>
<tr>
<th class="tcl">{L_TOPICS}</th>
<th class="tc2"></th>
<th class="tcr">{topics_list_box.row.L_LASTPOST}</th>
</tr>
</thead>
<tbody class="statused">
<!-- END header_table -->
<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->
<!-- BEGIN topic -->
<!-- BEGIN table_sticky -->
</tbody>
</table>
</div>
</div>
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" / >
<!-- END multi_selection -->
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
</div>
<div class="main-content">
<div class="ipb-content">
<table cellspacing="0" class="table">
<thead>
<tr>
<th class="tcl">{L_TOPICS}</th>
<th class="tc2"></th>
<th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
</tr>
</thead>
<tbody class="statused">
<!-- END table_sticky -->
<tr>
<td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<span class="status">
<img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
</span>
<div class="t2">
<div id="mesocono" style="display: inline;">{topics_list_box.row.ICON} {topics_list_box.row.PARTICIPATE_POST_IMG} </div><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>{topics_list_box.row.GOTO_PAGE_NEW}
</div>
<div class="by smalltext">
Started By {topics_list_box.row.TOPIC_AUTHOR}
</div>
<!-- BEGIN switch_description -->
<br />
<span class="descripcion">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</span>
<!-- END switch_description -->
</td>
<td class="tch3xd tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->"><span style="display: none;" data-id="hot_topic" class="ipsBadge ipsBadge_orange">Hot</span> <span data-id="replies">{topics_list_box.row.REPLIES}</span> răspunsuri<br/> {topics_list_box.row.VIEWS} vizualizări</td>
<td class="tcr hellyeah <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<div>
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="nothein">{topics_list_box.row.LAST_POST_AUTHOR}</span>
</div>
<div>
{topics_list_box.row.LAST_POST_TIME}
</div>
<div>
</div>
</td>
<!-- BEGIN multi_selection -->
<td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
<!-- END multi_selection -->
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
<td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
</div>
</div>
<div class="main-foot clearfix">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
<p class="options">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM} <a href="#top">{L_BACK_TO_TOP}</a>
</p>
</div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
<script>
var target = $('td.tch3xd tc2');
target.each(function(index){
var oThis = $(this);
var replies = oThis.children('span[data-id="replies"]').text();
if (replies > 9) {
oThis.children('span[data-id="hot_topic"]').show();
}
});
</script>
Re: Stergere bara marcheaza forumurile ca fiind citite si topic nou
Aveti 2 variante:
Prima varianta este sa identificati acest cod in template-ul dumneavoastra:
Si sa il stergeti.
Iar cea de a doua varianta este sa adaugati la clasa lui,adica aceasta:
Daca nu doriti sa il stergeti inlocuiti acest fragment de cod
cu acesta
Prima varianta este sa identificati acest cod in template-ul dumneavoastra:
- Cod:
<div class="main-foot clearfix">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
<p class="options">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM} <a href="#top">{L_BACK_TO_TOP}</a>
</p>
</div>
Si sa il stergeti.
Iar cea de a doua varianta este sa adaugati la clasa lui,adica aceasta:
- Cod:
<div class="main-foot clearfix">
Daca nu doriti sa il stergeti inlocuiti acest fragment de cod
- Cod:
<div class="main-foot clearfix">
cu acesta
- Cod:
<div class="main-foot clearfix" style="display:none!important">
Re: Stergere bara marcheaza forumurile ca fiind citite si topic nou
L-am adaugat. A disparut bara aceea dar Topic nou de jos nu. Vreau ca butonul sa apara doar sus.
Re: Stergere bara marcheaza forumurile ca fiind citite si topic nou
Pentru asta trebuie sa modificati in viewforum_body
Re: Stergere bara marcheaza forumurile ca fiind citite si topic nou
Am rezolvat. Multumesc franta
Subiecte similare
» stergere "marcheaza toate forumurile ca fiind citite"
» Marcheaza subiectul ca fiind rezolvat
» mutarea butonului Marcheaza toate forumurile ca fiind citite
» Cum scot asta de pe forumu meu ? Marcheaza toate forumurile ca fiind citite....
» Eliminare mesaje noi,mesaje proprii,marcheaza toate forumurile ca fiind citite
» Marcheaza subiectul ca fiind rezolvat
» mutarea butonului Marcheaza toate forumurile ca fiind citite
» Cum scot asta de pe forumu meu ? Marcheaza toate forumurile ca fiind citite....
» Eliminare mesaje noi,mesaje proprii,marcheaza toate forumurile ca fiind citite
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Administreaza prezentarea forumului :: Arhiva probleme privind designul forumurilor
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum