Cum adaug prefix?
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Administreaza prezentarea forumului :: Arhiva probleme privind designul forumurilor
Pagina 2 din 2 • Distribuiţi
Pagina 2 din 2 • 1, 2
Cum adaug prefix?
Rezumarea primului mesaj :
Cum adaug prefix pentru platforma invision?
Cum adaug prefix pentru platforma invision?
Re: Cum adaug prefix?
Pana la urma, am adaugat imagini, dar am o problema. Sunt pozitionate aiurea. Cum le pot pozitiona inainte de Titlul subiectului?
Re: Cum adaug prefix?
- Cod:
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
//<![CDATA[
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="maintitle floated dropped">
<h3>{FORUM_NAME} </h3>
<!-- BEGIN switch_forum_options -->
<div id="forummenu-options" class="popmenubutton">
<a href="javascript:void(0);" onclick="togglePopUpMenu('forummenu-options_menu');">{L_FORUM_OPTIONS}</a>
</div>
<ul id="forummenu-options_menu" class="popupmenu" style="position: absolute; top: 30px; right: 8px; z-index: 10000; display: none;">
<li class="popupmenu-category">
{L_FORUM_OPTIONS}
</li>
<li class="popupmenu-item">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>
</li>
<li class="popupmenu-item last">
{S_WATCH_FORUM}
</li>
</ul>
<!-- END switch_forum_options -->
</div>
<table cellspacing="0" cellpadding="0" class="ipbtable topic-list-box">
<thead>
<tr>
<th class="icon"></th>
<th class="forum2">{topics_list_box.row.L_TITLE}</th>
<th class="last last-post2">{topics_list_box.row.L_LASTPOST}</th>
<!-- BEGIN multi_selection -->
<th>
<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" />
</th>
<!-- END multi_selection -->
</tr>
</thead>
<tbody>
<!-- 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 class="maintitle">
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE}</h2>
</div>
<table cellspacing="0" cellpadding="0" class="ipbtable topic-list-box">
<thead>
<tr>
<th class="icon"></th>
<th class="forum2">{topics_list_box.row.topic.table_sticky.L_TITLE}</th>
<th class="last last-post2">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
<!-- BEGIN multi_selection -->
<th class="checkbox">
<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" />
</th>
<!-- END multi_selection -->
</tr>
</thead>
<tbody>
<!-- END table_sticky -->
<tr>
<td class="row2 centered"><p class="topic-desc"><!-- BEGIN switch_description -->{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}<!-- END switch_description --></p></td>
<td class="row2 topic-title" data-type="{topics_list_box.row.TOPIC_TYPE}" <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<!-- BEGIN single_selection -->
<input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END single_selection -->
<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}" />
{topics_list_box.row.NEWEST_POST_IMG}
<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}
<p>
{topics_list_box.row.ICON} <span class="topic4r stat4r">Autor: {topics_list_box.row.TOPIC_AUTHOR}</span>
<span class="post4r stat4r">Răspunsuri: <strong>{topics_list_box.row.REPLIES}</strong></span><span class="post4r stat4r">Vizualizări: <strong>{topics_list_box.row.VIEWS}</strong></span>
</p>
</td>
<td class="row1 lastaction <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="stat4r">{topics_list_box.row.LAST_POST_TIME}
<br />{topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR}
</span>
</td>
<!-- BEGIN multi_selection -->
<td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<input type="checkbox" name="{topics_list_box.FIELDNAME}" 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="row1 centered" colspan="8"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
<div class="tfooter box-content darkrow clearfix">
</div>
<!-- END bottom -->
<!-- BEGIN spacer -->
<br />
<!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
Re: Cum adaug prefix?
Buna ziua din nou Alex v-am efectuat modificarile dorite.
Va rog sa urmati urmatorii pasi:
Inlocuiti intregul topic_list_box cu acesta:
CSS:
Daca acest tutorial va fost de ajutor apasati butonul si modificati titlul subiectului cu
Va rog sa urmati urmatorii pasi:
Inlocuiti intregul topic_list_box cu acesta:
- Cod:
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
//<![CDATA[
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="maintitle floated dropped">
<h3>{FORUM_NAME} </h3>
<!-- BEGIN switch_forum_options -->
<div id="forummenu-options" class="popmenubutton">
<a href="javascript:void(0);" onclick="togglePopUpMenu('forummenu-options_menu');">{L_FORUM_OPTIONS}</a>
</div>
<ul id="forummenu-options_menu" class="popupmenu" style="position: absolute; top: 30px; right: 8px; z-index: 10000; display: none;">
<li class="popupmenu-category">
{L_FORUM_OPTIONS}
</li>
<li class="popupmenu-item">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>
</li>
<li class="popupmenu-item last">
{S_WATCH_FORUM}
</li>
</ul>
<!-- END switch_forum_options -->
</div>
<table cellspacing="0" cellpadding="0" class="ipbtable topic-list-box">
<thead>
<tr>
<th class="forum2" colspan="2">{topics_list_box.row.L_TITLE}</th>
<th class="last last-post2">{topics_list_box.row.L_LASTPOST}</th>
<!-- BEGIN multi_selection -->
<th>
<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" />
</th>
<!-- END multi_selection -->
</tr>
</thead>
<tbody>
<!-- 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 class="maintitle">
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE}</h2>
</div>
<table cellspacing="0" cellpadding="0" class="ipbtable topic-list-box">
<thead>
<tr>
<th class="forum2" colspan="2">{topics_list_box.row.topic.table_sticky.L_TITLE}</th>
<th class="last last-post2">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
<!-- BEGIN multi_selection -->
<th class="checkbox">
<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" />
</th>
<!-- END multi_selection -->
</tr>
</thead>
<tbody>
<!-- END table_sticky -->
<tr>
<td class="row2_icon"><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}" />
</td>
<td class="row2 topic-title" data-type="{topics_list_box.row.TOPIC_TYPE}" <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<!-- BEGIN single_selection -->
<input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END single_selection -->
<div class="prefix"> {topics_list_box.row.ICON}</div>
<a class="topictitle_nenicu" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
{topics_list_box.row.GOTO_PAGE_NEW}
<p>
<span class="topic4r stat4r">Autor: {topics_list_box.row.TOPIC_AUTHOR}</span>
<span class="post4r stat4r">Răspunsuri: <strong>{topics_list_box.row.REPLIES}</strong></span><span class="post4r stat4r">Vizualizări: <strong>{topics_list_box.row.VIEWS}</strong></span>
</p>
</td>
<td class="row1 lastaction <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="stat4r">{topics_list_box.row.LAST_POST_TIME}
<br />{topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR}
</span>
</td>
<!-- BEGIN multi_selection -->
<td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<input type="checkbox" name="{topics_list_box.FIELDNAME}" 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="row1 centered" colspan="8"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
<div class="tfooter box-content darkrow clearfix">
</div>
<!-- END bottom -->
<!-- BEGIN spacer -->
<br />
<!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
CSS:
- Cod:
a.topictitle_nenicu, .prefix{
display: inline-block;
float: left;
margin-left: 2px;
margin-right: 2px;
}
td.row2_icon{
width: 1%!important;
padding: 2px!important;
background-color: #eff1f3;
border-bottom: 1px solid #dcdcdc!important;
border-left: 1px solid #dcdcdc!important;
}
Daca acest tutorial va fost de ajutor apasati butonul si modificati titlul subiectului cu
Re: Cum adaug prefix?
Rezolvat! Multumesc
Pagina 2 din 2 • 1, 2
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Administreaza prezentarea forumului :: Arhiva probleme privind designul forumurilor
Pagina 2 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum