Tema: Poner favicon en themes Autotheme
kube84

Novato
Novato
Mensajes: 20

Enviado:
8.ago 2008 - 13:36

Wenas, pues pongo éste post porke he conseguido, tras mucho buskar, poner mi favicon en éste tipo de themes, para ello vamos a la carpeta de nuestro theme y modificamos el archivo "theme.php" añadiendo ésta linea:

echo "\n";

Mi theme.php keda asi:

<?php
// ----------------------------------------------------------------------
// Copyright (c) 2002-2003 Shawn McKenzie
// http://spidean.mckenzies.net
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
echo "\n";
$thename = basename(dirname(__FILE__));

include("modules/AutoTheme/autotheme.php");

?>


La añadí delante de "$thename = basename(dirname(__FILE__));".

Un saludo.



editado por: kube84, 08 Ago, 2008 - 01:52