Skip to main content

Calibrer la taille de la fenêtre d'image.

16 years 1 week ago #1081 by Lambert
Bonjour,
Lors de l'affichage d'une image produit, la taille est définie dans le produit défaut 100px x 100px qualité ?.
Lors d'un click sur l'image une pleine page s'affiche dans le browser avec l'image sur la gauche en haut.
Y a t'il un paramêtre qui permet d'afficher l'image dans un une fenêtre raisonable qui ne prenne pas le plein écran et soit plus estétique ?
Merci pour votre aide.

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1084 by nicolas
Bonjour,

La popup d'affichage des images s'adapte à la taille des images. Vous pouvez limiter la taille maximum de cette popup dans l'onglet "fichiers" de la config.

Pourriez vous faire une capture d'écran de votre problème ?

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1087 by Lambert
Bonjour,
J'ai modifié la taille des popup à 250 x 160, mais le problème reste le même, lors du click sur l'image, une nouvelle fenêtre s'ouvre en plein écran, avec l'image collée en haut à gauche.

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1088 by Lambert
Sorry,
Voici l'image :

This attachment is hidden for guests.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1090 by nicolas
En fait ce n'est pas que la popup prend toute la page, mais que le javascript qui gère la popup n'est pas executé et donc le lien de l'image est un lien normal vers l'image. Cela arrive quand il y a une erreur javascript sur la page.
Pourriez nous nous indiquer l'url de votre site pour que l'on puisse voir le problème ?

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1091 by Lambert
Nicolas,
Ce site est en Developpemnt, il n'y a encore rien en prod.
Que puis-je t'envoyer à la place ?

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1093 by nicolas
Il faut regarder quelle est l'erreur javascript sur la page. Il doit y avoir un message d'erreur dans la console javascript du navigateur. Cette erreur permettra de savoir d'où vient le problème: www.siteduzero.com/tutoriel-3-332493-deb...-code.html#ss_part_2

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1097 by Lambert
Nicolas,

Voici ce que j'ai comme erreur Javascript :
Erreur : SqueezeBox is undefined
Fichier Source : http://localhost/sitedevjoomla/index.php?option=com_hikashop&ctrl=product&task=show&cid=1&name=16-watts--base-t8&Itemid=54&category_pathway=10&lang=es
Ligne : 1
Qu'en pense-tu ?

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1100 by nicolas
Après le code
Code:
$optionslink.=' id="hikashop_image_small_link_first" ';
du fichier administrator/components/com_hikashop/helper/image.php vers la ligne 110, si tu ajoutes le code
Code:
JHTML::_('behavior.modal');
est ce que cela fonctionne ?

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1103 by Lambert
Nicolas, ça ne change rien, une autre idée ?

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1104 by Lambert
A l'écran précédent avant de cliquer sur l'image j'ai une autre erreur, si ça t'inspire ?
C'est peutêtre lié ?

Erreur : Class is not defined
Fichier Source : http://localhost/sitedevjoomla/media/system/js/modal.js
Ligne : 32

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1107 by nicolas
Ok, ca m'aide effectivement. Il semble que le problème vienne du fait que mootools n'est pas chargé.
Essaie voir de rajouter le code
Code:
JHTML::_('behavior.mootools');
juste après
Code:
function hikashopImageHelper(){
au début du fichier administrator/components/com_hikashop/helper/image.php

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1112 by Lambert
Nicolas,
Voici la séquence d'erreur depuis le 1er click sur image produit :
Erreur : SqueezeBox is undefined
Fichier Source : http://localhost/sitedevjoomla/index.php?option=com_hikashop&ctrl=product&task=show&cid=1&name=16-watts--base-t8&Itemid=54&category_pathway=10&lang=es
Ligne : 1

Erreur : window.addEvent is not a function
Fichier Source : http://localhost/sitedevjoomla/index.php?option=com_hikashop&ctrl=product&task=show&cid=1&name=16-watts--base-t8&Itemid=54&category_pathway=10&lang=es
Ligne : 49

Erreur : Class is not defined
Fichier Source : http://localhost/sitedevjoomla/media/system/js/modal.js
Ligne : 32

La dernière modif n'a rien changé de visible à l'oeil nu.

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1115 by nicolas
Les trois erreurs indiquent que mootools n'est pas chargé. Essaie de rajouter
Code:
JHTML::_('behavior.mootools');
dans le index.php de ton template (comme ça, le fichier de mootools sera tout le temps chargé).

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1119 by Lambert
Bon j'ai mis ça ici mais j'ai une ligne d'erreur qui m'apparai à l'affichage maintenant.
C'est peut-être pas la bonne place ou j'ai fais une erreur de sémantique ?



Index.php

<?php
/**
* @copyright Copyright (C) 2005 - 2009 RocketTheme, LLC - All Rights Reserved.
* @license GNU/GPL, see LICENSE.php
**/
defined( '_JEXEC' ) or die( 'Restricted access' );
define( 'YOURBASEPATH', dirname(__FILE__) );

$color_style = $this->params->get("colorStyle", "dark");
$template_width = $this->params->get("templateWidth", "962");
$leftcolumn_width = $this->params->get("leftcolumnWidth", "210");
$rightcolumn_width = $this->params->get("rightcolumnWidth", "210");
$leftcolumn_color = $this->params->get("leftcolumnColor", "color2");
$rightcolumn_color = $this->params->get("rightcolumnColor", "color1");
$mootools_enabled = ($this->params->get("mootools_enabled", 1) == 0)?"false":"true";
$caption_enabled = ($this->params->get("caption_enabled", 1) == 0)?"false":"true";
$rockettheme_logo = ($this->params->get("rocketthemeLogo", 1) == 0)?"false":"true";



?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
JHTML::_('behavior.mootools');
require(YOURBASEPATH . DS . "rt_utils.php");
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/css/<?php echo $color_style ?>.css" type="text/css" />
<!--[if lte IE 6]>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/js/ie_suckerfish.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/css/styles.ie.css" type="text/css" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/css/styles.ie7.css" type="text/css" />
<![endif]-->
</

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1120 by Lambert
Bon j'ai mis ça ici mais j'ai une ligne d'erreur qui m'apparai à l'affichage maintenant.
C'est peut-être pas la bonne place ou j'ai fais une erreur de sémantique ?



Index.php

<?php
/**
* @copyright Copyright (C) 2005 - 2009 RocketTheme, LLC - All Rights Reserved.
* @license GNU/GPL, see LICENSE.php
**/
defined( '_JEXEC' ) or die( 'Restricted access' );
define( 'YOURBASEPATH', dirname(__FILE__) );

$color_style = $this->params->get("colorStyle", "dark");
$template_width = $this->params->get("templateWidth", "962");
$leftcolumn_width = $this->params->get("leftcolumnWidth", "210");
$rightcolumn_width = $this->params->get("rightcolumnWidth", "210");
$leftcolumn_color = $this->params->get("leftcolumnColor", "color2");
$rightcolumn_color = $this->params->get("rightcolumnColor", "color1");
$mootools_enabled = ($this->params->get("mootools_enabled", 1) == 0)?"false":"true";
$caption_enabled = ($this->params->get("caption_enabled", 1) == 0)?"false":"true";
$rockettheme_logo = ($this->params->get("rocketthemeLogo", 1) == 0)?"false":"true";



?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
JHTML::_('behavior.mootools');
require(YOURBASEPATH . DS . "rt_utils.php");
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/css/<?php echo $color_style ?>.css" type="text/css" />
<!--[if lte IE 6]>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/js/ie_suckerfish.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/css/styles.ie.css" type="text/css" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rt_afterburner_j15/css/styles.ie7.css" type="text/css" />
<![endif]-->
</

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1123 by Lambert
J'ai renlevé le Codie du template, suite au message d'erreur, mais au niveau de Administrator / Hikashop / Configuration, j'ai maintenant le message suivant :

JHTMLbehavior not supported, file not found.

??? :silly:

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1126 by nicolas
C'est du code php il faut donc le mettre a l'intérieur de balises php. Par exmeple au tout début, juste après <?php

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1129 by Lambert
OK réalisé de la forme suivante, mais pas d'amélioration et toujours message d'erreur qui s'affiche sur le site

Prochain changement ?

<?php
/**
* @copyright Copyright (C) 2005 - 2009 RocketTheme, LLC - All Rights Reserved.
* @license GNU/GPL, see LICENSE.php
**/
defined( '_JEXEC' ) or die( 'Restricted access' );
define( 'YOURBASEPATH', dirname(__FILE__) );

$color_style = $this->params->get("colorStyle", "dark");
$template_width = $this->params->get("templateWidth", "962");
$leftcolumn_width = $this->params->get("leftcolumnWidth", "210");
$rightcolumn_width = $this->params->get("rightcolumnWidth", "210");
$leftcolumn_color = $this->params->get("leftcolumnColor", "color2");
$rightcolumn_color = $this->params->get("rightcolumnColor", "color1");
$mootools_enabled = ($this->params->get("mootools_enabled", 1) == 0)?"false":"true";
$caption_enabled = ($this->params->get("caption_enabled", 1) == 0)?"false":"true";
$rockettheme_logo = ($this->params->get("rocketthemeLogo", 1) == 0)?"false":"true";

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<?php
JHTML::_('behavior.mootools');
?>
<?php
require(YOURBASEPATH . DS . "rt_utils.php");
?>

Please Log in or Create an account to join the conversation.

16 years 1 week ago #1131 by nicolas
Avez vous bien le fichier media/system/js/mootools.js ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum