11-08-2021, 08:42 AM
1
Capturas[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Ejecutar esta consulta
Código PHP: ( Seleccionar Todo )
ALTER TABLE w_configuracion ADD c_fotosemana VARCHAR( 105 ) NOT NULL AFTER offline_message
En c.core.php --> inc --> class --> c.core.php
Buscar:
Código PHP: ( Seleccionar Todo )
$this->settings['js'] = $this->settings['tema']['t_url'].'/js';
Debajo agregar:
Código PHP: ( Seleccionar Todo )
$this->settings['yt'] = $this->settings['c_fotosemana'];
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Código PHP: ( Seleccionar Todo )
'url' => $tsCore->setSecure($tsCore->parseBadWords($_POST['url'])),
Debajo agregar:
Código PHP: ( Seleccionar Todo )
'fotosemana' => $tsCore->setSecure($_POST['fotosemana']),
Buscar:
Código PHP: ( Seleccionar Todo )
`offline_message` = \'' .
$c['offline_message'] . '\'
Al lado agregar:
Código PHP: ( Seleccionar Todo )
, `c_fotosemana` = \'' .
$c['fotosemana'] . '\'
En m.admin_configs.tpl --> themes --> default --> templates --> admin_mods --> m.admin_configs.tpl
Buscar:
Código PHP: ( Seleccionar Todo )
<dl>
<dt>
<label for="ai_slogan">Descripción del Sitio:</label>
</dt>
<dd>
<input type="text" id="ai_slogan" name="slogan" maxlength="32" value="{$tsConfig.slogan}" />
</dd>
</dl>
Debajo agregar:
Código PHP: ( Seleccionar Todo )
<dl>
<dt>
<label for="ai_fotosemana">Foto de la semana </label><br /><span>Ingrese el link de la foto. </span>
</dt>
<dd>
<input type="text" name="fotosemana" id="ai_fotosemana" value="{$tsConfig.yt}" />
</dd>
</dl>
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Donde quieran agregan:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.foto_semana.tpl'}
Y suben esta carpeta
Mega
Debes agradecer para ver el contenido...
Google Drive
Debes agradecer para ver el contenido...
Mediafire
Debes agradecer para ver el contenido...
Creditos: Debes agradecer para ver el contenido...


Facebook
Twitter
Reddit
Digg
del.icio.us
Tumblr
Pinterest
Blogger
Fark
LinkedIn
Mix
Google