[Radiant] Date tag oddness

2007-03-21 Thread Walter Lee Davis
I cannot for the life of me figure out what drives the decision of WHICH year this tag means: I have tried updating the content in the footer snippet, the Home page, etc. New pages get the correct year, but old pages get whatever year they were created in, it seems. Is there a tag I can use

Re: [Radiant] Date tag oddness

2007-03-21 Thread Walter Lee Davis
On Mar 21, 2007, at 1:34 PM, John W. Long wrote: > Walter Lee Davis wrote: >> I cannot for the life of me figure out what drives the decision of >> WHICH year this tag means: >> >> > > It's the published_at date. > So how can I bump this date? Do I unpu

Re: [Radiant] Date tag oddness

2007-03-21 Thread Walter Lee Davis
Thanks. On Mar 21, 2007, at 3:22 PM, John W. Long wrote: > Walter Lee Davis wrote: >> On Mar 21, 2007, at 1:34 PM, John W. Long wrote: >> >>> Walter Lee Davis wrote: >>>> I cannot for the life of me figure out what drives the decision of >>>> WH

[Radiant] Gem vs Source

2007-03-26 Thread Walter Lee Davis
I wanted to try out the newest Radiant, so I used gem, as prompted on the rc2 page of the blog. When I run the radiant -d command, as noted in step 3, I get a bastard rails directory, without app or lib or any of the places where code can be written. How do I go about getting the entire set of

Re: [Radiant] Gem vs Source

2007-03-26 Thread Walter Lee Davis
On Mar 26, 2007, at 9:24 PM, John W. Long wrote: > Walter Lee Davis wrote: >> I wanted to try out the newest Radiant, so I used gem, as prompted on >> the rc2 page of the blog. When I run the radiant -d command, as noted >> in step 3, I get a bastard rails directory, with

Re: [Radiant] Gem vs Source

2007-03-26 Thread Walter Lee Davis
On Mar 26, 2007, at 9:27 PM, Walter Lee Davis wrote: > > On Mar 26, 2007, at 9:24 PM, John W. Long wrote: > >> Walter Lee Davis wrote: >>> I wanted to try out the newest Radiant, so I used gem, as prompted on >>> the rc2 page of the blog. When I run the radiant -

Re: [Radiant] Gem vs Source

2007-03-26 Thread Walter Lee Davis
On Mar 26, 2007, at 9:31 PM, Walter Lee Davis wrote: > > On Mar 26, 2007, at 9:27 PM, Walter Lee Davis wrote: > >> >> On Mar 26, 2007, at 9:24 PM, John W. Long wrote: >> >>> Walter Lee Davis wrote: >>>> I wanted to try out the newest Radiant, so I

Re: [Radiant] Date tag oddness

2007-03-27 Thread Walter Lee Davis
On Mar 21, 2007, at 1:39 PM, Gabriel Lamounier wrote: > There was a past conversation where some of us agreed that it would be > good if the tag accepted another parameter besides "format" > to indicate which date to show (published_at, created_at or > updated_at). > > I think it's a good idea t

[Radiant] Extensions registry somewhere?

2007-03-27 Thread Walter Lee Davis
Is there a list somewhere of various Mental extensions? I found a few referenced in the blog, but I am hoping there is a Wiki page somewhere that is added to by the contributors as they are made. Thanks in advance, Walter ___ Radiant mailing list Pos

Re: [Radiant] Extensions registry somewhere?

2007-03-27 Thread Walter Lee Davis
On Mar 27, 2007, at 3:10 PM, Jim Gay wrote: > On Mar 27, 2007, at 14:57, John W. Long wrote: >> Walter Lee Davis wrote: >>> Is there a list somewhere of various Mental extensions? I found a few >>> referenced in the blog, but I am hoping there is a Wiki page >>&g

[Radiant] Validating Mailer Extension

2007-03-27 Thread Walter Lee Davis
I had a tour through the code that makes Mailer work, and can't for the life of me see how you could define a server-side validation of any of the input. The template is rendered. If there is POST data for a tag in the template, that field is filled. If there isn't, oh well. I imagine that a Ja

Re: [Radiant] Validating Mailer Extension

2007-03-27 Thread Walter Lee Davis
* Validate recipient emails addresses -- at least the format > * Better Error handling > > Good luck, > Colin > > On Mar 27, 2007, at 3:48 PM, Walter Lee Davis wrote: > >> I had a tour through the code that makes Mailer work, and can't for >> the >> life of me se

[Radiant] General Question

2007-03-28 Thread Walter Lee Davis
I posted a question yesterday about the Mailer extension, and it occurs to me that it might have come off too "needy". I am just starting with Rails and Ruby, and stumbled across Radiant, which can already do about 80% of what I need "out of the box". Could someone tell me, in general terms, if

Re: [Radiant] General Question

2007-03-28 Thread Walter Lee Davis
On Mar 28, 2007, at 10:32 AM, John W. Long wrote: > It checks for a post and if it's a post it processes the request. If > there are no errors it sets success to true and the part in the > tags renders Exactly what I was trying to do with Mailer. I see, I will need to get my nails dirty and w

[Radiant] Page Types -- one per page

2007-03-28 Thread Walter Lee Davis
I have been fooling around with the various extensions for Mental, and think they are an amazingly simple way to work. But there's a problem with that simplicity. I tried out the Search extension, works great, lots of tags to use, etc. I made a Search page, everything works pretty well (it foun

Re: [Radiant] Page Types -- one per page

2007-03-28 Thread Walter Lee Davis
Thanks, this is a very neat solution. Walter On Mar 28, 2007, at 7:31 PM, John W. Long wrote: > Assign the Search page type to your search results page. Then, to use > it > on other pages, just use normal *HTML* form tags: > > > > Search: > > > >

Re: [Radiant] Page Types -- one per page

2007-03-29 Thread Walter Lee Davis
So if I wanted to roll this up in a tag, say call it search:globalinput, how would I go about doing this? Is there a simple way to just roll up a bunch of literal HTML into a tag? And having done so, how would I register it as being completely global, such that I could use it in the header or f

Re: [Radiant] Page Types -- one per page

2007-03-29 Thread Walter Lee Davis
On Mar 29, 2007, at 11:48 AM, Sean Cribbs wrote: > Page.class_eval { include SearchTags } Cool! So I do this, and suddenly any Page can be a Search page? This is so amazing -- like OO can suddenly flow uphill! Walter ___ Radiant mailing list Post:

Re: [Radiant] Radiant Configuration using Apache/Mongrel/MySql

2007-03-30 Thread Walter Lee Davis
On Mar 30, 2007, at 12:23 AM, Benjamin Minton wrote: > - unpack ... got exactly the same errors as Walter Davis did > previously (23 march i think). Also the unpack required Rake, which I > thought would have been included by default. Quick gem install rake > fixed that. > Glad to hear some co

Re: [Radiant] Radiant Configuration using Apache/Mongrel/MySql

2007-03-30 Thread Walter Lee Davis
:19 AM, Ollivier Robert wrote: > On 3/30/07, Walter Lee Davis <[EMAIL PROTECTED]> wrote: >> so I switched to svn/Mental for my exploratory hacking. Which works >> fine, and I imagine I will be working from source until I wrap my head >> around how to use a gem. > &

Re: [Radiant] Configuration of Radiant Mental with MySql & Litespeed ver 3.0

2007-03-31 Thread Walter Lee Davis
On Mar 31, 2007, at 3:42 AM, Benjamin Minton wrote: > > Following Sean's instructions for Radiant Mental using Subversion, I > was able to get a working Radiant server that served the > http://my.ip.address:3000/admin/login page yet I am unable to login. > Unfortunately reviewing the process, i

Re: [Radiant] Configuration of Radiant Mental with MySql & Litespeed ver 3.0

2007-03-31 Thread Walter Lee Davis
hnić wrote: > On 3/31/07, Walter Lee Davis <[EMAIL PROTECTED]> wrote: >> >> rake production db:bootstrap > Thanks, Walter - I never knew you could write it that way. I always > used RAILS_ENV to specify the environment :-/ > _

Re: [Radiant] Extension problems: create model and rake db:migrate

2007-04-03 Thread Walter Lee Davis
On Apr 3, 2007, at 11:30 AM, Sean Cribbs wrote: > That said, it sounds like either 1) you have installed Radiant from > the gem without unpacking or 2) something else is messed up with the > paths/configuration/etc. > I have had extreme problems getting this to work. I installed 0.6 as a gem,

Re: [Radiant] New Date Tag

2007-04-09 Thread Walter Lee Davis
Is 'type' already used for something else? Walter On Apr 9, 2007, at 4:24 PM, Sean Cribbs wrote: > select?  I'm up for suggestions. > > Sean > > John W. Long wrote:Sean Cribbs wrote: >> >>> How about this: >>> >>> tag 'date' do |tag| >>> page = tag.locals.page >>> format = (tag.attr['form

Re: [Radiant] Radiant 0.6 Lapidary

2007-04-27 Thread Walter Lee Davis
When you catch a breath, could you please add a page to the Wiki about this? You may recall that I wrote a number of times about my problems with the release candidates and adding extensions, and how I found that the easiest path for me was to svn mental, because otherwise none of the other exa

Re: [Radiant] Mailer extension causes problems

2007-05-08 Thread Walter Lee Davis
What version of Radiant are you using? Sean just posted today that he hasn't updated Mailer to the new version yet. Walter On May 8, 2007, at 1:18 PM, Artur Baldyga wrote: > I've followed with tutorial from: > > http://dev.radiantcms.org/radiant/wiki/HowToUseMailerExtension > > When I send the

Re: [Radiant] iFrame links

2007-05-29 Thread Walter Lee Davis
Basically, it sounds to me as if you are trying to load a page which contains an iFrame, and then programmatically direct that iFrame to load a different source than its default. If I were doing it in PHP (sorry) I would script the iFrame to load a sanitized version of a querystring variable. M