[Radiant] Automating navigation?

2008-11-17 Thread Little Known
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:

[Radiant] Re: Automating navigation?

2008-11-17 Thread Little Known
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

[Radiant] Re: Automating navigation?

2008-11-17 Thread Little Known
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

[Radiant] Re: Re: Automating navigation?

2008-11-17 Thread Little Known
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

[Radiant] Re: Re: Automating navigation?

2008-11-17 Thread Little Known
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

[Radiant] Extension - multiple checkboxes

2009-01-22 Thread Little Known
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

[Radiant] Re: Extension - multiple checkboxes

2009-01-22 Thread Little Known
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}}=

[Radiant] Re: Extension - multiple checkboxes

2009-01-23 Thread Little Known
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:

[Radiant] Adding image uploads to custom extension

2009-01-23 Thread Little Known
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:

[Radiant] Re: Adding image uploads to custom extension

2009-01-23 Thread Little Known
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

[Radiant] Custom Radiant Tags

2009-02-03 Thread Little Known
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/.

[Radiant] Re: Custom Radiant Tags

2009-02-03 Thread Little Known
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

[Radiant] Re: Re: Custom Radiant Tags

2009-02-03 Thread Little Known
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