Re: [Radiant] adding tags to paperclipped?

2009-01-18 Thread Joe Van Dyk
On Sat, Jan 17, 2009 at 7:27 AM, Jose Hales-Garcia  wrote:
>
> On Jan 17, 2009, at 7:18 AM, Mohit Sindhwani wrote:
>
>> * If the "folder" structure is to be carried forward to the  display/ UI,
>> it may be an idea to use PageAttachments and create child pages to represent
>> the folders and attach files to that?
>
>
> Last time I tried it, PageAttachments and Paperclipped did not work
> together.  Something do to with conflicting the database fields.
>
> I'm curious, Joe, are your assets images only?  I have PDFs and Word Docs to
> maintain and couldn't get Paperclipped to work with them.
>
> Jose

Images and PDFs mostly.  I think there's a couple word documents in there.

Note: for some reason, the default paperclip seems to only allow
images.  You have to change what mime types are acceptable.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Page_attachments problem

2009-01-18 Thread Errol Siegel
Yeah, that fixed it alright.  I swear I ran that already.  Perhaps it 
failed the first time and I didn't notice.

Thanks!
-- 
Posted via http://www.ruby-forum.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] Page_attachments problem

2009-01-18 Thread Sean Cribbs
Make sure to run `rake radiant:extensions:page_attachments:update` to 
get the needed CSS and JS files.


Sean

Nicholas Henry wrote:

I confirm I had exactly the same problem, but haven't had a chance to
follow up on it yet.

Cheers,
Nicholas


On Sun, Jan 18, 2009 at 3:00 PM, Errol Siegel  wrote:
  

This is weird.  I installed page_attachments and followed the setup
instructions.  When I open a page I see "Attachments (0)" and the green
plus sign.  However, I can't click on the green plus sign to add an
attachment (it doesn't appear to be a link).

Where do I go from here?
--
Posted via http://www.ruby-forum.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

  


___
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_attachments problem

2009-01-18 Thread Nicholas Henry
I confirm I had exactly the same problem, but haven't had a chance to
follow up on it yet.

Cheers,
Nicholas


On Sun, Jan 18, 2009 at 3:00 PM, Errol Siegel  wrote:
> This is weird.  I installed page_attachments and followed the setup
> instructions.  When I open a page I see "Attachments (0)" and the green
> plus sign.  However, I can't click on the green plus sign to add an
> attachment (it doesn't appear to be a link).
>
> Where do I go from here?
> --
> Posted via http://www.ruby-forum.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


[Radiant] Page_attachments problem

2009-01-18 Thread Errol Siegel
This is weird.  I installed page_attachments and followed the setup
instructions.  When I open a page I see "Attachments (0)" and the green
plus sign.  However, I can't click on the green plus sign to add an
attachment (it doesn't appear to be a link).

Where do I go from here?
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] 500 Internal Server Error with Styles n Scripts

2009-01-18 Thread Errol Siegel
I performed the installation and setup steps according to the
documentation, but when I click either the CSS or JS tabs in the admin
view, I get this error.

Stack trace appears below.

Thanks in advance for your help!



/!\ FAILSAFE /!\  Sun Jan 18 13:37:29 -0600 2009
  Status: 500 Internal Server Error
  wrong argument type nil (expected Module)

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:1130:in
`extend'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:1130:in
`initialize_template_class'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:522:in
`process_without_filters'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in
`process_without_session_management_support'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in
`sass_old_process'

/home/mostfor/public_html/vendor/radiant/vendor/plugins/haml/lib/sass/plugin/rails.rb:19:in
`process'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:389:in
`process'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi'

/home/mostfor/public_html/vendor/radiant/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in
`process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in
`synchronize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in
`process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in
`process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in
`each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in
`process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
`run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
`initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
`new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in
`run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in
`initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in
`new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in
`run'

/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in
`run'

/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in
`each'

/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in
`run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in
`run'

/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in
`run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Gem dependencies

2009-01-18 Thread Manuel Meurer
How do I set up gem dependencies in Radiant?
When I include a "config.gem 'foo'" in environment.rb, I get the
following error:

/config/environment.rb:88: private method `gem' called for
# (NoMethodError)

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


Re: [Radiant] file system extension and reorder

2009-01-18 Thread Andrew Neil


On 16 Jan 2009, at 14:47, Keith Bingman wrote:

Has anyone gotten the reoder extension to work with the file_system  
extension? It seems to be dumping the position column of the pages,  
but on reimport they are no longer there. A quick look (very  
quick...) didn't reveal anything to me.


It works OK for me. I've just set up a test, using the latest versions  
of reorder and file_system. I ran `rake file_system:to_files`, which  
created the sitemap on my filesystem, then ran `rake  
file_system:to_db` and everything made its way back into the database.  
The position column was intact. I also tried editing the position  
values as captured in yaml files on the file system. Loading the files  
back into the db, the position values were updated to those I had  
edited in the files.


Perhaps you are not running the latest version of the file_system  
extension? Try updating it. If the problem persists, let us know.


Cheers,
Drew


p.s. Just for the record: the latest reorder extension has been  
upgraded to work with Radiant 0.7. To make it work with Radiant 0.6.9,  
I had to change the file reorder_extension.rb as follows:


def activate
  ...
	  Admin::PagesController.send :include,  
Reorder::PagesControllerExtensions

  Admin::PagesController.send :helper, Reorder::PageHelper
  ...
end

to

def activate
  ...
	  Admin::PageController.send :include,  
Reorder::PagesControllerExtensions

  Admin::PageController.send :helper, Reorder::PageHelper
  ...
end
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant