Joomla.it Forum
Joomla! 2.5 (versione con supporto terminato) => Joomla! 1.6/1.7/2.5 => I Template di Joomla 1.6/1.7/2.5 => : Salvù 28 Feb 2012, 10:19:46
-
Salve gente :)
vi chiedo un'ultima cosa. Sapete dirmi come si modifica la riga del copyright che c'è in basso al sito?
Ecco il link del sito: http://areadiprovasito.altervista.org/ (http://areadiprovasito.altervista.org/)
Grazie mille a tutti per le risposte! ;)
-
ispeziona l'elemento con firefox+firebug e scopri dove stà poi tramite ftp vai a modificare, a naso potrebbe risiedere anche in..... template/nome_template/index.php
prova ;)
-
Ciao :)
l'ho fatto. Firebug nell'html me lo individua così: <div class="ftb">
Cosa posso fare? :'(
-
devi guardare in basso a destra a che file.css ti rimanda!!
-
tdefaut.css
-
ok aprilo a vai a vedere all'interno firebug ti indica anche la riga "incriminata"!
-
dipende da che modifica devi fare....
se è a livello "grafico", come spostare a destra o sinistra, devi modificare il file css tdefaut.css che si trova nella cartella css del tuo template, mentre se devi modificare la scritta, questa la trovi nel file index.php del tuo template, in genere vero la fine... troverai un div con ftb al cui interno è contenuto il codice html/php del copyright.
-
Grazie per le risposte :)
non devo fare modifiche grafiche devo solo cambiare le parole alla scritta.
Qui c'è il file index.php... sapete dirmi che riga modificare e come?
<?php
/****************************************************
#####################################################
##-------------------------------------------------##
## CLASSIC DARK ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2011 ##
## Date = OCTOBRE 2011 ##
## Author = globbers ##
## Websites = http://www.globbersthemes.com ##
## ##
#####################################################
****************************************************/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jdoc:include type="head" />
<?php JHTML::_('behavior.framework', true);
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
$csite_name = $app->getCfg('sitename');
?>
<?php #main width#
$mod_right = $this->countModules( 'position-7' );
if ( $mod_right ) { $width = '';
} else { $width = '-full';}
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/classicdark/css/tdefaut.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/classicdark/css/joomlastyle.css" type="text/css" media="all" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/modal.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/superfish.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/slideshow.js"></script>
<link rel="icon" type="image/gif" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.gif" />
<script type="text/javascript">
$().ready(function() {
$('#dialog').jqm();
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$(' .navigation ul ').superfish({
delay: 1000,
animation: {opacity:'show',height:'show'},
speed: 'normal',
autoArrows: false,
dropShadows: false
});
});
</script>
</head>
<body>
<div class="pagewidth">
<div id="sitename">
<a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.png" width="453" height="184" alt="logotype" /></a>
<>
<div id="newsflash">
<div id="newsflash-content">
<jdoc:include type="modules" name="position-3" />
<>
<>
<div id="topmenu">
<div class="navigation">
<jdoc:include type="modules" name="position-1" />
<>
<>
<div id="wrapper-main">
<div id="main<?php echo $width; ?>">
<div id="slide">
<div id="slideshow-w">
<div id="slideshow">
<img src="templates/<?php echo $this->template ?>/images/slide1.jpg" alt="image1" />
<>
<>
<>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("#slideshow").slideshow({
pauseSeconds:5,
height:230,
fadeSpeed:0.5,
width:619,
caption: false
});
});
</script>
<div class="clr"><>
<div id="main-content<?php echo $width; ?>">
<jdoc:include type="component" />
<>
<>
<?php if ($this->countModules('position-7')) { ?>
<div id="right">
<jdoc:include type="modules" name="position-7" style="xhtml" />
<>
<?php } ?>
<>
<div id="ftb-f">
<div class="ftb">
<?php echo date( 'Y' ); ?> <?php echo $csite_name; ?> <?php require("template.php"); ?>
<>
<div id="top">
<div class="top_button">
<a href="#" onclick="scrollToTop();return false;">
<img src="templates/<?php echo $this->template ?>/images/top.png" width="30" height="30" alt="top" /></a>
<>
<>
<>
<>
</body>
<div id="nuovo"><jdoc:include type="modules" name="nuovo" />
<>
</html>
-
<div class="ftb">
<?php echo date( 'Y' ); ?> <?php echo $csite_name; ?> <?php require("template.php"); ?>
<>
devi modificare questa riga. sicuramente ora sarà tipo 2012 - nome sito e poi qualche altra cosa che è contenuta nel file template.php
devi agire su questa riga per modificare e scrivere ciò che vuoi.
-
andrid87
puoi dirmi come diventa la riga per avere questa scritta:
Bagheria Bene Comune - Bagheria - info@bagheriabenecomune.org
-
cancella quella riga e metti:
<p>Bagheria Bene Comune - Bagheria - <a href "mailto:info@bagheriabenecomune.org">info@bagheriabenecomune.org [/url] </p>
e dovrebbe funzionare
-
guarda questo post che ho fatto un casino prima ;D sostituiscilo alla riga incriminata ;)
<p>Bagheria Bene Comune - Bagheria - <a href "mailto:info@bagheriabenecomune.org">info@bagheriabenecomune.org </a></p>
e dovrebbe funzionare
-
la scritta cambia ma cliccando sull'email non si apre la finestra per inviare l'email ma ritorna in home page...
Puoi aiutarmi?
-
e inoltre la riga se ne scende... non sta più sullo stesso livello dell'icona per risalire nel sito...
guarda:
http://imageshack.us/photo/my-images/820/schermata022455987alle1.png/
La puoi effettuare tu la modifica nel css? A me la riga scende... non è come prima...
Inoltre è possibile farla di questa tonalità di colore? #ed691d
Aspetto tue notizie :)
-
<div class="ftb">
Bagheria Bene Comune - Bagheria - <a href="mailto:info@bagheriabenecomune.org">info@bagheriabenecomune.org</a>
<>
prova così, dovrebbe andare.
per il colore devi modificare la classe ftb nel template.css alla voce color e mettere #ed691d
-
Ora l'email funziona ma l'icona che era nella stessa riga ora è andata sotto...
per renderti conto di cosa sto dicendo basta che vai sul sito www.bagheriabenecomune.org
questo è tutto il codice, puoi vedere cosa ho sbagliato e ridarmelo tutto giusto? :'(
<?php
/****************************************************
#####################################################
##-------------------------------------------------##
## CLASSIC DARK ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2011 ##
## Date = OCTOBRE 2011 ##
## Author = globbers ##
## Websites = http://www.globbersthemes.com ##
## ##
#####################################################
****************************************************/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jdoc:include type="head" />
<?php JHTML::_('behavior.framework', true);
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
$csite_name = $app->getCfg('sitename');
?>
<?php #main width#
$mod_right = $this->countModules( 'position-7' );
if ( $mod_right ) { $width = '';
} else { $width = '-full';}
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/classicdark/css/tdefaut.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/classicdark/css/joomlastyle.css" type="text/css" media="all" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/modal.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/superfish.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/slideshow.js"></script>
<link rel="icon" type="image/gif" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.gif" />
<script type="text/javascript">
$().ready(function() {
$('#dialog').jqm();
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$(' .navigation ul ').superfish({
delay: 1000,
animation: {opacity:'show',height:'show'},
speed: 'normal',
autoArrows: false,
dropShadows: false
});
});
</script>
</head>
<body>
<div class="pagewidth"><div id="icon"> <jdoc:include type="modules" name="icon" /><>
<div id="sitename">
<a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.png" width="453" height="184" alt="logotype"/></a>
<>
<div id="newsflash">
<div id="newsflash-content">
<jdoc:include type="modules" name="position-3" />
<>
<>
<div id="topmenu">
<div class="navigation">
<jdoc:include type="modules" name="position-1" />
<>
<>
<div id="wrapper-main">
<div id="main<?php echo $width; ?>">
<div id="slide">
<div id="slideshow-w">
<div id="slideshow">
<img src="templates/<?php echo $this->template ?>/images/slide1.jpg" alt="image1" />
<>
<>
<>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("#slideshow").slideshow({
pauseSeconds:5,
height:230,
fadeSpeed:0.5,
width:619,
caption: false
});
});
</script>
<div class="clr"><>
<div id="main-content<?php echo $width; ?>">
<jdoc:include type="component" />
<>
<>
<?php if ($this->countModules('position-7')) { ?>
<div id="right">
<jdoc:include type="modules" name="position-7" style="xhtml" />
<>
<?php } ?>
<>
<div id="nuovo"><jdoc:include type="modules" name="nuovo" />
<>
<div id="ftb-f">
<div class="ftb">
<div class="ftb">
Bagheria Bene Comune - Bagheria - <a href="mailto:info@bagheriabenecomune.org">info@bagheriabenecomune.org</a>
<>
<div id="top">
<div class="top_button">
<a href="#" onclick="scrollToTop();return false;">
<img src="templates/<?php echo $this->template ?>/images/top.png" width="30" height="30" alt="top"/></a>
<>
<>
<>
<>
</body>
</html>
-
apri il file tdefault.css alla riga 765
#top{
modifica solo questi:
float:right;
margin-top: -28px;
}
poi lo ricarichi
EDIT:
scusa ho scritto right, volevo dire left.... con right comunque la freccia va a destra.
-
Sapete dirmi cosa devo modificare per far diventare la riga del copyright di colore #ed69d? :'(
-
tdafault.css riga 741
cambi il color in #ed69d
la mail continua a rimanere bianca però, dovresti creare un id apposta e specificarlo nel codice php se ti interessa cambiare colore anche in quella.
-
Sono riuscito a cambiare il colore anche all'email ;D