[Radiant-docs] Radiant tutorial

Pablo Ambrosio pandres at gmail.com
Mon Jun 26 16:22:29 CDT 2006


Hello, I've been playing with templates and once exported I can't load it
back into radiant, I've edited the .yml file inspired in the templates which
already are functioning and can't get it to work anyway (I believe the order
in which "layouts", "snippets", etc are stored is irrelevant). Does someone
know which are the usual problems with templates or which are the points to
consider.

pablo.

On 6/22/06, John W. Long <ng at johnwlong.com> wrote:
>
> Pablo Ambrosio wrote:
> > Sounds good. I'm reading something about it. By the way, sorry for my
> > ignorance, I've just seen a post by John (
> > http://www.ruby-forum.com/topic/68883#new) about a DB template he wrote,
> I
> > really don't know how to use it, has somebody tried to use it?
>
> If you look in the db/templates directory you will see three example
> database templates.
>
> The easiest way to create your own is to tweak your database until you
> have it the way you want it, login to the admin interface, and go to
> /admin/export/ where it will dump the db to yaml. Then cut and paste the
> relevant parts into your own template.
>
> Then when you setup a new db do this:
>
> % db/setup.rb --template=path/to/mytemplate.yml
>
> Does that make it any clearer? Perhaps I should write a tutorial on it.
> I would really love to see some other submissions for templates from the
> community.
>
> --
> John Long
> http://wiseheartdesign.com
> _______________________________________________
> Radiant-docs mailing list
> Radiant-docs at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant-docs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant-docs/attachments/20060626/021fdc35/attachment.html


More information about the Radiant-docs mailing list