Building a Rotating Image Banner as a Views Slideshow
On two separate sites I've recently had to implement a rotating image banner that could optionally be linked to paths within the site or to external URLs. Originally I tried a (mostly) self-contained module that matched the feature set called Rotor with some success but really needed greater flexibility. Undaunted, I rebuilt the functionality using a custom content type, a few CCK fields, ImageCache, and Views with the Views Slideshow plugin.
This tutorial is for Drupal 6 and walks through the exact steps I took to build the slideshow for the relaunch of Biblical Training, including enabling the right modules, creating the content type, defining the ImageCache presets, and building the View.
Hope it helps!
1. Enable the dependent modules.
To get started, you'll need to download and install the modules listed below. It takes quite a few modules to reproduce the feature set of a single module, but building a complex feature from scratch has advantages in flexibility and reusability. Most of these modules are standard "utility" modules on many Drupal sites that can be used for a variety of purposes on your site.
Enable the following modules through the /admin/build/modules form. In the CCK fieldset enable Content, FileField, ImageField, Number, Option Widgets, and Text. In the ImageCache fieldset enable ImageAPI, ImageAPI GD2 (or ImageAPI ImageMagick if your server supports it), ImageCache, and ImageCache UI. In the Other fieldset enable Advanced Help. In the Views fieldset enable Views, Views Slideshow, Views Slideshow: SingleFrame, and Views UI.
2. Create the Banner content type.
Browse to /admin/content/types/add on your site and create a new custom content type with the name set to Banner, the type set to banner, and a meaningful description for your site's administrators. A body field for the banner is unnecessary, so you can expand the Submission form settings fieldset and disable the field by clearing the Body field label textfield. I leave the Workflow settings defaulted as Published and Promote to front page, but you might adjust these depending on the editorial needs for your banner content. Finally, because comments are unnecessary for banners, I set the Default comment setting in the Comment settings fieldset to Disabled.
3. Add the necessary CCK fields.
I use three CCK fields: an image field, a textfield used to collect the link path, and an integer select list used to provide a sort order for banners in the Views. At this point, I'll mention that an alternate method of ordering banners would be to use the NodeQueue module, but it was unnecessary for my use cases.
To add the fields, browse to your Banner content type's Manage fields tab using the operations link from the content type list page:
First, add a new field positioned under the title labeled Image with banner_image in the name textfield. The field type should be File and the widget type should be Image. I like to store my banner images in a specific files directory, so I provide a file path in the Path settings fieldset (like banners). I didn't enable ALT text (i.e. what appears if an image does not load), but I did enable Title text (i.e. what appears when you hover the mouse over an image). Last, in the Global settings fieldset I mark this field as required.
Second, add a new field positioned under the image labeled Link path with banner_link in the name textfield. The field type should be Text and the widget type should be Text field. I don't adjust the default settings for the field at all, but you can feel free to require a link path for every banner image or include a help text informing your users to enter a Drupal path or a full URL.
Third, add a new field positioned under the link path labeled Sort order with sort_order in the name textfield. (I don't use a banner specific name for this field because I reuse the sort order field on multiple content types.) The field type should be Integer and the widget type should be Select list. In the Global settings fieldset I mark this field as required. The other settings are tricky. Even though it's more than most sites will reasonably require, I tend to allow a sort order of 1 to 50. So, in the Minimum textfield put 1, in the Maximum textfield put 50, and in the PHP code textarea for the Allowed values setting put the following snippet:
return drupal_map_assoc(range(1, 50));
When you view the fields screen for the content type, it should now look like this:
4. Define a couple of ImageCache presets.
While your site will likely require your banner images to have uniform dimensions, it's not necessary to enforce them on the file upload. Using the ImageCache module, we can define presets that are collections of actions performed to transform an image on display to your desired specifications. These transformed images will be cached in your site's files directory so they don't have to be regenerated each time they're viewed. On my sites, I use one preset for the image as it should appear in my rotating banner and a smaller preset for use in lists. I still recommend to my administrators to attach files to the proper size for the full banner to avoid any scaling or cropping issues.
Browse to /admin/build/imagecache/add, enter banner_full as the Preset Namespace, and submit the form. Next click the Add Scale and Crop link and enter the precise pixel width and height the image should be in your rotating banner. For this example, I'm using a pixel width of 690 and height of 230. When you click the Create Action button, you will be returned to the preset's configuration page where you can preview the transformed Druplicon image beneath the form to make sure ImageCache is transforming images properly.
Repeat this process using banner_small as the Preset Namespace and a smaller set of dimensions. I divided by 3 to use a pixel width of 230 and height of 77.
With the ImageCache presets defined, we need to go back and edit the Banner content type to use these for image display. From its edit form, click its Display fields tab. On this form, set the Image field's label to be hidden, its teaser to be banner_small image linked to node, and its full node to be banner_full image linked to image.
5. Create the rotating banner View.
Now that we have a Banner content type defined and the ability to resize its images on display, it's time to create the heart of the rotating banner. Creating Views isn't for the faint of heart, but it's an essential skill for a Drupal site builder or developer. Without explaining Views in too much detail here, I'll simply list the steps to recreate the precise View I use.
- Browse to /admin/build/views/add and create a new Node View (the default type) with the name rotating_banner.
- Change the style to Slideshow by clicking the Unformatted link next to the Style label in the View's Basic settings. When you do this, it will bring up a second settings form with several options you can adjust dealing with the animation and behavior of the slideshow. For now, it's enough to leave them all to their defaults by just clicking the Update button.
- I don't make any assumptions about how many images the rotating banner should have, even if 10 or more is overkill. Stil, I click the 10 link next to the Items to display label and set it to 0 for unlimited.
- Click the + link by the Fields area to add a new field to the View. Scroll down the checkboxes list an check Content: Link path. This field won't actually be displayed, but we need it to be present in the View for use as the link path for the image banner. Simply check the Exclude from display checkbox and click the Update button.
- Click the + to add another field, this time selecting Content: Image. In the settings for the field, check the Output this field as a link checkbox to expand some link settings. In the Link path textfield, put the token [field_banner_link_value]. Further down in the field settings form select the None option in the Label radio buttons. Last, in the Format select list, choose banner_full image and click the Update button.
- Click the + link by the Sort criteria and add Content: Sort order. Leave the settings for the sort order to the default and click the Update button.
- Click the + link by the Filters area and add the following filters all at once: Node: Promoted to front page, Node: Published, and Node: Type. For the promoted and published filters, choose the Yes option. For the node type filter, choose Banner in the Node type select list.
- Last, we just need to add a page display to the View. In the top left of the View edit form locate and click the Add display button beneath the select list with Page already selected. The only thing to adjust on the new display is the path, so click the None link by the Path label in the Page settings area. Enter banner in the textfield and click the Update button.
- Click the Save button beneath the View's settings area. Your View's settings should now look like the following image:
6. Display the View on the front page.
There are several ways to display this View now. The way I've implemented it for my sites, I set the default front page in my Site information settings form at /admin/settings/site-information to the rotating banner page's path, banner. I then added additional content to the front page using blocks.
Depending on the regions in your theme, you might alternately set the front page to something else and use a block display on the View instead of a page display. That's really up to you and how your site is architected.
Whatever you do, once you've set it up, start adding banner images to the site and they should appear. The way the View was setup, only banner images marked as Promoted to the front page will appear. If you're using a rotating banner in multiple places, you might only include that filter on a specific display of the View. Really, what we've done is just a beginning, and there's almost nothing you can't do to customize this for your site.










Comments
#1 Great tutorial
Submitted by tlattimore (not verified) on Tue, 06/08/2010 - 19:56.
Great tutorial Ryan. I have been using this module on a project I am currently working on. Been kind of a trial and error process to get it to do want I want. Glad to have tutorial to reference now. Thanks a a lot for sharing.
#2 BT
Submitted by Patrick (not verified) on Tue, 06/08/2010 - 20:57.
bt looks great...i did not read the rest of the post because i do not know what it means but the site looks good!
#3 haha No worries. Thanks for
Submitted by Ryan on Tue, 06/08/2010 - 21:14.
haha No worries. Thanks for stopping by.
Also, saw your wife tonight. Missing from the picture were you and us sitting at a table full of food. We should fix that sometime when Summer permits it.
#4 Great tutorial!
Submitted by Dan Schaller (not verified) on Tue, 06/08/2010 - 22:21.
I'm not sure how you did it but you published this within hours of when I began fighting with the code for a rotating banner that I need for one of the sites I have a deadline for soon!
I read through the tutorial (without fingers on a keyboard) and it looks as if it will do exactly what I need. Tomorrow morning I'm going to read it again while actually doing the project to see what I can learn.
Thank you ever so much, for this and for all the other energy you've put into the Drupal community.
#5 Awesome new, Dan, and thanks
Submitted by Ryan on Tue, 06/08/2010 - 23:24.
Awesome new, Dan, and thanks for the kind words.
#6 Great tutorial!
Submitted by Larry (not verified) on Wed, 06/23/2010 - 21:47.
I too have been struggling with the exploiting the Views Slideshow but just could not get insert it into the web pages. Thank you, Ryan for your very competent, eloquent and thorough tutorial. I am bookmarking it and saving it forever.
#7 how did you organize content on biblicaltraining.org
Submitted by Guest (not verified) on Wed, 06/09/2010 - 00:56.
Hi Ryan,
?
Not strictly related to your how to but as i think that biblicaltraining.org looks great, i was wondering how did you organize your content there (category ? taxonomy ?) and generate navigational menu ?
i'm new to drupal and I've hard time figuring out how to structure content within drupal actually
Thanks.
#8 Well, a lot of Views were
Submitted by Ryan on Wed, 06/09/2010 - 01:17.
Well, a lot of Views were used for things like Speakers pages and Lectures listing within classes. However, Bill handcrafted a lot of the content as well. I don't believe any of the Class listings are generated by Views - because a new class being added is so infrequent, the appropriate page is manually updated when a new class launches.
As for other content, the bookstore is Views driven, as are Certificates listing pages (along w/ class lists on Certificate pages), and all the informational pages are handcrafted.
The menu bar across the top is simply the Primary Links menu displayed using the dropdown menu available through Top Notch Themes' Fusion Market Share theme.
But really, I guess the short story is Bill manages a lot of the content / organization by hand, and it's often a process of trial and error until everything fits and people can find what they need.
#9 Thanks for writing this up!
Submitted by redndahead (not verified) on Wed, 06/09/2010 - 01:07.
Thanks for writing this up! I'll add a link on the views slideshow project page as well as the documentation.
#10 Awesome.
Submitted by Ryan on Wed, 06/09/2010 - 01:11.
Awesome.
#11 Feature?
Submitted by Jerad Bitner (not verified) on Wed, 06/09/2010 - 07:53.
This looks like it would be a great redistributable feature!
#12 Agreed! I have Features
Submitted by Ryan on Wed, 06/09/2010 - 09:36.
Agreed! I have Features installed on the site I used to create this tutorial but hadn't gotten around to attempting the export.
#13 Linked image
Submitted by Ken Heim (not verified) on Wed, 06/09/2010 - 18:17.
Curious why you use a text field for link path rather than just the one link image field http://drupal.org/project/linkimagefield?
#14 I guess I could give a
Submitted by Ryan on Wed, 06/09/2010 - 19:45.
I guess I could give a three-fold answer:
The fewer modules the better when it comes to ongoing site maintenance.
#15 My banner doesn't show up
Submitted by Helix Online (not verified) on Thu, 06/10/2010 - 11:09.
I followed the tutorial, and everything in all the pictures looked identical and I even went through the tutorial a second time and double-checked everything. The only difference is that I did not use the promoted to front page filter but I wouldn't imagine that would effect anything.
I did create a block display view, which isn't working, but I even tried just viewing the page view at www.helixathens.com/banner and that didn't work either. Here is the query I get from the live preview, maybe that could help you help me!
SELECT node.nid AS nid,
node_data_field_banner_link.field_banner_link_value AS node_data_field_banner_link_field_banner_link_value,
node.type AS node_type,
node.vid AS node_vid,
node_data_field_banner_link.field_banner_image_fid AS node_data_field_banner_link_field_banner_image_fid,
node_data_field_banner_link.field_banner_image_list AS node_data_field_banner_link_field_banner_image_list,
node_data_field_banner_link.field_banner_image_data AS node_data_field_banner_link_field_banner_image_data,
node_data_field_sort_order.field_sort_order_value AS node_data_field_sort_order_field_sort_order_value
FROM node node
LEFT JOIN content_type_banner node_data_field_banner_link ON node.vid = node_data_field_banner_link.vid
LEFT JOIN content_type_banner node_data_field_sort_order ON node.vid = node_data_field_sort_order.vid
WHERE (node.status <> 0) AND (node.type in ('banner'))
ORDER BY node_data_field_sort_order_field_sort_order_value ASC
#16 Hmm, when I look at the HTML
Submitted by Ryan on Thu, 06/10/2010 - 15:55.
Hmm, when I look at the HTML of your page, it has the necessary divs to display the View, but they are indeed empty. Your query looks exactly like the query from my test site, so my hunch is you've configured everything properly. I'd double check to make sure you have created some published banner nodes. When I browsed to your site's /node listing, I didn't see any that looked like banners.
I didn't direct you to add an "Empty text" message to the View, but if you did so and that was showing up for you, then it just means that Views can't find any nodes matching the criteria after the WHERE statement in the query (for yours nodes that are published and have the banner node type).
#17 I get this same result. exact
Submitted by Alex Clark on Tue, 06/29/2010 - 03:46.
I get this same result. exact same verbage. could it be that the images are sized to be too big. i'm lost.
#18 Dynamic Display Blocks
Submitted by Gerry (not verified) on Sat, 06/12/2010 - 08:25.
Hi,
Thanks for the tutorial.
While Creating Content after your tutorial there are three processes 1. Create a custom image with custom text on it using a photo editor 2.Create the page for the Link path and 3. Create the Banner.
It would be simpler for a person creating content to have a one step process like in the Dynamic display block module http://drupal.org/project/ddblock Of course there are separate headaches while setting up ddblocks.
#19 The banner does not rotate
Submitted by Rosie Brendan (not verified) on Sat, 06/12/2010 - 22:08.
First, I think that this is a great tutorial. You broke down something complicated so that anyone can do it. I have all my banners displayed in a column at /banner.
One thing though - my banner doesn't rotate. Honestly, from the instructions and what I know of views so far, I still can't see how I could get this to rotate.
I tried adjusting the views style settings and that didn't work either.
How do you get it to rotate?
#20 Hmm, I don't suppose you can
Submitted by Ryan on Sun, 06/13/2010 - 02:32.
Hmm, I don't suppose you can put a screenshot of your View's configuration page online somewhere? Did you get step 2 of the View configuration? If you did that, instead of a column, you should only be seeing a single image.
#21 Finally got it working
Submitted by Rosie Brendan (not verified) on Sun, 06/13/2010 - 09:03.
First, I did not realize that the views slideshow module is separate from the views module. So, I downloaded views slideshow 2.1. That showed the slideshow option but using that option left me with a black screen at /banner. So, I downloaded views slideshow 2.0 instead and it worked!
Thanks so much!
#22 The banner does not rotate
Submitted by Larry (not verified) on Wed, 06/23/2010 - 21:20.
A feature of Views Slideshow that is not well known is that when the mouse pointer is on the current image, the slideshow will pause and appear to not rotate. Just a thought.
#23 Great Writeup
Submitted by ajayg (not verified) on Wed, 06/16/2010 - 00:53.
Great Writeup. Got it working first time. But I got more hungry.
Would you know if this can modified to show more than a single frame? Say if I need to show 3-4 banners in row and then rotate those? Something what a jcarousal type effect? I don't need to rotate each frame. Just when banner goes out of view from frame1, everything shifts to say left and new banner appears at the rightmost frame.
#24 not able to see the banner
Submitted by vaibhav (not verified) on Thu, 06/17/2010 - 07:14.
m not able to see the banner...i hv followed all the instructions as given above..the preview i got is :
SELECT node.nid AS nid,
node_data_field_banner_link.field_banner_link_value AS node_data_field_banner_link_field_banner_link_value,
node.language AS node_language,
node.type AS node_type,
node.vid AS node_vid,
node_data_field_banner_link.field_banner_image_fid AS node_data_field_banner_link_field_banner_image_fid,
node_data_field_banner_link.field_banner_image_list AS node_data_field_banner_link_field_banner_image_list,
node_data_field_banner_link.field_banner_image_data AS node_data_field_banner_link_field_banner_image_data,
node_data_field_sort_order.field_sort_order_value AS node_data_field_sort_order_field_sort_order_value
FROM node node
LEFT JOIN content_type_banner node_data_field_banner_link ON node.vid = node_data_field_banner_link.vid
LEFT JOIN content_type_banner node_data_field_sort_order ON node.vid = node_data_field_sort_order.vid
WHERE (node.promote <> 0) AND (node.status <> 0) AND (node.type in ('banner'))
ORDER BY node_data_field_sort_order_field_sort_order_value ASC
i dnt knw wheres the bug..help plz..
#25 How does this compare with Rotor
Submitted by Gregg Marshall (not verified) on Sat, 06/19/2010 - 23:11.
This is a great write up.
In the introduction you said you wanted something like Rotor, but different.
Out of curiosity, what is different between what you have accomplished (pretty amazing) and what Rotor does?
#26 Thanks for the tutorial - but i thini am missing somwthing...
Submitted by Quintin (not verified) on Mon, 06/21/2010 - 12:43.
I followed all the instructions, but cannot see the rotating banner.
I am a newbie with regards drupal and php, so please excuse my ignorance here.
the page is:
http://summitcycles.co.za.www89.jnb2.host-h.net/banner
i added three images:
http://summitcycles.co.za.www89.jnb2.host-h.net/content/bannerimage3
i also created a block and dropped it into the footer - still nothing.
these are my settings, please let me know what else i can give you to check why it is not displaying.
SELECT node.nid AS nid,
node_data_field_banner_link.field_banner_link_value AS node_data_field_banner_link_field_banner_link_value,
node.type AS node_type,
node.vid AS node_vid,
node_data_field_sort_order.field_sort_order_value AS node_data_field_sort_order_field_sort_order_value
FROM node node
LEFT JOIN content_type_banner node_data_field_banner_link ON node.vid = node_data_field_banner_link.vid
LEFT JOIN content_type_banner node_data_field_sort_order ON node.vid = node_data_field_sort_order.vid
WHERE (node.promote <> 0) AND (node.status <> 0) AND (node.type in ('banner'))
ORDER BY node_data_field_sort_order_field_sort_order_value ASC
#27 THANKSSSSSS
Submitted by MMUsashi (not verified) on Fri, 06/25/2010 - 18:41.
WOW WOW WOW WOW
Thank you SOOOO much !!
After struggling with creating a slideshow gallery I found this article linked from Views Slideshow projects page on drupal.org .
You saved me so much time and frustrations..
You're the man !!!!
#28 Nicely Written BUT....
Submitted by Alex Clark on Sun, 06/27/2010 - 19:05.
I couldn't get it to work. All of my pictures resembled yours all the way up to the 5th step.
I followed every step point for point and I'm not sure where I might have dropped the ball. The last thing I did was changed the site information Default front page. ("banner" instead of "home.")
------------------
Can the last step read like this
"and then click save, or drag this image to this folder, go to your home page and you'll should see your work in action" ?
#29 I can't tell from your
Submitted by Ryan on Tue, 07/06/2010 - 02:24.
I can't tell from your comments if you've actually added banner nodes to the site after doing all the setup... Drupal won't have any stock content to go from, so you'll then need to add content through the appropriate menu (Create content > your node type).
#30 help
Submitted by Alex Clark on Tue, 06/29/2010 - 03:37.
help
maybe I have faulty modules? are there any videocast that I can be pointed too? Your gallery looks really good and I'd like to learn. thanks ralexanderclark@mac.com
#31 thanks for the easy to follow
Submitted by jeremiah (not verified) on Thu, 07/01/2010 - 07:55.
thanks for the easy to follow tutorial.
How can you set it to have different pages depending on the page url?
ie the about images for the www.site.com/about page ... etc
#32 Great tutorial
Submitted by Ralph Maijala (not verified) on Sun, 07/04/2010 - 03:51.
The tutorial was a great help and after a bit of fiddling I got it working.
I tried this after Rotor banner didn't work for me. Got everything to work and the banners rotate fine but no users could see other than admin. It was invisible to other users. I set it as a block to run rotating banner ads. the default and block view is set to access = unrestricted.
I could not even see them when I tried to access the node directly i.e. www.mysite.com/node/52
I had to go to admin/users/permissions and set the under the newly created content_permissions module for anonymous to be able to view and or edit the images. You might add this to the tutorial.
One other request. How do you add a field to the link path field that will allow you to open the link to another browser or tab (which would be great for an offsite link)?
Thanks again for the fine work. All the best
R
#33 Hmm, at that point I'd
Submitted by Ryan on Tue, 07/06/2010 - 02:21.
Hmm, at that point I'd probably just recommend using the Link module.
#34 For that you could add
Submitted by Ryan on Tue, 07/06/2010 - 02:22.
For that you could add multiple Page displays and assign them each a unique path. Then in your View's "Filters" sections you can add filters to display the appropriate content.
#35 how to set the path
Submitted by Guest (not verified) on Mon, 07/05/2010 - 05:49.
first of all i would like to say thanks for this greatful tutorial , i did all the stpes in the tutorial but i didn't get the path and also i am unable to view images so could you please help me how to view images and how to set the path.
thanks®ards
ramakrishna
#36 set the path
Submitted by Ralph Maijala (not verified) on Mon, 07/05/2010 - 07:23.
from my experience I did not have to set the path. I think that is only if you want a special folder to hold the slideshow images rather than the default folder.... I didn't set the path and it worked. one thing when you finish editing your view and display in the view make sure you save the view. the filters you added and the changes you made will no longer be in bold. I added a block display rather than a page display and did not require promoting to the front page.
first make some "banner" images and then see if you can view them if you are logged out and you try to access the node you just created directly by going to mysite.com/node/x if you cant see them go to admin/users/permissions and under the heading of 'content_permissions module' allow everyone to view the field_banner_full. viewing link and sort order is optional.
hope that helps
R
#37 edit
Submitted by Ralph Maijala (not verified) on Mon, 07/05/2010 - 07:25.
you should set permissions to view field_banner_image
R
#38 and also please mention the
Submitted by Guest (not verified) on Mon, 07/05/2010 - 05:54.
and also please mention the details of how to add images to our site it helps me a lot please help me.
#39 Great help!
Submitted by Jo (not verified) on Wed, 07/07/2010 - 17:07.
This tutorial was really easy to follow! Thanks for posting it!
#40 About time!
Submitted by Guest (not verified) on Thu, 07/08/2010 - 18:41.
For ages I have lamented the lack of decent documentation on views slideshow or any similar modules. This really fills that gap and is probably the best walk-through out there.
#41 No picture
Submitted by Bob (not verified) on Sat, 07/10/2010 - 23:21.
OK, I have done this twice now, with the same result. Nothing, nada, zip, zero pictures showing. I have tried it twice and I know, just know I am doing something insanely, foolishly, wrong. Here are my questions to hopefully narrow down the list:
1) When uploading new pictures do I use admin/create content/banner and then upload my content?
2) After, I upload my content, I would expect it to be uploaded to files/banner, but instead, it is going
to files/imagecache/banner_full/banner... is this correct?
Anything else I could possibly try. I want to like Drupal, but failing this badly is discouraging.
#42 Don't forget to check permissions!
Submitted by Luke McCormick (not verified) on Fri, 08/27/2010 - 15:01.
Bob, I was experiencing problems like you describe -- I followed the tutorial exactly, but pictures weren't showing up. Finally it occurred to me to check permissions, and I found that I hadn't used ImageCache yet, and the permissions were set to not allow anonymous users to access. (There are a lot of default permissions in Drupal that mystify me.) In any case, when I turned on a bunch of permissions (admin/user/permissions) I saw the pictures. That was the big breakthrough.
It also doesn't hurt to hit the "Flush all caches" button in the upper left corner of admin toolbar every so often. (If you don't have "admin toolbar" you need to get it!)
Ryan: Thanks for taking the time to do this. You are amazing, the Drupal community is so lucky to have you!
#43 Pictures Do Not Show Up
Submitted by Phil (not verified) on Tue, 07/13/2010 - 09:08.
I went through the entire tutorial and followed all the setup procedures. But there must be something that I am missing.
After the setup I created banner content with images. 5 different pages. When I preview them they show up with the title, and the picture. This works for each image. But, when I press Home, the screen goes blank and no images show up on the screen.
Any Help?
#44 Congratulations and thank you
Submitted by Roberto (not verified) on Wed, 07/14/2010 - 12:25.
Hi,
Thank you very much for your work. I have followed all your steps and, after solving some .htaccess problems with my hosting (I couldnt see the images in the sites/default/ directory), this works properly. There is only one thing I don`t have in my page and it's the numbers (1,2,3...) of the banners when those are shown in order to watch the banner you want pressing that number. I mean I can't see those numbers in my banner rotator page, so How did you do it. A thousand thanks!
#45 In the Slideshow settings,
Submitted by Ryan on Wed, 07/14/2010 - 15:48.
In the Slideshow settings, accessed by clicking the gear to the right of the Style: Slideshow line in the View configuration, you will see a fieldset titled SingleFrame options. About two thirds of the way down, you should see a select list titled Page that lets you put the numbers at the top or the bottom. There are other display settings in here that affect the activity and features of the slideshow, too.
Happy to help!
#46 Thanks again
Submitted by Roberto (not verified) on Thu, 07/15/2010 - 07:22.
Hi,
Thank you very much!; It works!
#47 Deep customization about Slideshow
Submitted by Guest (not verified) on Fri, 07/16/2010 - 16:47.
First of all let me congratulate you.
My doubt is as follow: i want to display more than one element per slide in my slide show. In views i just select the number of items per slide, and actually can select the number of offsett too. But in views slideshow i don't see this options. Do you know how can i do this?
Thank you very much.
PD: excuse my english.
#48 Link path misbehaving
Submitted by goremw on Wed, 08/11/2010 - 10:18.
I followed your wonderful tutorial and the banner slideshow is working - except for the link function. When you click the banner image, instead of using the link path variable it returns
http://mysite.com/field_banner_link_value
any idea what's happening?
#49 Great timely tutorial
Submitted by Bil (not verified) on Thu, 08/12/2010 - 10:56.
Ryan, Thanks so much for this. I had about a 15 minute deadline to do exactly what you showed. You are a lifesaver.
#50 Great tuto
Submitted by Tuan (not verified) on Tue, 08/17/2010 - 19:05.
Hello, I like your tuto so much. It help me alot.
I would like to ask you a question, how can you arrange the numbers under the banner like in the site http://www.biblicaltraining.org/ and how did you do to change the image when the mouse pass on the number. Because in my case, i can only affiche one number for each image once, when the seconce image affiche, i see the seconde number but not the first.
I'm sorry if my question is noob, I'm a newbie in the drupal community.
Thank you very much.
#51 Sorry, in fact, Roberto have
Submitted by Tuan (not verified) on Tue, 08/17/2010 - 19:13.
Sorry, in fact, Roberto have asked the same question of mine. I didn't read before. I know the answer now.
THANK YOU VERY MUCH and I'm sorry.
IT'S GREAT YOUR TUTO.
#52 No problem. Glad you got it
Submitted by Ryan on Fri, 08/20/2010 - 19:47.
No problem. Glad you got it working.
#53 Any Help with Exposing as Block
Submitted by mdshannon (not verified) on Sat, 08/21/2010 - 09:46.
First off great tutorial.
But when I set up the view as a page and just go to the page it works great, but when I try to expose it in a block on my site all I get to show up in that block is a button that says apply and when you click on the button it takes you to the slide show page.
Anybody know what could cause this?
#54 Thanks!
Submitted by xl_cheese (not verified) on Wed, 08/25/2010 - 14:43.
I had a slideshow set up but I could never figure out how to get it to link to other node, views, etc...
It now works!
One think I figured out after some time is that when adding the fields in the view you need to make sure to have the link field at the top of the list. Otherwise, the token will not be availble to the other fields.
#55 trouble
Submitted by Guest (not verified) on Fri, 09/10/2010 - 00:35.
hey greate tutorial. im having some trouble. ive done every step nd images wont show, wen i go to site building/ image cache, it doesnt find the sample image.... and one i build de view and block it doesnt either..... for example.... image cache is serching the sample image in a folder in my local host that doesnt exist... and it doesnt find images either.... any thougtss... sorry for my english im from argentina....
http://localhost/sites/default/files/imagecache/banner_full/imagecache_s...
that directory isnt generated.... and i think i found it elsewhere....
when publishing a Banner content i only se a broken file icon and a empty blog style published