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:

<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
1db
View Replies: View Best Answer
jordanlev replied on at Permalink Best Answer Reply
jordanlev
I don't see any difference between the two, other than it's all on one line in your second sample. If that's what you're after, just modify the block's view.php file and move the markup around to wherever you'd like it.

-Jordan
1db replied on at Permalink Reply
1db
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.
jordanlev replied on at Permalink Reply
jordanlev
You're welcome!
elispop122003 replied on at Permalink Reply
elispop122003
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?
1db replied on at Permalink Reply
1db
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).
elispop122003 replied on at Permalink Reply
elispop122003
thanks for the info, I will look into this tonight.
jordanlev replied on at Permalink Reply
jordanlev
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/...
elispop122003 replied on at Permalink Reply
elispop122003
I seen that post after I asked my questions. I will look at it some more tonight.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.