Cum pun un singur chenar la ultimele mesaje ?
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Administreaza prezentarea forumului :: Arhiva probleme privind designul forumurilor
Pagina 1 din 1 • Distribuiţi
Cum pun un singur chenar la ultimele mesaje ?
Buna Seara
Uitati o imagine pentru a intelege mai bine:
As vrea sa pun un chenar simplu dar si frumos in aceelasi timp.
Uitati o imagine pentru a intelege mai bine:
As vrea sa pun un chenar simplu dar si frumos in aceelasi timp.
Ultima editare efectuata de catre Magnum in Lun Oct 21, 2013 8:31 pm, editata de 1 ori
Re: Cum pun un singur chenar la ultimele mesaje ?
Pentru chenar înlocuiţi template-ul index_box cu următorul:
- Cod:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall">{LAST_VISIT_DATE}<br />
{CURRENT_TIME}<br />
</span>
<!-- END switch_user_logged_in -->
<div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
</td>
<td class="gensmall" align="right" valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
</td>
</tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="4" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
</span>
</h{catrow.forumrow.LEVEL}>
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
<span class="gensmall">
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
</span>
</td>
<td class="row3" align="right" valign="middle">
<div style="width: 120px"><span class="gensmall">{catrow.forumrow.TOPICS} Topic-uri</span><br /><span class="gensmall">{catrow.forumrow.POSTS} Mesaje</span></div>
</td>
<td class="row3 over" align="center" valign="middle" height="50"><div class="ultimele-mesaje">
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</div></td>
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
- Cod:
.ultimele-mesaje {
border: 1px solid #007DEE;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
padding: 4px;
}
Re: Cum pun un singur chenar la ultimele mesaje ?
Buna Seara
Am incercat cum ai zis dar imi iese urat si inghesuit.
Am incercat cum ai zis dar imi iese urat si inghesuit.
Re: Cum pun un singur chenar la ultimele mesaje ?
Poți face un print?Magnum a scris:Buna Seara
Am incercat cum ai zis dar imi iese urat si inghesuit.
Salve !
Re: Cum pun un singur chenar la ultimele mesaje ?
Desigur
Uite cum arata asa normal fara sa adaug codurile care miai zis:
Si uite cum arata dupa ce am adaugat codurile:
Iar daca te uiti nu foarte atent tot observi cam multe modificari nu frumoase ce urate.
PS: sunt fondatorul comunitati , si versiunea este phpBB2 daca cumva iti trebuie si aceste detalii.
Uite cum arata asa normal fara sa adaug codurile care miai zis:
Si uite cum arata dupa ce am adaugat codurile:
Iar daca te uiti nu foarte atent tot observi cam multe modificari nu frumoase ce urate.
PS: sunt fondatorul comunitati , si versiunea este phpBB2 daca cumva iti trebuie si aceste detalii.
Re: Cum pun un singur chenar la ultimele mesaje ?
Daca ai adaugat codurile lui ShangTi in template-uri, adauga urmatorul cod in P.A>Afisare>Culori>Foaia de stil css
- Cod:
.ultimele-mesaje {
border: 1px solid #007DEE;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
padding: 4px;
width: 150px;
}
Re: Cum pun un singur chenar la ultimele mesaje ?
Tot nu merge inca iimi face mai rau.
Re: Cum pun un singur chenar la ultimele mesaje ?
Inlocuieste index_box actual cu cel de mai jos:
- Cod:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall">{LAST_VISIT_DATE}<br />
{CURRENT_TIME}<br />
</span>
<!-- END switch_user_logged_in -->
<div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
</td>
<td class="gensmall" align="right" valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
</td>
</tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="4" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
</span>
</h{catrow.forumrow.LEVEL}>
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
<span class="gensmall">
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
</span>
</td>
<td class="row3" align="right" valign="middle">
<div style="width: 120px"><span class="gensmall">{catrow.forumrow.TOPICS} Topic-uri</span><br /><span class="gensmall">{catrow.forumrow.POSTS} Mesaje</span></div>
</td>
<td class="row3 over" align="center" valign="middle" height="50"><div class="ultimele-mesaje">
<div style="min-width: 150px"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
</div></td>
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Re: Cum pun un singur chenar la ultimele mesaje ?
Merge dar cum pot pune topicuri si mesaje mai incolo ?
deoarece au venit mai incoace vreau sa fie in mijloc "Topicuri si Mesaje" mai incolo de marginea aia. Sper ca ai inteles.
O intrebare am , tu sti html si javascript ?
deoarece au venit mai incoace vreau sa fie in mijloc "Topicuri si Mesaje" mai incolo de marginea aia. Sper ca ai inteles.
O intrebare am , tu sti html si javascript ?
Re: Cum pun un singur chenar la ultimele mesaje ?
Cauta in index_box:
- Cod:
<td class="row3" align="right" valign="middle">
- Cod:
<td class="row3" align="right" valign="middle" style="padding-right: 7px;">
Da, stiu html si javascript in deajuns de mult incat sa ma pot descurca fara probleme pe aceasta platforma.Magnum a scris:O intrebare am , tu sti html si javascript ?
Adi.- Membru onorific
- Mesaje : 3738
Localizare : Forumgratuit
Data înscrierii : 01/08/2012
Mulțumiri : 30
Subiecte similare
» Chenar Profil si Chenar Ultimele Mesaje [ punBB ]
» Subiecte , Mesaje si Ultimele mesaje in chenar
» Ultimele mesaje in chenar
» Chenar ultimele mesaje
» Chenar la Ultimele mesaje
» Subiecte , Mesaje si Ultimele mesaje in chenar
» Ultimele mesaje in chenar
» Chenar ultimele mesaje
» Chenar la Ultimele mesaje
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