osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> fckeditor et category_descriptions_v501, obtenir une description détailée de chaque catégorie?
Markorel
posté 1 Mar 2008, 14:13
Message #1


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 8
Inscrit : 17-January 08
Lieu : :)
Membre no 20437



Bonjour à tous,


Je voudrais présenter de façon détaillée chaque catégorie et l’illustrer avec une ou plusieurs photos avec, en bas de page, un lien du style « voir les numéros disponibles » qui renverrait sur les articles de la catégorie.


Pour cela, j’ai installé deux contrib : fckeditor et category_descriptions_v501 mais je n’arrive pas à obtenir le résultat que je voulais et j’ai vraiment besoin de votre aide…

S’agissant d’abord de l’installation de « category_descriptions_v501 », j’ai peut-être commis une erreur : dans la doc d'installation, il est précisé:
CITATION
2) Locate the following lines (approximately line 230):
?>
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

REPLACE above lines with the following lines:
$cat_description_query = tep_db_query ("select categories_heading_title, categories_description from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $current_category_id . "'");
$cat_description = tep_db_fetch_array ($cat_description_query);
?>
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo $cat_description['categories_heading_title']; ?></td>

Fallait-il comprendre ceci? :

REPLACE above lines with the following lines:
<td
$cat_description_query = tep_db_query ("select categories_heading_title, categories_description from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $current_category_id . "'");
$cat_description = tep_db_fetch_array ($cat_description_query);
?>
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo $cat_description['categories_heading_title']; ?></td>

Pardon si la question paraît absurde blush.gif mais tout cela est nouveau pour moi et je ne pourrai avancer sur mon site que si l'on consent à m'aider...

S'agissant du résultat (et peut-être pour cause...) :

Non seulement la description que j'ai inséré n'apparait pas sur la page de la catégorie, mais encore la photo est minuscule.

Comment puis-je remédier à tout cela, s'il vous plait?


Go to the top of the page
 
Shibari_59
posté 6 Mar 2008, 12:43
Message #2


Ceinture orange+ OSC
Icône de groupe

Groupe : Membres
Messages : 405
Inscrit : 31-March 04
Membre no 2213



Voir mon post

ICI


--------------------

Bonne journée à vous
Go to the top of the page
 

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 19th May 2013 - 15:10
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)