Ciao a tutti,
ho un problemino. Pensavo di aver risolto ma ora il problema si č ripresentato.
Quando inserisco il link del mio sito su facebook
www.bagheriabenecomune.org volevo che apparisse l'immagine del logo del sito.
Cosė ho inserito nel file index.php, contenuto all'interno della cartella templates, il seguente codice dentro <head>
<link rel="image_src" href="http://www.bagheriabenecomune.org/images/logo1.png"/>
e questo č tutto il file:
<?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>
<link rel="image_src" href="http://www.bagheriabenecomune.org/images/logo1.png"/>
<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"/>[/url]
<>
<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">
<?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" />[/url]
<>
<>
<>
<>
</body>
</html>
Prima tutto funzionava, ora invece non c'č nessuna immagine che appare su facebook!
Potete aiutarmi?