Custom Block / Add on for repeating region.
Permalink
I'm looking for someone to create a custom block to power a jQuery slider I am using on a project.
The reason I am not using a currently existing slider from the marketplace is the slider I am using has a very specific way of dealing with Video content which is essential for my project.
The actual code I'm looking to have created shouldn't be massively complex. I'm not looking for a ton of options for this project.
The fields I require as far as editing goes are:
Link URL and Slide Image, both mandatory.
Then an optional field for a YouTube video embed URL.
From that the html I would like it to output is as follows:
<ul>
<li class="fade"><a href="http://link.com"><img src="image.jpg" alt="Alt Text" /></a></li>
</ul>
That is how it should look if I have added one slide and no YouTube video. If there IS a video URL added, a small additional portion of html should also be output inside the <li> as follows:
<ul>
<li class="fade"><a href="http://link.com"><img src="image.jpg" alt="Alt Text" /></a>
<div class="video_frame">
<div class="video_area">
<iframe src="http://www.youtubeembedurl.com" width="932" height="350"></iframe>
<div class="close"></div>
</div>
</div>
</li>
</ul>
The html will be the same every time. Only the src of the iframe needs to change (hence just one optional input in the block).
Using the extremely wonderful "Designer Content" add-on by jordanlev, I can make a block that outputs just like that, but only one slide at a time! Haha! So the main function I require is that slides can be added in a similar manner to the images in the Slideshow block that comes with C5.
I'm looking to test the water a bit with this. I will be needing more custom work done, so I figured this would be a good way to not only get something I need done, but also find someone I can work with further on projects.
So, if anyone is interested, give me a shout by Private Message and we can discuss :)
Cheers,
Dan.
The reason I am not using a currently existing slider from the marketplace is the slider I am using has a very specific way of dealing with Video content which is essential for my project.
The actual code I'm looking to have created shouldn't be massively complex. I'm not looking for a ton of options for this project.
The fields I require as far as editing goes are:
Link URL and Slide Image, both mandatory.
Then an optional field for a YouTube video embed URL.
From that the html I would like it to output is as follows:
<ul>
<li class="fade"><a href="http://link.com"><img src="image.jpg" alt="Alt Text" /></a></li>
</ul>
That is how it should look if I have added one slide and no YouTube video. If there IS a video URL added, a small additional portion of html should also be output inside the <li> as follows:
<ul>
<li class="fade"><a href="http://link.com"><img src="image.jpg" alt="Alt Text" /></a>
<div class="video_frame">
<div class="video_area">
<iframe src="http://www.youtubeembedurl.com" width="932" height="350"></iframe>
<div class="close"></div>
</div>
</div>
</li>
</ul>
The html will be the same every time. Only the src of the iframe needs to change (hence just one optional input in the block).
Using the extremely wonderful "Designer Content" add-on by jordanlev, I can make a block that outputs just like that, but only one slide at a time! Haha! So the main function I require is that slides can be added in a similar manner to the images in the Slideshow block that comes with C5.
I'm looking to test the water a bit with this. I will be needing more custom work done, so I figured this would be a good way to not only get something I need done, but also find someone I can work with further on projects.
So, if anyone is interested, give me a shout by Private Message and we can discuss :)
Cheers,
Dan.
I have sent you a PM.. Please check your inbox.
Best wishes,
Wagdi