How do I make multiple inputs print as a single line?
Permalink Browser Info Environment
I've made a block that allows you to embed a photo thumbnail in a scroller, and specify a URL, a title (for a tooltip), and the image itself. What I get works, but it's sloppy. What do I have to do to make this:
...print like this instead:
<a href="#" class="tipClass" title="Carolina Day School"> <img src="/arch/files/cache/85b06dfdeb982e4d00d820d25d4868c5.jpg" width="92" height="53" alt="Carolina Day School" /> </a>
...print like this instead:
<a href="#" class="tipClass" title="Carolina Day School"><img src="/arch/files/cache/85b06dfdeb982e4d00d820d25d4868c5.jpg" width="92" height="53" alt="Carolina Day School" /></a>
Type: | Discussion |
---|---|
Status: | New |
Well, that was easy. I didn't realize it was nothing more than taking out the extraneous white space in the view.php file.
Thanks...and while I'm at it, thanks again for this Add-On. I already have three custom blocks in this project done with Designer Content...it was much more labor-intensive and time-consuming to work in Concrete before you came up with this.
Thanks...and while I'm at it, thanks again for this Add-On. I already have three custom blocks in this project done with Designer Content...it was much more labor-intensive and time-consuming to work in Concrete before you came up with this.
You're welcome!
what if you wanted the user to be able to add multiple images? I would like to use this to allow the user put however many images they want. Is there a way to do this using your add-on?
Were you addressing your question to me, or to Jordan?
The block I made simply adds one image to a block, and you repeat until finished. If your markup wraps the editable area with the code for the scroller, it works.
But mhawke took that idea and turned it into a block which includes the scroller markup, so you simply add the images to a stack. Adding the block gives you a single form field: what stack name? This way, you can put a scroller anywhere you want (and, I suppose, style them differently based on the ID of the div that encloses them).
The block I made simply adds one image to a block, and you repeat until finished. If your markup wraps the editable area with the code for the scroller, it works.
But mhawke took that idea and turned it into a block which includes the scroller markup, so you simply add the images to a stack. Adding the block gives you a single form field: what stack name? This way, you can put a scroller anywhere you want (and, I suppose, style them differently based on the ID of the div that encloses them).
thanks for the info, I will look into this tonight.
Sorry, this is not possible with Designer Content. But check out this tutorial on creating your own image gallery block:
http://c5blog.jordanlev.com/blog/2011/12/build-a-slideshow-block/...
http://c5blog.jordanlev.com/blog/2011/12/build-a-slideshow-block/...
I seen that post after I asked my questions. I will look at it some more tonight.
-Jordan