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
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 th
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/.
_
Little Known wrote:
> ### player.rb #
> has_attached_file :photo,
> :styles => {
> :thumb=> "100x100#",
> :small => "150x150>",
> :medium => "300x300>",
> :large => "400x400>" }
If
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 swit
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: R
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: http://lists.radiantcms.org/mailman/listinfo/
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_#{s
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_#{s
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
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 you install the Reorder extension[1] then you can specify the order
> in
> which pages appear. If you took this approach, you would also have to
> change:
>
>
>
> to
>
>
>
> In the sitemap example[2].
>
> [1]: http://github.com/radiant/radiant-reorder-extension/tree/master
> [
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
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://
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
>
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: http://ra
16 matches
Mail list logo