Hello,
is there a way to tell radiant to output all the parts of a page without
naming them explicitly?
This would allow me to split large pages into smaller chunks that are
easier to handle.
Thanks
Ralph
Hello,
is there a way to tell radiant to output all the parts of a page without
naming them explicitly?
Thanks
Ralph
Thanks, this method is great! It even allows me to change the order of
the parts if I need to add one part in between two others.
When I need to split up bigger pages I just include in the main content
of
the page a content tag for each “extra” part I have, this way in the
layout
I don’t need to know if the page has multiple parts or just one and I
can
still divide the page into smaller chunks.
I use this method a lot when I write pages that contain ruby code that
has
to be highlighted. I create a page part like source_filename that is
enclosed in <r:code> tags and in the main article I do <r:content
part=“source_filename” />
2006/9/17, Ralph Von der heyden [email protected]:
On 18/09/06, Giovanni I. [email protected] wrote:
Glad I could help
Okay, added to the wiki as a Recipe ![]()
–
Regards,
Dave
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs