[Radiant] Page behavior tutorial

Chuck Craig ccraig13 at gmail.com
Fri Mar 28 21:29:04 CDT 2008


Thanks for the info Sean! Ok here's what I want to do. I'm building a  
website that will require searching the database for books  entered  
in the admin section. So far I followed the Link Roll tutorial, but  
used books instead, and was able to add books and display them on a  
page.

Now I want to create a search box(it will appear on all pages of the  
site) that will take the user to a page to that will simply display  
the results of the books found.

I'm currently working on another project that just uses rails and  
I've implemented searching through the use of a search model and  
controller that return the results. Would my task be done easier if I  
just added a similar model and controller to my current extension  
( The one for adding and displaying books )?

By the way, the example I've been viewing is the Search extension you  
created

-Chuck

On Mar 28, 2008, at 9:42 AM, Sean Cribbs wrote:

> Page behaviors have been deprecated.  However, the essential  
> concept of behaviors have been transferred to subclasses of Page.   
> I don't know of any good tutorials, but is there something specific  
> you want to do?  We could discuss how to accomplish that with Page  
> subclasses.
>
> Sean
>
> Charles Craig wrote:
>> Hi I just started using radiant and so far it's been great. The  
>> only problem I'm having is understanding page behaviors. I see  
>> lots of people saying how great they are but no tutorials on how  
>> to make your own. So my question is are there any good tutorials  
>> on page behaviors or am I better off just looking at the source  
>> code of others?
>>
>> -Chuck
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant at radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



More information about the Radiant mailing list