# ERB into Radiant P-S-L is that possible

**URL:** <https://www.ruby-forum.com/t/erb-into-radiant-p-s-l-is-that-possible/146953>\
**Category:** Radiant CMS\
**Created:** [August 27, 2008, 1:45am UTC](https://www.ruby-forum.com/t/erb-into-radiant-p-s-l-is-that-possible/146953 "2008-08-27T01:45:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeanluca](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Post date:** [August 27, 2008, 1:45am UTC](https://www.ruby-forum.com/t/erb-into-radiant-p-s-l-is-that-possible/146953/1 "2008-08-27T01:45:42Z")

</div>

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 ([ERB in snippets or pages? - Radiant CMS - Ruby-Forum](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

---

<div class="post-metadata">

**Author:** ![jeanluca](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Post date:** [November 2, 2008, 5:29pm UTC](https://www.ruby-forum.com/t/erb-into-radiant-p-s-l-is-that-possible/146953/2 "2008-11-02T17:29:51Z")

</div>

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 ([ERB in snippets or pages? - Radiant CMS - Ruby-Forum](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?
