ERB into Radiant P-S-L is that possible

Hi all,

having to include some ERB widgets and navbars into Radiant pages,
snippets and layouts, what do you suggest ?

I’ve read an old post (http://www.ruby-forum.com/topic/73072#new)
speaking about
“… overriding Behavior::Base#render_page” and “create a page with the
particular behavior and then create a snippet that includes the page
…”

If I’m right, behaviors have been sobstituted by extensions (please,
correct me in case …)

Has anyone a suggestion ?
Thanks in advance
luca

Luca G. Soave wrote:

Hi all,

having to include some ERB widgets and navbars into Radiant pages,
snippets and layouts, what do you suggest ?

I’ve read an old post (http://www.ruby-forum.com/topic/73072#new)
speaking about
“… overriding Behavior::Base#render_page” and “create a page with the
particular behavior and then create a snippet that includes the page
…”

If I’m right, behaviors have been sobstituted by extensions (please,
correct me in case …)

Has anyone a suggestion ?
Thanks in advance
luca

I would like to know the answer to this too. The post referenced above
seemed pretty complex, what’s the simplest way to accomplish this or the
best workaround?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs