

Daca ai instalat cumva at a glance 2.3.5 atunci urmezi instructiunile din documentatie, ceva de genul:k3nz0r scrie:cum fac ca acel tabel cu ultimile noutati etc sa fie ega departat .. ex cum e la phpbb.ro sa nutreaca mai sus de linia aiasa ramana la acel nivel cu forumul
Si daca ai urmat instructiunile corect, tabelul cu at a glance va fi la acelasi nivel cu forumul.# Open the next file to set your preferences.
#
glance_config.php
#
#-----[ COPY ]-----------------------------------
#
copy root/glance.php to phpbb_root_path/glance.php
copy root/glance_config.php to phpbb_root_path/glance_config.php
copy root/language/lang_english/lang_main_glance.php to phpbb_root_path/language/lang_english/lang_main_glance.php
copy root/templates/subSilver/glance_body.tpl to phpbb_root_path/templates/subSilver/glance_body.tpl
copy root/templates/subSilver/glance_body_big.tpl to phpbb_root_path/templates/subSilver/glance_body_big.tpl
#
#-----[ OPEN ]------------------------------
# Note -- Any page you want it on (.php).
# Note -- For example index.php
#
*.php
#
#-----[ FIND ]-----------------------------------
#
//
// Generate the page
//
$template->pparse('body');
#
#-----[ BEFORE, ADD ]-----------------------------------
#
include($phpbb_root_path . 'glance.'.$phpEx);
#
#-----[ OPEN ]------------------------------
# Note -- Corresponding template file (.tpl)
# Note -- For example index_body.tpl
#
index_body.tpl
#
#-----[ FIND ]-----------------------------------
# Note -- The code will be displayed before your recent news and/or topics.
# * is any code.
#
<table>
<tr>
<th> {L_FORUM} </th>
<th> {L_TOPICS} </th>
<th> {L_POSTS} </th>
<th> {L_LASTPOST} </th>
</tr>
<BEGIN>
<tr>
<td><span><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td> </td>
</tr>
<BEGIN>
<tr>
<td><img></td>
<td><span> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br>
</span> <span>{catrow.forumrow.FORUM_DESC}<br>
</span><span>{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td><span>{catrow.forumrow.TOPICS}</span></td>
<td><span>{catrow.forumrow.POSTS}</span></td>
<td> <span>{catrow.forumrow.LAST_POST}</span></td>
</tr>
<END>
<END>
</table>
#
#-----[ BEAFORE, ADD ]-----------------------------------
# Note -- Anywhere you want the box.
#
<table>
<tr>
<td>
#
#-----[ AFTER, ADD ]-----------------------------------
# Note -- Anywhere you want the box.
#
</td>
<td>
<table>
<tr>
<td>
{GLANCE_OUTPUT}
</td>
</tr>
</table>
</td>
</tr>
</table>
#
#-----[ SAVE/CLOSE ALL FILES ]-----------------------------------
# EoM
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori