Mensaje Nº 1 | 7:53 PM
Hola encontré un bug en la plantilla de Álbum de fotos.
Resulta que la otra vez me fijo, y ví que pongo una foto y me dice que hay 12 posteadas. Y solo hay una, me fijo en la plantilla y resulta que hay un bug, lo digo así publicamente para que alguien de uCoz lo corrija así a todos nos queda mejor el sitio.

El error está en la platilla de incio del álbum.

Acá pongo la plantilla estandar en uCoz:

Quote
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>$MODULE_NAME$ - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/.s/src/css/813.css" />
</head>
<body>
$ADMIN_BAR$
<div class="wrap">

$GLOBAL_AHEADER$
<?if($MODULE_ID$='forum')?><div style="width: 95%; margin-left: 3%;"><?endif?>
<!-- <middle> -->
<table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
<tr>
<td class="sidebar">
$GLOBAL_CLEFTER$
</td>
<td class="content">
<!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="70%"><!--<s5194>-->Fotos: <b>$NUM_ENTRIES$</b | álbumes: <b>$NUM_CATEGORIES$</b><!--</s>--></td><td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?>[ <a href="$ADD_ENTRY_LINK$"><!--<s5160>-->Añadir foto<!--</s>--></a> ]<?endif?></td></tr></table><br />
<div style="padding:3px 0 3px 0;border-top:1px dotted #A9B8C2;border-bottom:1px dotted #A9B8C2;"><!--<s5210>-->Fotos nuevas <!--</s>--></div><br />
$BODY$<hr/><div align="center">$SLIDESHOW_BUTTON$</div><!-- </body> -->
</td>
<td class="sidebar">
$GLOBAL_DRIGHTER$
</td>
</tr>
</table>
<!-- </middle> -->
<?if($MODULE_ID$='forum')?></div><?endif?>
</div>

$GLOBAL_BFOOTER$
</body>
</html>

Muchos se preguntaran cuál es el problema?
El problema se encuentra en que está mal cerrada una de las <b>!

Ahora se la pongo de nuevo, pero esta vez correjida por mí:

Quote
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>$MODULE_NAME$ - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/.s/src/css/813.css" />
</head>
<body>
$ADMIN_BAR$
<div class="wrap">

$GLOBAL_AHEADER$
<?if($MODULE_ID$='forum')?><div style="width: 95%; margin-left: 3%;"><?endif?>
<!-- <middle> -->
<table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
<tr>
<td class="sidebar">
$GLOBAL_CLEFTER$
</td>
<td class="content">
<!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="70%"><!--<s5194>-->Fotos: <b>$NUM_ENTRIES$</b> | álbumes: <b>$NUM_CATEGORIES$</b><!--</s>--></td><td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?>[ <a href="$ADD_ENTRY_LINK$"><!--<s5160>-->Añadir foto<!--</s>--></a> ]<?endif?></td></tr></table><br />
<div style="padding:3px 0 3px 0;border-top:1px dotted #A9B8C2;border-bottom:1px dotted #A9B8C2;"><!--<s5210>-->Fotos nuevas <!--</s>--></div><br />
$BODY$<hr/><div align="center">$SLIDESHOW_BUTTON$</div><!-- </body> -->
</td>
<td class="sidebar">
$GLOBAL_DRIGHTER$
</td>
</tr>
</table>
<!-- </middle> -->
<?if($MODULE_ID$='forum')?></div><?endif?>
</div>

$GLOBAL_BFOOTER$
</body>
</html>

El error está en rojo!
Así és, faltaba esa pequeñes, allí radicaba el error!

Saludos, y estén atentos! wink


Aprovecho para invitarte a una nueva comunidad destinada al diseño, html, css, script, etc. Si estás interesado en este proyecto entra a iSupport. Más info aquí.
Post editado por TolBook - Domingo, 2010-02-21, 7:54 PM