C5 slideshow

Permalink
Are there any plans to include a ALT description option to help with validation

And prev and next arrow navigation would be a great improvement

gbda
 
adajad replied on at Permalink Reply
adajad
The built-in slideshow is a very basic one and my guess is no improvements will be made to that block. Fortunately the Marketplace has several image sliders (out of which three is free), and you will probably find what you are looking for there.

If you feel confident with editing some code, you can also easily override the core block or just create your own template for the block. That way you can have both alt and title attributes for the images.

Let me know if you want help to understand the concept of custom templates if this how-to doesn't do it for you: http://www.concrete5.org/documentation/how-tos/designers/change-how...
gbda replied on at Permalink Reply
gbda
Thanks for your reply I will have a look at the link you kindly pointed me towards and get back to you.
mhawke replied on at Permalink Best Answer Reply 1 Attachment
mhawke
So I was hangin' on the couch watching the Cowboys and then the Lakers and I wanted to see if I could add the alt tag to the Power Slider Lite.

I have attached a modified version which does just that.

Here's how to update your existing package:

Un-zip the attached archive and upload the resulting 'michaelg_power_slider_lite' folder to your [root]/packages folder so that it over-writes your existing 'michaelg_power_slider_lite' folder.

Visit "Dashboard->Extend Concrete5" and click on the Edit button next to "Power Slider Lite". Click on the 'Power Slider Lite' block type and then click the 'Refresh' button. This adds the 'alt' field to the database.

Edit your slider as normal but you will now find a text box to add your 'alt' text for each image you add/edit.

Let me know how it works out.
gbda replied on at Permalink Reply
gbda
Hi Michael

Thanks so much for helping me out. I have amended and uploaded your amended package and have the ability to add alt titles to the images in the slide show.

I really appreciate your time and expertise on this, its great!



: )

Thanks again
mhawke replied on at Permalink Reply
mhawke
Glad I could help. I'm never satisfied with the way things work and often break things that are working just out of curiosity. Hey, when I was 10, I made my Mom's bicycle into a 'chopper' by extending her front forks with tubes I scavenged from an above ground pool kit that my Dad was storing in the basement thereby wrecking 2 rather expensive things at once. I couldn't help myself. My parents invented the term 'WTF?'.

Post your questions here and I'm sure you'll find lots of help.
gbda replied on at Permalink Reply 2 Attachments
gbda
LOL!

There is another problem that prevents the block from validating: it seems to be linked to the style that is brought in. I am only guessing but viewing the page source there is no, 'type="text/css" part to go with the <style>

I have attached two images; one is the message from the automated validator and the other is the page source it starts at about line 130 ish

Do you think this is solvable?
mhawke replied on at Permalink Reply
mhawke
I've never validated any code in my life. If it works, that's the only validation I need. Seriously though, validators are often behind the times or just flat wrong. Have you tried several validators or is that the one that your client/employer require you to use?

I know that HTML5 doesn't require the 'type=text/css' declaration but since I'm clearly no expert on validators, can someone else pipe in here with some advice?
ppisoban replied on at Permalink Reply
ppisoban
Hi Michael

I didn't actually need alt attributes on my slideshow, but the client had asked for mouse hover text (the title attribute) and I searched high and low for how to do this. So many of the add-ons had captions but that isn't what the client wanted. I came across this thread, downloaded your file, did an extended search for 'alt' and replaced it with 'title', followed your other instructions to install it and it works perfectly! So I wanted to say thank you so much for saving me a lot of hassle.
mhawke replied on at Permalink Reply
mhawke
Glad it helped you out. Thanks for posting.