Arpit Jain wrote:
> Maged Makled wrote:
>> arpit jain wrote:
>>> I need to integrate radiant in our existing rails application.
>>> We have our own authentication system for our site.
>>> I have searched and found some solutions but not upto the mark.
>>> I have followed the link
>>>          http://wiki.radiantcms.org/Installation
>>> but it only tells to set up a new application.
>>> Can anybody tell me how should i proceed to achieve this.
>>> Thanks in advance..
>>> 
>>> Arpit
>>> 
>>> _________________________________________________________________
>>> Windows Live Spaces is here! It�s easy to create your own personal Web 
>>> site.
>>> http://spaces.live.com/?mkt=en-in
>> 
>> Check out
>> http://www.ruby-forum.com/topic/131353#new
>> 
>> Thanks
>> 
>> Maged
> 
> Hi Maged.
> 
> Thanks for the reply.
> I have a doubt and will really appreciate if u reply.
> I have read about radius but little bit confused as how it is used in 
> radiant or independently.What would be the difference if i use 
> mini_radiant plugin?
> Shall i use this plugin??
> 
> Thanks
> Arpit

Hi Arpit,
         radius is the tag language that is used inside radiant cms. for 
example in one of your pages you could have a line  <r:snippet 
name="footer" /> which will include a snippet named "footer". Here is an 
example from a layout that comes with radiant:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html>
  <head>
    <title><r:title /></title>
    <link href="/rss/" rel="alternate" title="RSS" 
type="application/rss+xml" />
    <link rel="stylesheet" type="text/css" href="/styles.css" />
  </head>
  <body>
    <div id="page">
      <r:snippet name="header" />
      <div id="main">
        <div id="content-wrapper">
          <div id="content">
            <r:unless_url matches="^/$"><h1><r:title 
/></h1></r:unless_url>
            <r:content />
            <r:if_content part="extended">
            <div id="extended">
              <r:content part="extended" />
            </div>
            </r:if_content>
            <r:if_url 
matches="^/articles/\d{4}/\d{2}/\d{2}/.+"><r:unless_url 
matches="-archives/$"><p class="info">Posted by <r:author /> on <r:date 
/></p></r:unless_url></r:if_url>
          </div>
        </div>
        <div id="sidebar-wrapper">
          <div id="sidebar">
            <r:content part="sidebar" inherit="true" />
          </div>
        </div>
      </div>
      <r:snippet name="footer" />
    </div>
  </body>
</html>

*******************************
and that another example for a home page
<r:find url="/articles/">

<r:children:each limit="1" order="desc">
<div class="first entry">
  <h3><r:link /></h3>
  <r:content />
  <r:if_content part="extended"><r:link anchor="extended">Continue 
Reading&#8230;</r:link></r:if_content>
  <p class="info">Posted by <r:author /> on <r:date format="%b %d, %Y" 
/></p>
</div>
</r:children:each>

<r:children:each limit="4" offset="1" order="desc">
<div class="entry">
  <h3><r:link /></h3>
  <r:content />
  <r:if_content part="extended"><r:link anchor="extended">Continue 
Reading&#8230;</r:link></r:if_content>
  <p class="info">Posted by <r:author /> on <r:date format="%b %d, %Y" 
/></p>
</div>
</r:children:each>

</r:find>

****************************
when you actually try to add a new page under radiant there is a link 
there for available tags.
Documentation for radius tags inside of radiant can be found in
http://radiantcms.org/blog/archives/2006/05/11/tag-primer/
http://radiantcms.org/blog/archives/2006/06/15/tag-primer-2/
http://wiki.radiantcms.org/Using_Radiant


for the mini_radiant plugin, I have never used it before and don't have 
much knowledge about it sorry. but make sure you search this forum it 
has been great help for me.

Thanks

Maged

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
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