PrestaShop Forums: Home Featured Carousel Module v0.1 - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Home Featured Carousel Module v0.1


Home Featured Carousel Module v0.1

#1 ozcanar

    PrestaShop Newbie

  • 27 May 2008
  • Members
  • Pip
  • 4 posts

Posted 04 July 2008 - 05:23 PM

Displays Featured Products in the middle of your homepage as Flash Carousel.
You can change appearance of carousel from urunxml.php in files folder

Attached File(s)



#2 Stu583

    PrestaShop Apprentice

  • 10 May 2008
  • Members
  • PipPip
  • 204 posts
  • Location:North Yorkshire, UK

Posted 04 July 2008 - 05:57 PM

This looks like an excellent module but it will not load on my site.

#3 ozcanar

    PrestaShop Newbie

  • 27 May 2008
  • Members
  • Pip
  • 4 posts

Posted 04 July 2008 - 06:34 PM

i dont understand what the problem is ?

#4 Stu583

    PrestaShop Apprentice

  • 10 May 2008
  • Members
  • PipPip
  • 204 posts
  • Location:North Yorkshire, UK

Posted 04 July 2008 - 06:37 PM

The module is installed but I am not getting the output on the front office.

It should be displaying underneath the default featured products.

#5 ozcanar

    PrestaShop Newbie

  • 27 May 2008
  • Members
  • Pip
  • 4 posts

Posted 04 July 2008 - 07:06 PM

the .rar file is updated

#6 Stu583

    PrestaShop Apprentice

  • 10 May 2008
  • Members
  • PipPip
  • 204 posts
  • Location:North Yorkshire, UK

Posted 04 July 2008 - 07:46 PM

hello mate. Just downloaded it again (I see a .zip not a .rar) but still no joy.

It is putting a flash element on my home page but there is no graphical output.

#7 kriboy

    PrestaShop Apprentice

  • 12 May 2008
  • Members
  • PipPip
  • 399 posts

Posted 04 July 2008 - 09:22 PM

It's ok for me except the devise which stay in YTL, cause i m in Euros :)
Cary

La Boutique de la Mode Polynésienne.
http://mahinui-creation.com
Prestashop v1.1.0.5 la seule et unique
Hebergement phpnet -- Premium

#8 JM

    PrestaShop Apprentice

  • 06 Dec 2007
  • Members
  • PipPip
  • 87 posts

Posted 06 July 2008 - 04:32 PM

Hi ozcanar
I also don't have the display of featured products. I can see the area of the flash object but not the pictures of products. I can see some texts but not all. I'm running RC4.

#9 showtime

    PrestaShop Apprentice

  • 03 Jul 2008
  • Members
  • PipPip
  • 169 posts
  • Location:Bertrix, Belgique

Posted 24 July 2008 - 03:47 PM

Hi

I'm very intrested by you module, but he dont work on my shop. I have only a white rectangle :(


can you explain more about this module and how I can make work-it , thanks

#10 basar67

    PrestaShop Apprentice

  • 13 May 2008
  • Moderators
  • 421 posts
  • Location:Earth/Germany/Dortmund/MyHome/MyChair

Posted 24 July 2008 - 09:50 PM

Hello,
module works without problems. Set the number of items to display. Advanced settings, you can edit in the file files/urunxml.php.

PS: Tested with Firefox.
Çözülmeyen sorun yoktur, yeterki istek olsun...!

http://www.smportal.eu
Türkçe Sanal Mağaza Destek Portalı

#11 showtime

    PrestaShop Apprentice

  • 03 Jul 2008
  • Members
  • PipPip
  • 169 posts
  • Location:Bertrix, Belgique

Posted 24 July 2008 - 09:52 PM

where I have to setup the number of item ? in the urunxml.php ? please explain more pleaze, thank you

EDIT: @ this time I have only 2 test product , maybe its the problem no ?

But i have only en empty white rectangle :(

#12 basar67

    PrestaShop Apprentice

  • 13 May 2008
  • Moderators
  • 421 posts
  • Location:Earth/Germany/Dortmund/MyHome/MyChair

Posted 24 July 2008 - 10:20 PM

Hello,
urunxml.php is only for the view, number to set of displayed products, go to >>> Back Office>>> Modules>>> Click on Setting of the module.


Important:
It show only items, which are in product creation for the home category assigned, similar the homefeatured module.
Çözülmeyen sorun yoktur, yeterki istek olsun...!

http://www.smportal.eu
Türkçe Sanal Mağaza Destek Portalı

#13 ludo

    PrestaShop Addict

  • 19 Sep 2007
  • Members
  • PipPipPip
  • 799 posts
  • Location:Biarritz, FR

Posted 24 July 2008 - 10:25 PM

You can setup in the module.

Launch directly the page prestashop/modules/homefeaturedcarousel/files/urunxml.php
And look at the source code. All it's ok ?
Image IPB
Image IPB
1er Annuaire Prestashop : 100% Prestashop
Shop Modules Prestashop : PrestaToolBox
Blog eCommerce : eco 2.0

#14 showtime

    PrestaShop Apprentice

  • 03 Jul 2008
  • Members
  • PipPip
  • 169 posts
  • Location:Bertrix, Belgique

Posted 24 July 2008 - 10:26 PM

Ok , I have set 10 displayed products .

In homefeatured , I have my 2 product test .

I havent modified anything in urunxml.php

I go on my homepage , nothing to see ... just a white rectangle :(


edit : ludo je parle FR ;) et oui tout est en place , je comprend pas :s ...

edit 2 : j'avais pas compris ce que tu demandais , je viens de le faire , voila le résultat :

In english , when I load directly the module in my browser I have these error :


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /customers/oct-tech.be/oct-tech.be/httpd.www/boutique/modules/homefeaturedcarousel/files/urunxml.php on line 97

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /customers/oct-tech.be/oct-tech.be/httpd.www/boutique/modules/homefeaturedcarousel/files/urunxml.php on line 97


178.00 YTL]]>

189.00 YTL]]>

#15 ludo

    PrestaShop Addict

  • 19 Sep 2007
  • Members
  • PipPipPip
  • 799 posts
  • Location:Biarritz, FR

Posted 24 July 2008 - 11:08 PM

ok mais je sais mais je te repondais en anglais pour rester dans la langue du sujet

Ligne 97 - modules/homefeaturedcarousel/files/urunxml.php
essaye de remplacer mysql_fetch_array() par mysql_fetch_assoc()

Si ca peut te rassurer moi aussi j'ai une beau rectangle blanc !
Les chemins semblent corrects
Le xml se génère bien
je sèche un peu là
Image IPB
Image IPB
1er Annuaire Prestashop : 100% Prestashop
Shop Modules Prestashop : PrestaToolBox
Blog eCommerce : eco 2.0

#16 showtime

    PrestaShop Apprentice

  • 03 Jul 2008
  • Members
  • PipPip
  • 169 posts
  • Location:Bertrix, Belgique

Posted 25 July 2008 - 11:22 AM

tu as trouvé quelque chose ludo?

qu'est ce qui pourrait bien etre différent et qui fait que le module ne fonctionne pas ....?

#17 JM

    PrestaShop Apprentice

  • 06 Dec 2007
  • Members
  • PipPip
  • 87 posts

Posted 25 July 2008 - 11:29 AM

Hello

J'avais remarqué que le texte des objets et le lien fonctionnait, mais pas les images. Donc c'est que le flash ne les trouvait pas.
Je viens juste de regarder le fichier urunxml.php et j'ai vu une ligne :
<![CDATA[/img/p/'.$id_image.'-home.jpg]]>
Ce qui fait que cela ne peut pas s'afficher si votre prestashop est un dossier, car "/img" va à la racine de votre site.
Il suffit de mettre la variable (que je ne connais pas) avant "/img" pour avoir le répertoire (url) de votre site prestashop. Moi j'ai rapidement mis mon nom de dossier du site prestashop et ça roule.

Du coup cela s'affiche bien (et c'est beau).
Par contre tout est en anglais, ainsi que la monnaie qui semble codée en dur.
Il y a donc du boulot pour rendre ça multi lingue et "souple".



Hello
Fix the absolute path to the images
<![CDATA[/img/p/'.$id_image.'-home.jpg]]>
to
<![CDATA[the folder of your prestashop site/img/p/'.$id_image.'-home.jpg]]>
in
urunxml.php
then zip the whole folder and use it as a module.
You will also have to look at the php part to fix the currency used.

Attached File(s)



#18 showtime

    PrestaShop Apprentice

  • 03 Jul 2008
  • Members
  • PipPip
  • 169 posts
  • Location:Bertrix, Belgique

Posted 25 July 2008 - 11:37 AM

salut , et merci pour tes recherches de bug .

Je viens de tester à l'instant ta solution , et toujours rien un rectangle blanc ....

mon folder d'install est boutique , j'ai donc fait : <![CDATA[boutique/img/p/'.$id_image.'-home.jpg]]>


mais toujours rien :(

#19 JM

    PrestaShop Apprentice

  • 06 Dec 2007
  • Members
  • PipPip
  • 87 posts

Posted 25 July 2008 - 12:33 PM

essaye "/boutique/img/" comme ça cela remonte au plus haut niveau et ça resdescend bien.
Je commence à regarder le reste.
J'ai vu aussi que le lien ne tient pas comptes des urls rewritées mais on s'en fiche, google ne suivra pas les liens du flash.

#20 showtime

    PrestaShop Apprentice

  • 03 Jul 2008
  • Members
  • PipPip
  • 169 posts
  • Location:Bertrix, Belgique

Posted 25 July 2008 - 01:06 PM

malheureusement sa ne fonctionne pas non plus .

Je te propose que nous parlions via msn ou autre afin de ne pas "pourrir" ce post ,

tu trouvera mon msn dans mon profil .

ps: j'ai tout essayé , /boutique/img/, /boutique/img/p, /boutique/img/p/ ....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users