Ahh, I see. I misunderstood and thought you were saying that was how you always entered your code blocks in BlogCFC.
I guess it makes sense that the editor in ContentBox hides the blocks since they are tags. I always just used the basic textarea editor in BlogCFC so I never had to worry about that.
I use Windows Live Writer to write blog posts, so it is not an issue on that side. But what I am asking for here is nothing to with blogCFC except for the importer I wrote. The importer takes the content checks for and converts it too
[code]
So I did that on the assumption that this would become a standard here.
So when editing in ContentBox, I can manually type thats no big deal, but as all imported posts are wrapped with the <pre> tag, then I now am looking at how I can say paste code and have it wrapped with <pre>[code]
so that the ContentBox editor will be consistent with imported posts.
Hopefully this makes it clearer as to what I am asking for here. As you can see by the typing, that it is hard to get this right, even though I knew what the problem was I had to edit it a number of times before the getting it right.
What I am asking for eliminates the back and forth all the time, and saving versions of the content when the was no real need to do so in the first place.
I use customtags in my layout and would like to call renderview() from inside those tags. Can you please tell me the best syntax to use to call the renderview() function from there?
These custom tags are used in the layout as dynamic replacements for HTML tags. They allow the designers to replace with cms:body. Having to add in additional attributes to the tag would defeat the purpose.
I was hoping to figure out a way of using “caller.” for this…
As already described, I use them for layout tags and tag replacements.
As an example, to turn a static HTML design into a CML layout, designers simply replace their and tags with cms:body and </cms:body> tags. Menus and other dynamic block tags work the same way.
Having to add in an extra attribute to these tags for Coldbox would defeat their purpose.
I can get this to work. I was just wondering if somebody knew of the most efficient way to do it.
Did you ever think of tag parent and child relationships?
For example you could have
<cms:html attributes="#event#">
</cms:html>
Which would then save this into the tag, you can then use the children to tie it to this parent, in turn pulling that out without passing into the children.