[Radiant] need a to tweak a page based on server name

2010-02-08 Thread Laurent Julliard
Hello, We have a single radiant site that is being accessed from two distinct domain name (e.g www.domain1.com and www.domain2.com). In a few places we need to customize the content of the page depending on the server name that is invoked to access the site. I have looked into various filters,

Re: [Radiant] Console question on Radiant

2010-02-08 Thread Sean Cribbs
Anton, You were close. 'a' will be an array of PagePart instances. Try: a.map(&:page).uniq There's a way to do this query in the database but my brain is way outside SQL lately, so maybe someone on the mailing list can help. Sean On 2/8/10 9:13 PM, Anton Aylward wrote: > I'm not a programmer