Prévisualisation des options

  • Posts: 18
  • Thank you received: 0
10 years 5 months ago #196188

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.4.38
-- Browser(s) name and version -- : Chrome 41.0.2272.101 m

Bonjour,

Nous avons beaucoup de champs personnalisés et pour aider nos clients nous avons ajouté des images avec "Affichage limité à".
Cependant pour afficher une image nous n'avons pas trouver d'autre moyen qu'avec le type Image AJAX.

Bon ceci n'est pas trop grave, car nous pouvons masquer la plupart des contrôles dans le CSS, cependant j'ai beau chercher je ne trouve aucun moyen de "cacher" le Upload popup lorsque nous cliquons sur le "label" ou dans la ligne du label.

Questions: Comment empêcher le Upload popup complètement et/ou y a t'il un autre moyen d'afficher les images des options sélectionnées?

Merci!

Last edit: 10 years 5 months ago by Watwood.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 5 months ago #196212

Bonjour,

Serait-il possible d'avoir accès à la page à laquelle vous faites référence ?
Le lien que vous fournissez est en maintenance et nécessite un accès utilisateur.
Et du coup, il ne nous est pas possible de voir de quoi il retourne précisément.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 5 months ago #196853

Hi,

Ok, I see what you mean.
The issue is that you won't be able to change that without breaking the ajax uploader everywhere in HikaShop. So far we only use it for the custom fields and the HikaShop configuration, but we're going to use it more and more and you'll get in trouble when you update HikaShop.
Did you try to use the "custom text" custom field type ?
It allows you to display the HTML you want (so you could actually set in it an img HTML tag with the image) and you could then use the "display limited to" option of the field to display itself or not, like you do with the ajax image, but you wouldn't get all the javascript around it which actually allows the user to upload his images.

The following user(s) said Thank You: Watwood

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

  • Posts: 18
  • Thank you received: 0
10 years 4 months ago #200983

Thanks Nicolas, it's working perfectly. Even more better I copied the "<a Onclick...> code from the previous Ajax code and pasted it in custom text so we still have the popup zoom image and don't need to run after every image URL on the site.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum