--------- and following code in home page-------
<div> <r:content part="central"/> <r:find url="/articles/">
<r:children:first order="desc" by="published_at"> <!--Display your entire
first post here--> </r:children:first> <r:children:each order="desc"
by="published_at" limit="4" offset="1"> <!--Display partial posts here (I
use a summary/excerpt page part) --> </r:children:each> </r:find> </div>
------------------------------------
*Still i am not able to see the post ? why .. what can be done?*
*as well as i have created stylesheet layout too to use with styles page in
root but even the styles are not in effect... i tried many things.. but
maybe i am missing something core....*
*plsss help me asap.*
*Thanks community.*
*
*
_______________________________________________
Radiant mailing list
Post: Rad...@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
You are wrapping your title and content with snippet tags.
<r:snippet name="header"><h1><r:title/></h1> <r:content/> </r:snippet>
Whether you intended that or not, hat's not how snippets work. Snippets
are self-contained blocks of content, defined in the snippets area of
the admin. The snippet tags are not used to define areas of a page on
the fly.
If you wanted to set up the same page header for every page you could
make a snippet called "header" with this inside it:
<h1><r:title /></h1>
<h3><r:content part="subhead" /></h3>
Then you could place this in your layout like so:
<body>
<r:snippet name="header" />
<r:content />
<r:content part="extended" />
</body>
I hope this clears some things up for you.
~Nate
i see your posts. could you be more clear about what the issue is?
> *as well as i have created stylesheet layout too to use with styles page in
> root but even the styles are not in effect... i tried many things.. but
> maybe i am missing something core....*
your style sheets page is called "styles" but in your layout you have:
<link rel="stylesheet" href="/stylesheet" media="all" title="Default"
charset="utf-8"/>
which should be:
<link rel="stylesheet" href="/styles" media="all" title="Default"
charset="utf-8"/>
actually that is a perfectly valid way for snippets to work. for example:
page: <r:snippet name='title'><r:title/></r:snippet>
snippet: <h1><r:yield/></h1>
Is it really? I had no idea. Not quite sure about how to best make use
of that new information. I'll have to percolate on that a while.
~Nate
Cheers,
Mohit.
10/12/2009 | 12:35 AM.