Is there a way to automate the nav such that it shows a list of every
page, or must you make a snippet and manually code all of the links?
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search:
Mohit Sindhwani wrote:
Little Known wrote:
Is there a way to automate the nav such that it shows a list of every
page, or must you make a snippet and manually code all of the links?
Like a site map? http://wiki.radiantcms.org/How_to_Make_a_Site_Map
Cheers,
Mohit.
11/17/2008 | 11:17
Little Known wrote:
Mohit Sindhwani wrote:
Little Known wrote:
Is there a way to automate the nav such that it shows a list of every
page, or must you make a snippet and manually code all of the links?
Like a site map? http://wiki.radiantcms.org/How_to_Make_a_Site_Map
Cheers,
Mohit
Mohit Sindhwani wrote:
Little Known wrote:
A trailing / is a good thing. Is your stylesheet referenced relative to
the page?
Cheers,
Mohit.
11/18/2008 | 12:52 AM.
I did the whole make a stylesheet page in radiant thing. perhaps I did
something wrong there?
--
Posted via http
Mohit Sindhwani wrote:
Little Known wrote:
Wow I can't believe I missed that on the wiki. This works great although
I am having one problem with it. The links that come out of sitemapper
are formatted like http://localhost/link/ with a trailing /
If its /link/ my stylesheet isn't showing
Ok, I have two extensions for my first radiant project.
Players
-
Name
Biography
Sports
-
Soccer
Football
Baseball
Hockey
In Players---edit.html.erb
I want to generate a checkbox for each Sport (to assign players to
multiple sports).
I have no idea how to do this, but I have
Sean Cribbs wrote:
Typically I'd do something like this inside the player editing form (in
Haml):
- Sport.all.each do |sport|
= check_box_tag 'player[sport_ids][]', sport.id,
player.sports.include?(sport), :id = player_sport_ids_#{sport.id}
%label{:for = player_sport_ids_#{sport.id}}=
I figured this out, thank you for the initial help.
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:
Could anyone provide some direction in adding something like this? I'm
guessing I would have to use the attachment_fu plugin but I'm not sure
how to integrate this with Radiant.
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:
Sean Cribbs wrote:
Little Known wrote:
Could anyone provide some direction in adding something like this? I'm
guessing I would have to use the attachment_fu plugin but I'm not sure
how to integrate this with Radiant.
I recently switched one of my non-Radiant projects from attachment_fu
tag 'kids:kid_sport_list' do |tag|
kid = tag.locals.kid
kid.sports.each do |sport|
%{#{sport.name})
end
end
For some reason this outputs a # for each sport in kid.sports instead
of the name... Would anyone know why?
--
Posted via http://www.ruby-forum.com/.
Jim Gay wrote:
On Feb 3, 2009, at 11:12 AM, Little Known wrote:
tag 'kids:kid_sport_list' do |tag|
kid = tag.locals.kid
kid.sports.each do |sport|
%{#{sport.name})
end
end
For some reason this outputs a # for each sport in kid.sports
instead
of the name... Would anyone
Thank you, very helpful!
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
13 matches
Mail list logo