Thanks Sean - Will update my code and see if it works. I'm currently running version 0.5.2 of Radiant CMS - is this an update in the latest edition? If so, how do I go about upgrading to the latest version?? I have read the documentation here - http://wiki.radiantcms.org/How_to_Upgrade_05x_to_06 but to be honest it is a little confusing for me... I use a programme called Putty for SSH access to my hosting account with A Small Orange. Any help would be greatly appreciated! Oliver
> From: [EMAIL PROTECTED]> Subject: Radiant Digest, Vol 20, Issue 46> To: > [email protected]> Date: Wed, 28 Nov 2007 12:00:31 +0000> > Send > Radiant mailing list submissions to> [email protected]> > To > subscribe or unsubscribe via the World Wide Web, visit> > http://lists.radiantcms.org/mailman/listinfo/radiant> or, via email, send a > message with subject or body 'help' to> [EMAIL PROTECTED]> > You can reach > the person managing the list at> [EMAIL PROTECTED]> > When replying, please > edit your Subject line so it is more specific> than "Re: Contents of Radiant > digest..."> > > Today's Topics:> > 1. Re: Multi-language pages with radiant? > (Loren Johnson)> 2. Problem with date on Mailer Behaviour (Oliver Coningham)> > 3. Re: Problem with date on Mailer Behaviour (Sean Cribbs)> 4. Re: > Multi-language pages with radiant? (Loren Johnson)> 5. Re: Multi-language > pages with radiant? (Mohit Sindhwani)> 6. Using regex and <r:find url.... > (Travis Bell)> 7. Re: Using regex and <r:find url.... (Daniel Sheppard)> > > > ----------------------------------------------------------------------> > > Message: 1> Date: Tue, 27 Nov 2007 06:25:15 -0700> From: Loren Johnson > <[EMAIL PROTECTED]>> Subject: Re: [Radiant] Multi-language pages with > radiant?> To: [email protected]> Message-ID: <[EMAIL PROTECTED]>> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes> > > > Tonu,> > If there is an "official" Radiant approach it is as you detailed, > with > a separate root for each language using the Language Redirect > > extension which is available here on the "ThirdPartyExtensions" wiki > page: > http://wiki.radiantcms.org/Thirdparty_Extensions> > I have not tested it > against any recent builds of Radiant, so I will > assume for now it's up to > date and working.> > In addition to this option I wrote a "Language Switch" > extension > recently for a client and they allowed me to share. While for > most > cases I am a fan of the multiple roots approach, in this case they > > really wanted to have a conditional tag to switch out parts of a page > or > layout to another language without having to manage two separate > sites. > It's not a particularly refined extension and it turns-off > caching for all > pages, but at least there is a bit of documentation in > the README file :) : > http://svn.fn-group.com/radiant_extensions/language_switch> > Finally, take a > look at the mailing list archive for another recent > discussion of this > topic:> > > http://lists.radiantcms.org/pipermail/radiant/2007-September/thread.html#6356> > > Good luck!> > Loren> www.hellovenado.com> > > On Nov 27, 2007, at 2:20 AM, > T?nu Runnel wrote:> > > Hi> >> > I didn't find an answer to my question > through Google, maybe I didn't> > know how to look. Anyway -- how do you make > a multi-language website> > with radiant?> >> > Is it so that you make your > site structure under Radiant's "PAGES"-tab> > like this:> >> > Home > (redirects)> > en (home)> > Services> > People> > Contacts> > de (home)> > > Dienste> > Leute> > Kontakte> >> > ... or is there a better practice? And if > there isn't, how do you> > redirect? Is there an "official" Radiant solution > or I need the > > language> > redirect extension?> >> > Thanks!> > T?nu> > > _______________________________________________> > Radiant mailing list> > > Post: [email protected]> > Search: > http://radiantcms.org/mailing-list/search/> > Site: > http://lists.radiantcms.org/mailman/listinfo/radiant> > > > > ------------------------------> > Message: 2> Date: Tue, 27 Nov 2007 14:23:30 > +0000> From: Oliver Coningham <[EMAIL PROTECTED]>> Subject: [Radiant] Problem > with date on Mailer Behaviour> To: <[email protected]>> > Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; > charset="iso-8859-1"> > Hello all -> > On my website - > http://www.spongenewmedia.co.uk/ - I have created a form that uses> the > mailer behaviour. It is only basic and captures name, message, email address > etc.> > The code for my email message is as follows:> > Hello!> <r:mailer:get > name="name"/> has sent you a message on <r:date format="%A, %B %d, %Y" /> > from the web site!> Sent: <r:date format="%A, %B %d, %Y" />> Name: > <r:mailer:get name="name"/>> Email: <r:mailer:get name="email"/>> Message: > <r:mailer:get name="message"/>> > The problem with it is that the date seems > to be stuck at May 7th 2007 whenever I get a new> message. > > Can anyone > help me? I want the date to be the date that the message was actually sent.> > > Many thanks in advance,> > Oliver Coningham> > _________________________________________________________________> The next > generation of MSN Hotmail has arrived - Windows Live Hotmail> > http://www.newhotmail.co.uk> > ------------------------------> > Message: 3> > Date: Tue, 27 Nov 2007 08:34:00 -0600> From: Sean Cribbs <[EMAIL PROTECTED]>> > Subject: Re: [Radiant] Problem with date on Mailer Behaviour> To: > [email protected]> Message-ID: <[EMAIL PROTECTED]>> Content-Type: > text/plain; charset=ISO-8859-1; format=flowed> > Oliver,> > <r:date /> refers > to the published date of the page by default. Use > <r:date for="now" /> > instead.> > Sean> > Oliver Coningham wrote:> > Hello all -> > > > On my > website - http://www.spongenewmedia.co.uk/ - I have created a form that uses> > > the mailer behaviour. It is only basic and captures name, message, email > address etc.> > > > The code for my email message is as follows:> > > > > Hello!> > <r:mailer:get name="name"/> has sent you a message on <r:date > format="%A, %B %d, %Y" /> from the web site!> > Sent: <r:date format="%A, %B > %d, %Y" />> > Name: <r:mailer:get name="name"/>> > Email: <r:mailer:get > name="email"/>> > Message: <r:mailer:get name="message"/>> > > > The problem > with it is that the date seems to be stuck at May 7th 2007 whenever I get a > new> > message. > > > > Can anyone help me? I want the date to be the date > that the message was actually sent.> > > > Many thanks in advance,> > > > > Oliver Coningham> > > _________________________________________________________________> > The next > generation of MSN Hotmail has arrived - Windows Live Hotmail> > > http://www.newhotmail.co.uk> > > _______________________________________________> > Radiant mailing list> > > Post: [email protected]> > Search: > http://radiantcms.org/mailing-list/search/> > Site: > http://lists.radiantcms.org/mailman/listinfo/radiant> >> > > > > > > ------------------------------> > Message: 4> Date: Tue, 27 Nov 2007 07:57:14 > -0700> From: Loren Johnson <[EMAIL PROTECTED]>> Subject: Re: [Radiant] > Multi-language pages with radiant?> To: [email protected]> > Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; > charset=ISO-8859-1; format=flowed; delsp=yes> > > Tonu,> > If there is an > "official" Radiant approach it is as you detailed, with > a separate root for > each language using the Language Redirect > extension which is available here > on the "ThirdPartyExtensions" wiki > page: > http://wiki.radiantcms.org/Thirdparty_Extensions> > I have not tested it > against any recent builds of Radiant, so I will > assume for now it's up to > date and working.> > In addition to this option I wrote a "Language Switch" > extension > recently for a client and they allowed me to share. While for > most > cases I am a fan of the multiple roots approach, in this case they > > really wanted to have a conditional tag to switch out parts of a page > or > layout to another language without having to manage two separate > sites. > It's not a particularly refined extension and it turns-off > caching for all > pages, but at least there is a bit of documentation in > the README file :) : > http://svn.fn-group.com/radiant_extensions/language_switch> > Finally, take a > look at the mailing list archive for another recent > discussion of this > topic:> > > http://lists.radiantcms.org/pipermail/radiant/2007-September/thread.html#6356> > > Good luck!> > Loren> www.hellovenado.com> > > On Nov 27, 2007, at 2:20 AM, > T?nu Runnel wrote:> > > Hi> >> > I didn't find an answer to my question > through Google, maybe I didn't> > know how to look. Anyway -- how do you make > a multi-language website> > with radiant?> >> > Is it so that you make your > site structure under Radiant's "PAGES"-tab> > like this:> >> > Home > (redirects)> > en (home)> > Services> > People> > Contacts> > de (home)> > > Dienste> > Leute> > Kontakte> >> > ... or is there a better practice? And if > there isn't, how do you> > redirect? Is there an "official" Radiant solution > or I need the > > language> > redirect extension?> >> > Thanks!> > T?nu> > > _______________________________________________> > Radiant mailing list> > > Post: [email protected]> > Search: > http://radiantcms.org/mailing-list/search/> > Site: > http://lists.radiantcms.org/mailman/listinfo/radiant> > > > > ------------------------------> > Message: 5> Date: Wed, 28 Nov 2007 00:38:37 > +0800> From: Mohit Sindhwani <[EMAIL PROTECTED]>> Subject: Re: [Radiant] > Multi-language pages with radiant?> To: [email protected]> > Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; > charset=ISO-8859-1; format=flowed> > T?nu Runnel wrote:> > Hi> >> > I didn't > find an answer to my question through Google, maybe I didn't > > know how to > look. Anyway -- how do you make a multi-language website > > with radiant?> > >> > Is it so that you make your site structure under Radiant's "PAGES"-tab > > > like this:> >> > Home (redirects)> > en (home)> > Services> > People> > > Contacts> > de (home)> > Dienste> > Leute> > Kontakte> >> > ... or is there a > better practice? And if there isn't, how do you > > redirect? Is there an > "official" Radiant solution or I need the language > > redirect extension?> > >> > Thanks!> > T?nu> I think there is no "official" solution. I think the > language redirect > extension works like you say. In addition, I wrote a > simple extension > that works well enough for me.> > If you take a look at > http://t-engine.onghu.com/cn/ you will see that it > draws a language bar > with links to the articles that exist. It's a bit > fragile but it works. It > also relies on convention, but it works (for > me). I mentioned the idea and > the solution somewhat in this thread. > Let me know if it interests you.> > > [1] The first concept - > > http://lists.radiantcms.org/pipermail/radiant/2007-September/006364.html> [2] > The details - > > http://lists.radiantcms.org/pipermail/radiant/2007-October/006881.html> > > Unlike Loren's solution, mine doesn't disable caching, but it is more > > difficult if you have multiple page parts that are common to each of the > > pages. Mine works quite well if you you want to assume that each > > translation is completely independent.> > Cheers> Mohit.> > > > > > > ------------------------------> > Message: 6> Date: Tue, 27 Nov 2007 16:43:40 > -0700> From: Travis Bell <[EMAIL PROTECTED]>> Subject: [Radiant] Using regex > and <r:find url....> To: [email protected]> Message-ID: <[EMAIL > PROTECTED]>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; > format=flowed> > Hey guys,> > It doesn't seem possible to use regex with the > <r:find url=""> tag.> > What I am trying to do is recursively find the > children of a child. > Ie...> > /projects> /current> -- /project-4> -- > /project-3> > /past> -- /project-2> -- /project-1> > So, in my example, > return....> > <li>project 4</li>> <li>project 3</li>> <li>project 2</li>> > <li>project 1</li>> > Does what I am trying to do make sense? Is there any > way I can do > what I want to do dynamically with some tags?> > Cheers,> > > --> Travis Bell> Not sent from my iPhone.> > > > > > > > > ------------------------------> > Message: 7> Date: Wed, 28 Nov 2007 14:05:35 > +1100> From: "Daniel Sheppard" <[EMAIL PROTECTED]>> Subject: Re: [Radiant] > Using regex and <r:find url....> To: <[email protected]>> > Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; > charset="us-ascii"> > > It doesn't seem possible to use regex with the > <r:find url=""> tag.> > Using regex isn't a good fit with the database model > - the url is a > calculated field - doing lookups on it is expensive.> > > > What I am trying to do is recursively find the children of a child. > > > Ie...> > Have a look at the aggregation extension - it doesn't do it > recursively, > but it groups together the children of different urls.> > I > don't think there's anything for doing full recursion of a page's > children > currently - you'll need to write an extension yourself for that.> > Dan.> > > > > ------------------------------> > > _______________________________________________> Radiant mailing list> Post: > [email protected]> Search: > http://radiantcms.org/mailing-list/search/> Site: > http://lists.radiantcms.org/mailman/listinfo/radiant> > End of Radiant > Digest, Vol 20, Issue 46> *************************************** _________________________________________________________________ Celeb spotting – Play CelebMashup and win cool prizes https://www.celebmashup.com _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
