> Except for Archive which I just started using, I don't rely on any
> behaviour and no third-party one anyway so I expected to be easy.  But
> the first error I got is "content: tag unknown"...  The real home page
> of the site has several parts and I use this code:
>
> -----
> <r:children:each by="slug" order="asc">
>   <h2><r:title /></h2>
>
>   <div class="left">
>     <r:content part="left" />
>   </div>
>   <div class="main">
>     <r:content part="main" />
>   </div>
>   <hr />
> </r:children:each>
> -----
>

Make sure the page type is StandardPage. That is, if you want to use
the standard tags (such as <r:content>, <r:children> ... etc.) you
need to select in the admin interface the "Page Type" called
"Standard."

Of course, you might have run into the problem that ArchivePage is a
subclass of Page (not StandardPage). If you want a "behavior" (let's
call it
"page extension" that's a better term) have access to the standard
tags you need to subclass StandardPage. In the case of ArchivePage the
class definition might look like this:

class ArchivePage < StandardPage
  ...
end

On 10/12/06, Ollivier Robert <[EMAIL PROTECTED]> wrote:
> On 10/12/06, Alexander Horn <[EMAIL PROTECTED]> wrote:
> > migrations. This change is only temporary but it means that you
> > currently cannot migrate your 0.5x data to the "corex" branch. Most
>
> OK.
>
> > likely though, you current pages probably rely on Archive and other
> > behaviors anyway. Since those behaviors haven't been ported yet I
>
> Except for Archive which I just started using, I don't rely on any
> behaviour and no third-party one anyway so I expected to be easy.  But
> the first error I got is "content: tag unknown"...  The real home page
> of the site has several parts and I use this code:
>
> -----
> <r:children:each by="slug" order="asc">
>   <h2><r:title /></h2>
>
>   <div class="left">
>     <r:content part="left" />
>   </div>
>   <div class="main">
>     <r:content part="main" />
>   </div>
>   <hr />
> </r:children:each>
> -----
>
> so you tell me this does not work anymore?
>
> > But don't despair. When you create a "pristine" copy of "corex" you
> > will be prompted as part of the migration procedure on what YAML file
> > you would like to import. Choose [2] and you'll get the basic page
> > layout. I hope this helps.
>
> I will look at that.
> --
> Ollivier Robert -
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>


-- 
Alexander Horn
http://www2.truman.edu/~ah428
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to