Re: [Radiant] page_attachment error

2009-11-05 Thread Nate Turnage
On Thu, Nov 5, 2009 at 1:47 PM, Jeff Randall jrand...@iaak.net wrote:

 I am running Rails 2.3.4, Radiant 0.8.1 on Ubuntu 8.0.4


Did you run the update after the migration?

Oh and be sure you checked out the proper branch or tag for 0.8.1.  I think
master is set up for 0.9.


~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] page_attachment error

2009-11-05 Thread john muhl
does this help? http://groups.google.com/group/radiantcms/msg/aedda395081a30c9

On Thu, Nov 5, 2009 at 1:47 PM, Jeff Randall jrand...@iaak.net wrote:
 I am running Rails 2.3.4, Radiant 0.8.1 on Ubuntu 8.0.4



 It seems the installation of page _attachments is successful per
 http://wiki.github.com/radiant/radiant/page-attachments-extension .  In
 the admin I can see Attachments area when I am working with a page but
 nothing happens when I click the + icon.  Firebug is telling there is an
 error with the JS.



 Event.addBehavior is not a function

 '#attachments:click': function(event) {\n



 Any ideas?

 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] Mailer not working with 0.8.1 passenger in production mode

2009-11-05 Thread Nate Turnage
I am having problems with the Aissac branch of the mailer extension, 0.8.1
branch, running with passenger on my production server. On my development
machine it works perfectly well (redirects to thank you page), but on the
production server it doesn't redirect. The database is exactly the same for
both environments. This is the output for each process:

Production:

Processing SiteController#show_page (for 127.0.0.1 at 2009-11-05 15:49:58)
[POST]
  Parameters: {x=104, y=23, url=[contact],
action=show_page, mailer={name=test, employment=true,
moreinfo=true, internship=true, organization=testing,
message=taoiklj l;kj ;lkj ;lkj ;lkj ;lkj , email=
pixeln...@gmail.com}, controller=site}
Sent mail to nturn...@andadv.com, kgres...@andadv.com
Completed in 6407ms (DB: 7) | 200 [http://localhost/contact/]


Development:

Processing SiteController#show_page (for 127.0.0.1 at 2009-11-05 15:51:50)
[POST]
  Parameters: {x=92, y=29, url=[contact],
action=show_page, mailer={name=test, employment=true,
moreinfo=true, internship=true, organization=testing,
message=taoiklj l;kj ;lkj ;lkj ;lkj ;lkj , email=
pixeln...@gmail.com}, controller=site}


I don't know where to start to troubleshoot this. Any pointers?



~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Mailer not working with 0.8.1 passenger in production mode

2009-11-05 Thread Steven Southard
I can be there at 1pm.  Is that okay with you?




On Nov 5, 2009, at 4:04 PM, Nate Turnage wrote:

 I am having problems with the Aissac branch of the mailer extension,  
 0.8.1
 branch, running with passenger on my production server. On my  
 development
 machine it works perfectly well (redirects to thank you page), but  
 on the
 production server it doesn't redirect. The database is exactly the  
 same for
 both environments. This is the output for each process:

 Production:

 Processing SiteController#show_page (for 127.0.0.1 at 2009-11-05  
 15:49:58)
 [POST]
  Parameters: {x=104, y=23, url=[contact],
 action=show_page, mailer={name=test,  
 employment=true,
 moreinfo=true, internship=true, organization=testing,
 message=taoiklj l;kj ;lkj ;lkj ;lkj ;lkj , email=
 pixeln...@gmail.com}, controller=site}
 Sent mail to nturn...@andadv.com, kgres...@andadv.com
 Completed in 6407ms (DB: 7) | 200 [http://localhost/contact/]


 Development:

 Processing SiteController#show_page (for 127.0.0.1 at 2009-11-05  
 15:51:50)
 [POST]
  Parameters: {x=92, y=29, url=[contact],
 action=show_page, mailer={name=test,  
 employment=true,
 moreinfo=true, internship=true, organization=testing,
 message=taoiklj l;kj ;lkj ;lkj ;lkj ;lkj , email=
 pixeln...@gmail.com}, controller=site}


 I don't know where to start to troubleshoot this. Any pointers?



 ~Nate
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] iterating over children of children in order of creation

2009-11-05 Thread Joe Van Dyk
Hello,

I've got the following structure:

/publications
/publications/boats/page1
/publications/boats/page2
/publications/boats/page3
/publications/cars/page1
/publications/cars/page2
etc

I want to make a RSS feed that lists the most recent pages from the
publications directory.

when I do something like:

r:find /publications /
r:children:each by=created_at order=desc limit=20
...
/r:children:each

It seems to order the pages by whenever the top-level boats and cars
pages themselves were updated, not by the most recent updated children
of the cars and boats pages.

Again, if /publications/cars/page5 was added, I'd want that to be at
the top of the rss feed.

Ideas on how to do that?



-- 
Joe Van Dyk
http://fixieconsulting.com
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] iterating over children of children in order of creation

2009-11-05 Thread john muhl
take a look at the aggregation extension:
http://github.com/radiant/radiant-aggregation-extension

On Thu, Nov 5, 2009 at 7:45 PM, Joe Van Dyk j...@pinkpucker.net wrote:
 Hello,

 I've got the following structure:

 /publications
 /publications/boats/page1
 /publications/boats/page2
 /publications/boats/page3
 /publications/cars/page1
 /publications/cars/page2
 etc

 I want to make a RSS feed that lists the most recent pages from the
 publications directory.

 when I do something like:

 r:find /publications /
 r:children:each by=created_at order=desc limit=20
 ...
 /r:children:each

 It seems to order the pages by whenever the top-level boats and cars
 pages themselves were updated, not by the most recent updated children
 of the cars and boats pages.

 Again, if /publications/cars/page5 was added, I'd want that to be at
 the top of the rss feed.

 Ideas on how to do that?



 --
 Joe Van Dyk
 http://fixieconsulting.com
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant