picture / field description

More
4 years 7 months ago #77022 by smilecollector
Hello

To make it easier, I prepare a quick example smlcol.ovh/index.php?option=com_flexicon...2&lang=fr&Itemid=236

As you can see just after the first gallery, there is a comment AND a description (see below).



I would like to show the description as the commentaire (= comment in English) - because in description, I can have different paragraphs.

But as this field is a core one, I can't modify the display from FlexiContent to show directly the below link (what I can do in comment)
<img style="margin-bottom: 15px; margin-right: 15px; float: left;" src="images/photographer-rouge.png" alt="photographer rouge" width="58" height="58" />

And if I use field commentaire, whatever I'm trying to do - both paragraphs are inline

Therefore, I have different possibility:
- is there a way via CSS for instance to show this photographer?
- I can type my text in the field description and the value is replicated automatically in field commentaire (I'm working with the free version) including the display of the paragraphs
- be able to show paragraphs in commentaire (whatver the editor I use, when I save HTML code is removed - look at &nbsp which is shown on the website

But I can't apply any of them :(

Any other idea is more than welcome :) :cheer:
Attachments:

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

More
4 years 7 months ago #77029 by micker
Replied by micker on topic picture / field description
hello ... pour moi le plus simple
1 tu créer un champs de type texte area en mode multiple pour pouvoir ajouter +sieur commentaire => tu active l'editeur de texte pour tes commentaire
2 tu change la dispo dans ton template
apres j'avou ne pas comprendre totalement ton soucis desoler

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
4 years 7 months ago #77030 by smilecollector
Hello
Le champs "commentaire" est déjà de ce style (il faut que je vérifie quelle option de texte j'ai choisi mais j’ai essayé plusieurs choses sans succès).
Il ne s'agit pas ici des commentaires laissés par les visiteurs genre avec disqus ou facebook. Le titre est trompeur j’en conviens (j’aurais peut-être dû l’appeler autrement ou préciser) mais il doit d'ailleurs sur le site lui-même, il est juste là pour différencier les deux champs lors de la saisie.
En gros, ce que tu me proposes, ce serait de taper le 1er paragraphe en valeur 1 et le 2e en valeur 2 et ainsi de suite…

Mon idée est de ne pas être obligé d’insérer systématiquement l’image photographe devant la description… mais j’ai une autre idée qui m’est venue sur la route ce matin (45 min de trajet ont parfois du bon).
Si je crée un champ img_photographe avec le photographe rouge (je pense qu’il y a moyen de remplir avec une image par default – genre si pas d’image, tu prends celle-là). Dans une même ligne du Template, je mets cette image et la description… Et j’affiche les deux comme une table : colonne 1 = image et colonne 2 = description)
Ça doit pouvoir se faire non ? C’est mon premier site et j’ai pas mal galéré ce long weekend du coup je ne sais pas si je suis plus clair.
Attachments:

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

More
4 years 7 months ago #77032 by micker
Replied by micker on topic picture / field description
oui relis bien mon explication
ton champ description reste ta description
ton champ commentaire est un type texte area avec editeur en mode multiple => cela te permettra de mettre + sieur commentaire avec gestion de l'ordre par drag and drop etc ..
pour ton image soit en css soit ton idée de champ est bonne (c'est tout a fais possible) sauf qu'il te faudra faire un groupe de champs (l'image + le commentaire) là en mode multiple

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
4 years 7 months ago #77033 by smilecollector
mon champ commentaire n'est qu'une copie de la description, c'était juste pour pouvoir utiliser les « attributs » pour insérer qqch avant et après le texte. Je crois que je me suis compliqué la vie au final…

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

More
4 years 7 months ago #77034 by smilecollector
et c'est compliqué de créer un groupe de champ? je ne suis pas certain de voir ce que tu entends par là... d'autant que je ne suis pas en face de mon FC

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.313 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline