Sunday, 12 September 2010

A guide to add Apple style slideshow for Magento

This article attempts to help you set up a slideshow on a Magento ecommerce shop, inspired by the official Apple slideshow.

Before we dive into the tutorial details, take a look at the live demo on the Magento Jewelry shop or Magento Apple shop in our Premium Magneto Themes section.

If you're interested in this slideshow effect, you will definitely want to go through this tutorial article?

I will explain how the slideshow works and introduce its features. The slidehow slices right to left and it's looping in a circle. The dot icons allow you to change the slideshow image when clicked.

Download slideshow.js and put under your theme js directory: skin/frontend/[your theme]/default/js/

Download the css file slideshow.css and put under your theme css directory: skine/frontend/[your theme]/css/

Download i_slideshow-node.gif and put under skin/frontend/[your theme]/default/images/

In order to show the slideshow on homepage, in magento CMS Page manager, edit your Homepage article, update the layout by clicking on tab Design, in field Layout Update XML enter the code below:


<reference name="head">
    <action method="addItem"><type>skin_js</type><name>js/slideshow.js</name></action>
    <action method="addCss"><stylesheet>css/slideshow.css</stylesheet></action>
</reference>

<reference name="root">
    <block type="page/html_wrapper" name="slideshow">
        <action method="setElementClass"><value>slideshow-wrapper</value></action>
        <block type="cms/block" name="cms_slideshow">
            <action method="setBlockId"><block_id>slideshow</block_id></action>
        </block>
    </block>
</reference>

The code is supposed to load slideshow.js and slideshow.css on the homepage and appends a block named slideshow into the page layout. the slideshow block's content is editable through a CMS Static Block named slideshow

Now, we have to update the main layout in order to show up slideshow block. Suppose you're using 1-column layout for the homepage, edit skin/frontend/[your theme]/default/template/page/1column.phtml. after the header block is printed out, we output slideshow block:


<?php echo $this->getChildHtml('header') ?>
<?php echo $this->getChildHtml('slideshow') ?>

Next, we will create a CMS Static blog 'identified' slideshow with content below:


<ul>
  <li><a href="/link-1"><img src="{{skin url='images/media/slideshow/1.jpg'}}" alt="" /></a></li>
  <li><a href="/link-2"><img src="{{skin url='images/media/slideshow/2.jpg'}}" alt="" /></a></li>
  <li><a href="/link-3"><img src="{{skin url='images/media/slideshow/1.jpg'}}" alt="" /></a></li>
  <li><a href="/link-4"><img src="{{skin url='images/media/slideshow/2.jpg'}}" alt="" /></a></li>
</ul>

Where {{skin url='images/media/slideshow/1.jpg'}} is a link of slideshow image. You can add many slideshow as you want.

Okay, try to refresh your homepage and see how your beautiful slideshow showed up.

Congrats! We're done. Welcome any comment :-)

121 comments:

  1. Is there a way to make the slideshow panels navigate to a product page if clicked?

    ReplyDelete
  2. Great article. These plugins are very good. I used some of them. Thanks for sharing. I look around this information and facts..Magento Themes

    ReplyDelete
  3. Nice article! Thanks! I've used it, when I've created the slideshows only with images. But sometimes you need to create slideshow with products or categories. In this case it is better to use professional extension. I prefer Noovias Slideshow - http://www.noovias.com/en/slideshow. Hope I'll save your time.

    ReplyDelete
  4. Unfortunately I couldn't get this to work properly. It loads the css, the javascript and the images. But it just displays the images below eachother and doesn't seem to load the javascript function.

    Any ideas?

    Thanks

    ReplyDelete
  5. Here is a good Weblog You might Come across Fascinating that we Encourage Youเว็บไซต์คาสิโนออนไลน์ที่ได้คุณภาพอับดับ 1 ของประเทศ
    เป็นเว็บไซต์การพนันออนไลน์ที่มีคนมา สมัคร Gclub Royal1688
    และยังมีหวยให้คุณได้เล่น สมัครหวยออนไลน์ ได้เลย
    สมัครสมาชิกที่นี่ >>> Gclub Royal1688
    ร่วมลงทุนสมัครเอเย่นคาสิโนกับทีมงานของเราได้เลย

    ReplyDelete
  6. Enjoyed studying this, very good stuff, thanks.
    โปรโมชั่นGclub ของทางทีมงานตอนนี้แจกฟรีโบนัส 50%
    เพียงแค่คุณสมัคร Gclub กับทางทีมงานของเราเพียงเท่านั้น
    ร่วมมาเป็นส่วนหนึ่งกับเว็บไซต์คาสิโนออนไลน์ของเราได้เลยค่ะ
    สมัครสล็อตออนไลน์ >>> goldenslot
    สนใจร่วมลงทุนกับเรา สมัครเอเย่น Gclub คลิ๊กได้เลย

    ReplyDelete
  7. Best Transport Company Afash Awali
    Risks of manual or conventional handover:
    It is difficult to do it aloneارخص شركة نقل اثاث

    ReplyDelete
  8. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.
    Are You looking for best online courses and free webniars you just click following links
    Online Certificate Courses
    Machine Learning Online Courses
    Best Online Certificate Courses In India
    Online Courses On Digital Marketing
    Online It Courses In India

    ReplyDelete
  9. great article, I was very impressed about it, wish you would have stayed next share
    fleeing the complex

    ReplyDelete
  10. Nice blog,I understood the topic very clearly,And want to study more like this.
    Data Scientist Course

    ReplyDelete
  11. SAP FICO Training in Bangalore with 100% placement. We are the Best SAP FICO Training Institute in Bangalore. Our SAP FICO courses are taught by working professionals who are experts in.

    sap fico training in bangalore

    sap fico courses in bangalore

    sap fico classes in bangalore

    sap fico training institute in bangalore

    sap fico course syllabus

    best sap fico training

    sap fico training centers

    ReplyDelete
  12. Data Analytics Course in Bangalore with 100% placement. We are the Best Data Analytics Course Institute in Bangalore. Our Data Analytics course and Certification courses are taught by working professionals who are experts in Data Analytics.

    Data Analytics Training in Bangalore

    Data Analytics course in bangalore

    Data Analytics in bangalore

    Data Analytics classes in bangalore

    Data Analytics course institute in bangalore

    Data Analytics course and Certification course syllabus

    best Data Analytics course

    Data Analytics course centers

    ReplyDelete
  13. It's nice to see your writing, which is exactly what I need, it's very detailed dowload brawl stars apkxyz

    ReplyDelete
  14. Among other courses, international relations coursework writing services has become popular since students seek international relations research paper services and international relations essay writing services.

    ReplyDelete
  15. Best Corporate Video Production Company in Bangalore and top Explainer Video Company in Bangalore , 3d, 2d Animation Video Makers in Chennai.
    Your article is awesome!! Really helpful to filmmaker wannabes. 🙂 Cheers!

    ReplyDelete
  16. Attend The Data Analyst Course From ExcelR. Practical Data Analyst Course Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Analyst Course.
    Data Analyst Course

    ReplyDelete
  17. It is perfect time to make some plans for the future and it is time to be happy. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it!

    Data Science Course

    ReplyDelete
  18. I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one

    Data Science Training

    ReplyDelete
  19. After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.

    SAP Online Training

    SAP Classes Online

    SAP Training Online

    Online SAP Course

    SAP Course Online

    ReplyDelete
  20. I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.

    SAP Online Training

    SAP Classes Online

    SAP Training Online

    Online SAP Course

    SAP Course Online

    ReplyDelete
  21. Accounting Coursework Writing Services are hard to come across for those in need of Accounting Writing Services and accounting essay writing services.

    ReplyDelete
  22. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.

    SAP HCM Online Training

    SAP HCM Classes Online

    SAP HCM Training Online

    Online SAP HCM Course

    SAP HCM Course Online

    ReplyDelete
  23. The blog which you have shared is more innovative… Thanks for your information.
    https://www.krishnawellness.com/

    ReplyDelete
  24. Thanks for posting useful information.You have provided an nice article,
    https://www.apponix.com/AWS-Essentials-Solutions-Architect/AWS-solution-arcchitect-training-in-bangalore.html

    ReplyDelete
  25. Really Great article to help various Trainee and Beginners to know about Machine Learning and Get trained from good Institute.
    https://www.apponix.com/Digital-Marketing-Institute/Digital-Marketing-Training-in-Bangalore.html

    ReplyDelete
  26. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
    java training in chennai

    java training in omr

    aws training in chennai

    aws training in omr

    python training in chennai

    python training in omr

    selenium training in chennai

    selenium training in omr

    ReplyDelete
  27. Attend online training from one of the best training institute Data Science Training in Hyderabad

    ReplyDelete
  28. Awesome blog with great information thanks for sharing waiting for next updated.

    Data Science Training in Hyderabad

    ReplyDelete
  29. Came across your blog found very interesting thanks for sharing.
    Data Analytics Certification Training

    ReplyDelete
  30. It is important to seek statistics coursework writing services and statistics essay writing services since students find help when they visit Business Statistics Writing Services.

    ReplyDelete
  31. Very nice blogs!!! i have to learning for lot of information for this sites…Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing, data science training

    ReplyDelete

  32. This Is a Fantastic article, signifying so much information on it, These Kind of posts keeps the users attention from the Site, and continue sharing more... good luck
    Data Science Course In Bangalore With Placement

    ReplyDelete
  33. I have to search sites with relevant information ,This is a
    wonderful blog,These type of blog keeps the users interest in
    the website, i am impressed. thank you.
    Data Science Course in Bangalore

    ReplyDelete
  34. Leave the city behind & drive with us for a Thrilling drive over the Desert Dunes & Experience a lavish dinner with amazing shows in our Desert Camp.
    desert safari dubai

    ReplyDelete
  35. I have to search sites with relevant information ,This is a
    wonderful blog,These type of blog keeps the users interest in
    the website, i am impressed. thank you.
    Data Science Training in Bangalore

    ReplyDelete
  36. Incredibly all around intriguing post. I was searching for such a data and completely appreciated inspecting this one. Continue posting. A commitment of gratefulness is all together for sharing.business analytics course in Hyderabad

    ReplyDelete
  37. I have to search sites with relevant information ,This is a
    wonderful blog,These type of blog keeps the users interest in
    the website, i am impressed. thank you.
    pmp training in bangalore

    ReplyDelete
  38. are you using outlook email and sometimes facing issue with it? Then we you should follow the steps to fix outlook email not working.

    ReplyDelete
  39. Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also.
    Best Institute for Data Science in Hyderabad

    ReplyDelete
  40. You actually make it look so easy with your performance but I find this matter to be actually something which I think I would never comprehend. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I’ll try to get the hang of it!
    data science courses

    ReplyDelete
  41. Thinking about flight booking? Looking for low airfares? Emirates Airlines Phone Number is your one-stop destination for cheap domestic and international flight reservations.

    ReplyDelete
  42. Confuse about flight price, airline policies, or have some inquiries? Simply connect with American Airlines Customer Service and get instant expert’s assistance.

    ReplyDelete
  43. Looking for United Airlines flight deals, Last-minutes offers, or discounts? Connect with United Airlines Phone Number and get cheap flights at rock bottom prices.

    ReplyDelete
  44. Book an affordable Lufthansa flight to your next destination. Get handpicked special offers, a wide choice of deals, a variety of services (such as free check-in), and more through Lufthansa Phone Number.

    ReplyDelete
  45. Take advantage of customized deals and handpicked offers to make your next trip with United Airlines more affordable. Call at United Phone Number to book your tickets.

    ReplyDelete
  46. If you’re looking for the best deals and round-the-clock intact expert support, Southwest Airlines Customer Service is a reliable platform for you. It’s a great help especially for solo travelers and first-time travelers.

    ReplyDelete
  47. Excellent and very cool idea and great content of different kinds of the valuable information's.

    data science training institute in bangalore
    Data Science certification course in Bangalore

    ReplyDelete

  48. This type of very helpful article. Very interesting to see this article.
    Data Science Course In India

    ReplyDelete
  49. Very wonderful article. I liked reading your article. Very wonderful share. Thanks ! .

    Data Science Course Syllabus

    ReplyDelete
  50. Incredibly all around intriguing post. I was searching for such a data and completely appreciated inspecting this one. Continue posting. A commitment of gratefulness is all together for sharing.business analytics course in Hyderabad

    ReplyDelete
  51. Fly high 60+ destinations with Southwest Airlines Fare Calendar at low-cost. Call Now Southwest Airlines Fare Calendar. & Grab Unpublished Phone Only Deals.

    ReplyDelete
  52. Find cheap flights and save money on airline tickets to every destination in the world at Air China Airlines Official Site Whether you already know where and when you want to travel, or are just seeking some inspiration, Air China Airlines Official Site.

    ReplyDelete
  53. I have to search sites with relevant information ,This is a
    wonderful blog,These type of blog keeps the users interest in
    the website, i am impressed. thank you.
    Data Science Training in Bangalore

    ReplyDelete
  54. Incredibly all around intriguing post. I was searching for such a data and completely appreciated inspecting this one. Continue posting. A commitment of gratefulness is all together for sharing.Best python course in bangalore btm

    ReplyDelete
  55. Book cheap flights, vacations and rentals with Allegiant Customer Care , call reservations & Allegiant Customer Care (24 hours) Book Your flight today to save up to 20% so more information visit Allegiant Customer Care.

    ReplyDelete
  56. Get all the details about Sun Country Phone Number. Learn how to book a flights & tickets. Solve your reservation & booking queries. visit Sun Country Phone Number.

    ReplyDelete
  57. I curious more interest in some of them hope you will give more information on this topics in your next articles.
    Best Data Science Courses in Hyderabad

    ReplyDelete
  58. Incredibly all around intriguing post. I was searching for such a data and completely appreciated inspecting this one. Continue posting. A commitment of gratefulness is all together for sharing.data science course in Hyderabad

    ReplyDelete
  59. First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics, i will be always checking your blog thanks.
    Best Data Science Courses in Hyderabad

    ReplyDelete
  60. Trying to say thanks won't simply be adequate, for the fantasti c clarity in your composition. I will immediately get your rss channel to remain educated regarding any updates.
    data scientist training hyderabad

    ReplyDelete
  61. I need to communicate my deference of your composing aptitude and capacity to make perusers read from the earliest starting point as far as possible. I might want to peruse more up to date presents and on share my musings with you.
    data analytics course

    ReplyDelete
  62. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more.
    Best Institutes For Digital Marketing in Hyderabad

    ReplyDelete
  63. Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing.data science courses in Hyderabad

    ReplyDelete
  64. Great article. I highly recommended you. Click here for data science course in Hyderabad.

    ReplyDelete
  65. Truly overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. Much obliged for sharing.business analytics course

    ReplyDelete
  66. Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing.data science course Hyderabad

    ReplyDelete
  67. I at last discovered extraordinary post here.I will get back here. I just added your blog to my bookmark locales. thanks.Quality presents is the pivotal on welcome the guests to visit the website page, that is the thing that this page is giving.data science training Hyderabad

    ReplyDelete
  68. keep up the good work. this is an Ossam post. This is to helpful, i have read here all post. i am impressed. thank you. this is our site please visit to know more information
    data science training in Hyderabad

    ReplyDelete
  69. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it!
    data science training

    ReplyDelete
  70. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it!
    data science courses

    ReplyDelete