Block inside a block
Permalink
Is it possible and has anyone been able to put a block inside a block. i.e. create a content, add a "zoom_image" block with a style attribute "float left + padding" then add text which would wrap around the block?
Which brings me to a second question in my next posting...
Which brings me to a second question in my next posting...
the TinyMCE content editor doesn't have the ability to place rich media easily, or concrete5 blocks.. the former might be a reasonably easy bit of work, the latter sounds like it could quickly spiral out of control.
Franz is right of course, but in case you just want the zoom image, this works within a content block.
Although you're not able to use "the block" to insert an image.
If you understand the basics of html and javascript, you can insert an image within TinyMCE, add an attribute and insert the jQuery Fancy Zoom Code to your theme..
Needs a bit of work and isn't very comfortable to insert a new zoom image, but it would work.
Although it has nothing to do with "block inside block"
Although you're not able to use "the block" to insert an image.
If you understand the basics of html and javascript, you can insert an image within TinyMCE, add an attribute and insert the jQuery Fancy Zoom Code to your theme..
Needs a bit of work and isn't very comfortable to insert a new zoom image, but it would work.
Although it has nothing to do with "block inside block"
I suppose a "block" could be created that would be a container block for other blocks? And would merely specify the way these blocks were laid out?
That would be great but one of the biggest problems I see is that the block styles are not modifiable. This means that you can not insert a block like Fancy Zoom and have text or something else next to it.
It would also be great if you could define set of styles that the WYSIWYG editor pulls from your theme directory and that you can apply to a selected object!
It would also be great if you could define set of styles that the WYSIWYG editor pulls from your theme directory and that you can apply to a selected object!
you can do that in fact!
that's the reason why a "standard theme" has two css files. just put your style classes in typography.css..
that's the reason why a "standard theme" has two css files. just put your style classes in typography.css..
once you've made a block, click on it in edit mode.. instead of editing the block, look for custom template in that menu.. you can make different presentation files for any block in concrete5
Hi all. Im new to the c5 philosofy but, maybe, the solution for your problem is to create a block, called for example, column, that can contain another blocks. The properties for this block would refer to the space that each column needs, and all the posibilities, with some commom sense off course (10 columns inside the main content area will break the layout)
I dont know if I explain my idea. By the way, excuse my english (Im spanish)
I dont know if I explain my idea. By the way, excuse my english (Im spanish)
this discussion has been around the forums several times...
short answer: it won't work
long answer: you can extend the area class to do some dynamic layout stuff but that's going to be ugly and not easy too. you might even be able to create a real "block container", but that's even more complicated...
short answer: it won't work
long answer: you can extend the area class to do some dynamic layout stuff but that's going to be ugly and not easy too. you might even be able to create a real "block container", but that's even more complicated...
if you're gonna get all haxory, just make a new page type/template for your site..
if the real challenge is "how do we give complete web noobs a WYSIWYG site designer?" I'd say that photoshop does an acceptable job of spitting out code through what used to be image ready, dreamweaver works, and the "drag and drop to design a website" problem is bigger than I want to solve.. at least this year. ;)
if the real challenge is "how do we give complete web noobs a WYSIWYG site designer?" I'd say that photoshop does an acceptable job of spitting out code through what used to be image ready, dreamweaver works, and the "drag and drop to design a website" problem is bigger than I want to solve.. at least this year. ;)
This isn't entirely impossible as I recently managed to do it - for my own amazement also! :D It is a tweaked work-around, but still interesting though...
I used Remo's older block version of Expander with customized form block, here are details: http://www.concrete5.org/index.php?cID=42071...
I used Remo's older block version of Expander with customized form block, here are details: http://www.concrete5.org/index.php?cID=42071...