[Radiant] Can't see pages - after page_edit_dates install

2007-12-27 Thread Johan Bichel Lindegaard
I was installing http://mat.cc/dev/index.cgi/page_edit_dates/ - an extension
that should let me modify my published dates. Well it didn't instead i can't
see any of my pages from my admin interface. I simply appears as if no pages
exists. If i visit the page from http the content still exists but i can't
edit it from the cms.

I tryed removing the page_edit_dates extension again but it didn't solve the
problem.

The extension never showed up on the extension page.
Any ideas to what i can do to make my site work again. And any ideas to how
i will get the functionality of page_edit_dates without ruining my site are
much appreciated!




-- 
Kind Regards

Mr. Bichel
Johan Bichel Lindegaard
CEO www.accidentdesigns.com

IM(Second Life): Sophie Zhu
SkypeMe: mr.bichel
Phone: +45 23 60 04 62

Denmark
2100 Copenhagen East
Vangehusvej 19
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] limiting children from r:aggregate

2007-12-27 Thread Jim Gay
I need this functionality, so I'm going to jump on it, but I'd love a  
helping hand. Can you make any suggestions about how you might  
approach this. I'm still a ruby nuby, and trying to become more  
familiar with Radiant as time goes on...

Also, does anyone have any preference about how this should be  
implemented?

I had thought that this would be the default, so I personally would  
want to see the tag change to operate this way. Are there any current  
users of the r:aggregate tag that would not want this to be the default?

I'm thinking of doing something like separate=true for the current  
behavior. Or on the other side, I could do merge=true to change to  
what I intend to do.

-Jim

On Dec 19, 2007, at 4:07 PM, Sean Cribbs wrote:

 r:aggregate is not able to do this currently, but I'd appreciate a
 well-tested patch (hint, hint).

 Sean

 Jim Gay wrote:
 I'm trying to aggregate several pages and then limit their children.

 r:aggregate ... for 10 urls
  r:children limit=1 
  r:children limit=3 offset=1 ...

 What I want is to display 1 + 3 children. What I'm getting is 1 + 20.

 I think that what is happening is that the offset is applying to each
 url, and not being applied to the aggregated results. Is the  
 aggregate
 tag able to do this?

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


Re: [Radiant] Can't see pages - after page_edit_dates install

2007-12-27 Thread Erik van Oosten
Hi Johan,

 The extension never showed up on the extension page.

In my experience extensions only show up (and start to work) after a
restart.

Regards,
Erik.


Johan Bichel Lindegaard wrote:
 I was installing http://mat.cc/dev/index.cgi/page_edit_dates/ - an extension
 that should let me modify my published dates. Well it didn't instead i can't
 see any of my pages from my admin interface. I simply appears as if no pages
 exists. If i visit the page from http the content still exists but i can't
 edit it from the cms.

 I tryed removing the page_edit_dates extension again but it didn't solve the
 problem.

 The extension never showed up on the extension page.
 Any ideas to what i can do to make my site work again. And any ideas to how
 i will get the functionality of page_edit_dates without ruining my site are
 much appreciated!
   

--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] etra quote in cached filename

2007-12-27 Thread Sean Cribbs
This question is more appropriate for the rails-talk list.  Please 
direct your question there.

Sean

Noha Mostafa wrote:
 Hi all,

  m having a problem when caching pages with parameters, although static
 pages went fine and I had an x.html in the folder
 /public/controllername/x.html.

 Now if this X accepts any parameters, let's say 1, i was expecting to
 find : /public/controllername/x/1.html
 but instead i found :
 /public/controllername/x/1'.html

 Can anyone explain this extra single quote, I've searched a lot, but
 couldn't find any1 w a similar problem :(


 Thanks,
 Noha
   

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


[Radiant] TimeZone adjustment display

2007-12-27 Thread Bill Barnard
First let me say that I'm just getting started using Radiant; it looks
very cool and will be useful to the client I'm setting it up for.

I wanted to note the method I used to set the timezone for my
installation so it will be in the mailing list archives, and to make a
very small suggestion.

I found the details regarding setting the timezone in
app/models/radiant/config.rb which pointed me to
http://api.rubyonrails.org/classes/TimeZone.html for details on TimeZone
specification in Rails. For my installation I did:

$ ./script/console production
 Radiant::Config[local.timezone] = Pacific Time (US  Canada)

It was useful to find a to_hash method as well:
 Radiant::Config.to_hash
= {defaults.page.parts=body, extended,
defaults.page.status=draft, admin.title=Radiant CMS,
admin.subtitle=Publishing for Small Teams,
local.timezone=Pacific Time (US  Canada)}

My suggestion would be to alter the updated_at string that shows in the
page edit view (app/views/admin/page/edit.rhtml) to show the timezone.
It gets the string from the timestamp method in
app/helpers/application_helper.rb which looks like:
adjust_time(time).strftime(%I:%M small%p/small on %B %d, %Y)

If it was
adjust_time(time).strftime(%I:%M small%p/small %Z on %B %d, %Y)

then the time zone would also appear on the page editing page. I
expect we'll have people in multiple time zones editing pages, and this
would help them.

Thanks for a very cool app! Bill

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