Jump to content

qcweb

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Location
    canada
  • Activity
    Web development agency

qcweb's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Just updated from 1.4.7 to 1.5.3 and was disapointed to see that the issue is still present... I'm looking for a way to edit the PHP files so it will keep the relative path (again, that is very retarded, why using longer URLs in a minified CSS file?). I don't really know where to look tough..
  2. Product comparison doesn't work for me either since I updated to 1.5. It was working fine before. I found that many features got broken after the update... I was able to fix of them with some Googleing, but haven't found a solution with this one. First problem, when I check the Cmparre checkbox on a product, it unchecks itself 1 second later, making it impossible to actually select more than one product(unless you are very quick on pressing the "Comparre" button). Seems like a Javascript/jQuery glitch. And when I click to the compare button, it gives me an 404 error... I tried reverting back to the default template in case it was caused by the theme I made, but it still doesn't work.
  3. Hi there, For a online catalog, I modified and customized the default Prestashop theme in order to make it looks like the main website. Because the catalog is on a sub-domain, unlike the main website, I used the full path for the main layout images, in order to avoid having duplicates and avoid our visitors to load twice the exact same images twice when they are coming from the main website and vice versa. However, there is a problem when CCC is enabled for CSS. Every url() properties are modified so it adds the full path to the theme images folder (which I think is a bit stupid; if ones care about minifying and compressing the CSS files, it makes no sense using longer image URLs than those in the original, uncompressed CSS, which uses relative paths...) So, in the case layout images being linked to the main website, the online store URL is added before. In the end, I get broken links, something that looks like this: background-image:url(http://shop.example.com/themes/prestashop/css/http://www.example.com/images/image.png); So as for now, I need to disable CSS compression, even thought everything else is compressed, which is kind of disappointing. So, is there any way to prevent Prestashop from adding the full paths in the images? Or otherwise, any way to fix my issue without duplicating all my layout images? Thanks in advance!
  4. Bonjour, Pour une boutique, j'ai modifié et personnalisé le thème par défaut de Prestashop pour que la boutique ait l'apparence du site principal. Étant donné que la boutique se trouve sur un sous-domaine, contrairement au site principale, j'ai utilisé le chemin complet du site pour lier les images du design principal du site, pour éviter de devoir copier les images dans le répertoire Prestashop, et donc éviter que les visiteurs ne charge deux fois les mêmes images identiques. Par contre, le problème, c'est que lorsque CCC est activé pour le CSS, toutes les url() du CSS se voient rajouter le chemin complet vers le site (ce qui est à mon avis stupide; si on prend la peine de compresser le CSS, pourquoi utiliser un chemin deux fois plus long que dans le CSS d'origine, qui utilise un chemin relatif?!). Du coup, l'adresse complète de la boutique est ajoutée derrière l'adresse complète du site. Je me retrouve donc avec quelque chose du genre: background-image:url(http://shop.monsite.com/themes/prestashop/css/http://www.monsite.com/images/image.png); Pour le moment, je suis donc obligé de laisser la compression CSS désactivée.. Donc, comment désactiver les chemin absolus dans la compression du CSS ? De plus, j'ai un autre léger problème: Il y a un petit bug d'affichage sur mes page que je n'avais pas remarqué avant d'activer la compression du code HTML; j'ai donc des raisons de croire que c'est dû à la compression des pages, mais lorsque j'essaie de désactiver la compression CCC pour vérifier, ça ne fait rien, tout les paramètres CCC demeurent activés(sauf pour le CSS), une fois la page rechargée, et ce, peut-importe les cases cochées :/ ***Edit: Finalement, ça a fini par fonctionner. Le bug est bel et bien causé par la compression du HTML.. Merci d'avance !
×
×
  • Create New...