9 years ago
4
Topic
Bonjour,

Je voudrais récupérer les valeurs de mon groupX dans mon override de template.
L'emplacement de mon override : joomla\templates\yoo_master2\html\com_cck\list\xls.php

Je precise que je n'ai aucun soucis pour les autres types de champs.
je les récupères bien et les affiches correctement. mais pour le groupX c'est une autre histoire.

screen de mon fichier php

avec un var_dump sur $field on peut voir qu'il y a bien un groupX mais on voit aussi que sa valeur est un tableau vide alors que celui-ci devrait en avoir.

screen var_dump

Quelqu'un à une idée ?

Merci d'avance,
SexyViking




Get a Book for SEBLOD
693 Posts
rpoy
9 years ago
0
Level 1
Hi SexyViking,

Have you seen the template documentation - there is also a section regarding the groupX and fieldX.  You should also take a look at the Understanding Custom Template Positions.

I hope that helps,

Randy
9 years ago
1
Level 1

Hi Randy,

Sorry but I don't find the solution to my problem.
I know call a groupx in a Content template. but In List template, when I call a groupx, this one is empty.
I think it's because my groupx format is not an introtext but after change format I always have my problem.

Best Regards

SexyViking

693 Posts
rpoy
9 years ago
0
Level 2

Hi SexyViking,

The storage for both the GroupX and FieldX should be introtext.

Did you change the storage format, and are now having problems?

thanks,

Randy

9 years ago
0
Level 1

Hi Randy
Yess I changed the storage format but I always have problems.
Best Regards,
SexyViking

Get a Book for SEBLOD