thing horribly wrong or my dev machine setup incorrectly. That tends
On Nov 20, 9:10 pm, AndyG <
agoun...@gmail.com> wrote:
> Geoff
>
> Thanks for your reply. However, this is not the correct syntax (nor in
> fact the correct language) to use for when using cells in adva cms
> objects (content stored in the database on an adva article). What
> you've described here is how to use cells in an erb template, but
> that's not where most of the content within an adva site lives; it
> lives in the database (well at least that's where most of the content
> on the site i'm building will live). An adva cms object (actually a
> Globalize::Translation::Attribute) is not equivalent to erb and as
> such, you can't put ruby code in their at all (or so i've found out by
> trying it). If you do, you'll find that the ruby code is simply
> printed directly to screen.
>
> The way the adva team enabled use of cells in adva cms content is via
> the use of XML declarations within the html body of the cms object
> (such as <cell name="blog/recent_articles" count="5" /> that i pasted
> above). This xml is supposed to be parsed and this is suposed to
> result in the cell being rendered, but this is not happening for me at
> the moment; the xml is instead being rendered into the html page. For
> full details of this xml syntax (there's not much in the way of