Re: [Radiant] Radiant Paperclip Extension and S3

2010-04-12 Thread Keith Bingman
Try running RAILS_ENV=production script/console and let me know what happens.

Keith

On Apr 12, 2010, at 4:22 PM, Gabe Koss wrote:

> I have tried installing the Settings extension but it won't process any 
> of the Rake tasks and breaks the app...
> 
> Gabe
> 
> Keith Bingman wrote:
>> Hi Gabe, 
>> 
>> I have a bunch of sites running on Heroku, with no problems.
>> 
>> I think your problem is that you are missing the quotes for the radiant 
>> config values. It should be: Radiant::Config['assets.storage'] = "s3" 
>> (Quotes around the assets.storage). 
>> 
>> I think though the easiest way to do it would be to install the Settings 
>> extension, then just add the correct fields in the admin UI. This is the way 
>> I do it. Let me know if that helps. 
>> 
>> Keith
>> 
>> Keith Bingman
>> 
>> ke...@keithbingman.com
>> http://keithbingman.com
>> 
>> August-Ruf-Str. 38
>> D-78224 Singen
>> 
>> Tel.: +49-7731-798 383 0
>> Mobil: +49 171 932 33 75
>> 
>> On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote:
>> 
>> 
>>> Hi,
>>> 
>>> I am using Radiant on Heroku. I have installed the paperclipped 
>>> extension and I'm trying to tether it to my s3 buckets to store the 
>>> assets. I have read any number of tutorials so far with no success.
>>> 
>>> The instructions here seem like they should work: 
>>> http://github.com/kbingman/paperclipped/blob/master/README.md
>>> 
>>> When do either script/console OR script/console RAILS_ENV=production I 
>>> get the following message:
>>> 
>>> g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production
>>> Loading RAILS_ENV=production environment (Rails 2.3.4)
>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in
>>>  
>>> `read':Errno::ENOENT: No such file or directory - 
>>> /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb
>>> 
>>> It still takes me to the console but if try and run the config command
>>> 
>>> |>> Radiant::Config[assets.storage] = "s3"
>>> NameError: undefined local variable or method `assets' for 
>>> #
>>> from (irb):1
>>> 
>>> I have also tried following the instructions from:
>>> 
>>> http://blog.heroku.com/archives/2009/4/7/config-vars/
>>> 
>>> but got stuck trying to configure paperclipped. Where would i place those 
>>> configuration settings? I am guessing that this is for more traditional 
>>> rails apps and won't work with paperclipped?
>>> 
>>> Any help would be appreciated!
>>> Thanks,
>>> Gabe
>>> 
>>> 
>>> |
>>> 
>>> ___
>>> Radiant mailing list
>>> Post: Radiant@radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>> Radiant: http://radiantcms.org
>>> Extensions: http://ext.radiantcms.org
>>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> Radiant mailing list
>> Post: Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>> Radiant: http://radiantcms.org
>> Extensions: http://ext.radiantcms.org
>> 
>> 
> 
> ___
> Radiant mailing list
> Post: Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> Radiant: http://radiantcms.org
> Extensions: http://ext.radiantcms.org

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


Re: [Radiant] Radiant Paperclip Extension and S3

2010-04-12 Thread Keith Bingman
Hi Gabe, 

I have a bunch of sites running on Heroku, with no problems.

I think your problem is that you are missing the quotes for the radiant config 
values. It should be: Radiant::Config['assets.storage'] = "s3" (Quotes around 
the assets.storage). 

I think though the easiest way to do it would be to install the Settings 
extension, then just add the correct fields in the admin UI. This is the way I 
do it. Let me know if that helps. 

Keith

Keith Bingman

ke...@keithbingman.com
http://keithbingman.com

August-Ruf-Str. 38
D-78224 Singen

Tel.: +49-7731-798 383 0
Mobil: +49 171 932 33 75

On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote:

> Hi,
> 
> I am using Radiant on Heroku. I have installed the paperclipped 
> extension and I'm trying to tether it to my s3 buckets to store the 
> assets. I have read any number of tutorials so far with no success.
> 
> The instructions here seem like they should work: 
> http://github.com/kbingman/paperclipped/blob/master/README.md
> 
> When do either script/console OR script/console RAILS_ENV=production I 
> get the following message:
> 
> g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production
> Loading RAILS_ENV=production environment (Rails 2.3.4)
> /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in
>  
> `read':Errno::ENOENT: No such file or directory - 
> /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb
> 
> It still takes me to the console but if try and run the config command
> 
> |>> Radiant::Config[assets.storage] = "s3"
> NameError: undefined local variable or method `assets' for 
> #
>   from (irb):1
> 
> I have also tried following the instructions from:
> 
> http://blog.heroku.com/archives/2009/4/7/config-vars/
> 
> but got stuck trying to configure paperclipped. Where would i place those 
> configuration settings? I am guessing that this is for more traditional rails 
> apps and won't work with paperclipped?
> 
> Any help would be appreciated!
> Thanks,
> Gabe
> 
> 
> |
> 
> ___
> Radiant mailing list
> Post: Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> Radiant: http://radiantcms.org
> Extensions: http://ext.radiantcms.org











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


Re: [Radiant] Is settings extension ready for 0.9?

2010-04-01 Thread Keith Bingman
>> Im trying to install settings extension to edge but after the
>> installation+migration+update but when I try to access the settings tab the
>> whole app freezes and pops up the following error:
>> 
>> Rendered admin/users/_password_fields (19.4ms)
>> Completed in 167ms (View: 145, DB: 4) | 200 OK [
>> http://localhost/admin/preferences/edit]
>> Thu Apr 01 11:45:41 +0200 2010: Read error: #> method `remove' for #> 0x27f83dc>>
>> /vendor/extensions/settings/settings_extension.rb:41:in `deactivate'
>> /vendor/radiant/lib/radiant/extension.rb:86:in `deactivate'
>> 
>> May this mean settings is still not ready for 0.9?
> 
> most likely that is what it means. fortunately you don't really need
> it for anything. you can set any options from the rails console.
> 
> cd radiant_project
> script/console
> Radiant::Config['defaults.page.filter'] = 'Markdown'
> ..

Jim posted a blog a while back with another easy way to set the config values 
and keep them in version control:

http://www.saturnflyer.com/blog/jim/2010/03/22/radiant-config-in-source-control/

This seems like the best way to go.

Keith

Keith Bingman
ke...@keithbingman.com
http://keithbingman.com




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


Re: [Radiant] Paperclipped: "Show Assets Bucket" + Firefox 3.5.5 (win) = Fail?

2010-02-22 Thread Keith Bingman

On Feb 22, 2010, at 5:45 PM, Mohit Sindhwani wrote:

> On 23/2/2010 12:29 AM, Jeff Casimir wrote:
>> I'm working with a client who's having trouble uploading files.  It's
>> extra frustrating because they're remote.  We walked through the
>> process today and found that when they're clicking the "Show Assets
>> Bucket" on a page's edit screen, nothing is coming up.  I'm accessing
>> the site with Safari and Firefox (3.6) on my mac and things are fine.
>> They're on Windows with Firefox 3.5.5.
>> 
>> Anyone seen a similar problem?  They're in the process of upgrading to
>> 3.6 as a starter, though that's not a very reasonable answer.  I
>> suppose it's possible they have JS turned off, but unlikely.  Any
>> other ideas?
>> 
>> 
> 
> How old is Paperclipped?   There was an issue with the JS that it used 
> which did not work in Firefox 3.5. 

You need to make sure that the copy of Lowpro is current. The JS issue wasn't 
directly with Paperclipped, but with the version of Lowpro that was packaged 
with it. If that doesn't help, please let me know and I will help you figure 
out what the problem is. 

Keith


Keith Bingman

ke...@keithbingman.com
http://keithbingman.com




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


Re: [Radiant] Files list extension?

2009-12-05 Thread Keith Bingman
I have something like that, but only for the new 0.9 version. It is more of a 
proof of concept than anything, but you can try it out here:

http://github.com/kbingman/asset_tree

Keith

On Dec 4, 2009, at 9:11 PM, Jason Grimes wrote:

> Has anyone made an extension, or know of one, that will list files in a 
> directory?  It would be a big bonus if it also allowed you to expand and 
> collapse directories too.  Thanks,
> 
> Jason
> ___
> 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] Anyone having problems with Paperclipped on Snow Leopard?

2009-11-15 Thread Keith Bingman
That is easy. There is a problem with passenger, where it doesn't load the 
paths properly. You need to manually set the path to imagemagick, which is 
usually /usr/local/bin/convert (do a 'which convert' to be sure). Paperclip 
(the gem Paperclipped is based on) looks in 'usr/bin/convert' and with 
passenger this doesn't get updated. You can set a config variable in Radiant:: 
Config called 'assets.image_magick_path' and set it to the base path of 
convert. This should do the trick for you. Let me know if that helps.

Keith

On Nov 15, 2009, at 5:06 PM, Nate wrote:

> Keith Bingman wrote:
>> ImageMagick needs to be 64bit, so you need to reinstall it and its 
>> dependancies.  I had a terrible time getting it all updated on my desktop. 
>> The MacBook was fine... go figure. 
>> 
> 
> I got it all reinstalled and working... using Mongrel. For the life of 
> me I cannot figure out what's wrong with Passenger. The site just won't 
> build thumbnails when hosted locally using Passenger. On the production 
> server (Rails Playground) it works without problems. Maybe I need to 
> reinstall Passenger now that I have ImageMagick installed. I'll play 
> with that later. Deadlines are looming.
> 
> 
> ~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


Re: [Radiant] Anyone having problems with Paperclipped on Snow Leopard?

2009-11-15 Thread Keith Bingman
ImageMagick needs to be 64bit, so you need to reinstall it and its 
dependancies.  I had a terrible time getting it all updated on my desktop. The 
MacBook was fine... go figure. 

Keith

On Nov 15, 2009, at 12:52 AM, banane wrote:

> Yes- re-install ImageMagick, the one for Mac/os X (didn't see a snow-leopard
> specific one). I also installed the snow leopard xcode libraries. I'm having
> issues with JPEG-thumbnailing, but PNG is fine. I've been putting off
> troubleshooting this- but I'm pretty sure it's all to do with IM and nothing
> to do with Paperclip ;)
> 
> http://www.imagemagick.org/script/binary-releases.php#macosx
> ___
> 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] (no subject)

2009-10-23 Thread Keith Bingman
What version of Radiant are you using? The latest gem (0.8.1) moved  
the cache to the temp folder. I just tried it out on a site of Heroku  
and it works great. The cache is immediately cleared on page save.

Keith



On Oct 23, 2009, at 1:48 PM, Radu Curteanu wrote:

> Hello.
>
> I have a dumb one.
> Here it is.
>
> I'm trying to install Radinat on Heroku by following this:
> http://blog.heroku.com/archives/2009/3/26/radiant_cms_in_5_minutes_or_less/
> and of course this
> http://wiki.github.com/radiant/radiant/installing-on-heroku
>
> I've also installed the file_system extension.
>
> So after I did everything in those post the installation seemed to  
> work
> perfect but that wasn't the case. I did this locally :
> rake file_system:to_files made some changes here and there did this
> afterwards : rake file_system: to_db. Sent everything to Heroku but  
> even
> if in the admin part on Radiant the changes were made on the website
> nothing changed. It changed only after I added something in admin  
> part and
> then hit save. And after this all the changes could be seen on the
> frontend of the website. After seeing this I thought there must be
> something with the cache so I go here
> http://wiki.github.com/radiant/radiant/installing-on-heroku
> were there is this
> "Also if you want the page cache to be cleared on page save (or ever
> really) you’ll also need to hack on RADIANT_ROOT/lib/radiant/cache.rb
> search for the lines:
>
> def initialize(root="#{Rails.root}/cache/entity")
> def initialize(root="#{Rails.root}/cache/meta")
>
> and change them to:
>
> def initialize(root="#{Rails.root}/tmp/cache/entity")
> def initialize(root="#{Rails.root}/tmp/cache/meta")"
>
> Can this solve my dumb problem? And If yes? Where is
> RADIANT_ROOT/lib/radiant/cache.rb ? I figure that RADIANT_ROOT is the
> installation dir? And If that is true where is  the lib dir?
>
> Please help.
>
> I appologize for the dumb question but i'm stuck here.
>
> Thank you
>
> Radu
>
>
> ___
> 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] Thoughts on 0.9 RC1?

2009-10-19 Thread Keith Bingman
Paperclipped will definitely not work on it. I haven't had much time  
to investigate, but several javascripts that depend it depends on are  
changed or gone. Someone has a fork that I need to check out, but as  
it stands now, it won't work with the 0.9.0 RC1.

I am currently working on the i18n stuff for 0.9.0, so I am a busy,  
but I plan on trying to get paperclipped to work sometime in the next  
few weeks.

Remember too, the RC1 release is more to give extension developers a  
chance to migrate everything than an actual production ready release.  
It is great, but breaks pretty much every extension I have tried. Most  
of the fixes are small, but it is going to take a while to get it all  
up to date.

Keith

On Oct 16, 2009, at 8:53 PM, Jeff Casimir wrote:

> Happy Friday,
>
> We haven't heard many thoughts on 0.9 yet.
>
> I experimented with upgrading and existing 0.8 site and wasn't very
> successful.  I didn't have a ton of time to investigate, though, so I
> scrapped it.
>
> I'm going to start a new deployment for a client next week and would,
> if it's reasonable, go to 0.9.  The only extensions I really need are
> Paperclipped and something for blog-like functionality.
>
> What do you think?
>
> - Jeff
> ___
> 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] Re: Paperclipped, Wym-Editor and "default partial not found"

2009-10-10 Thread Keith Bingman
Ah, thanks for the heads up, I will see what I can do about this. The  
interaction between Paperclipped and WymEditor is very complicated...


Keith


On Oct 10, 2009, at 7:04 PM, David Alan Hjelle wrote:


Hi, all.

It appears I've found the root of the problem. I don't know if it's  
a bug with Wym-Editor-Filter or with Paperclipped—it's a bug in the  
interaction between the two, as far as I can tell. I'd contribute a  
patch, but I'm afraid I'm not a Ruby-ist (yet).


The issue is this: Paperclipped, by itself, does not display the  
"Show Assets Bucket" on a page until the page has been saved. (Thus,  
it doesn't display on pages that have been newly created.) That  
confused me quite a bit, since I was just testing with newly created  
and unsaved pages on a new install.


The problem is that the Wym-Editor doesn't recognize this fact. It  
joyfully puts up the bucket dialog when asked to insert an image on  
a non-saved new page. Since Paperclipped doesn't expect this, it  
spits out the errors below.


I hope that helps someone else.

David Alan Hjelle
1 Corinthians 2:2
http://thehjellejar.com/

See Rita's spoons at .

See my brother's software at .

On Oct 9, 2009, at 21:29, David Alan Hjelle wrote:


Hi!

I was attempting to use the Wym-Editor extension and Paperclipped  
together, but I'm running into the following error when I attempt  
to insert a image from Wym-Editor:



`attachment_tab' default partial not found!
`upload_tab' default partial not found!
`search_tab' default partial not found!


I suspect that I might have missed part of the paperclipped  
install, as I did miss some parts the first time around, but the  
rest of the extension seems to work fine.


Is this a known issue?

David Alan Hjelle
1 Corinthians 2:2
http://thehjellejar.com/

See Rita's spoons at .

See my brother's software at .



___
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] [ANN] Radiant i18n

2009-10-07 Thread Keith Bingman
John has now officially added the i18n branch to the feature set of  
the upcoming 0.9 release (though we may not make the RC1 release on  
Friday).


In order to get the ready, I need all the people who have done  
translations to take a look at the Radiant i18n branch on github and  
update their tranlsations. I completely changed the format and there  
have been a number of small changes in the Blade interface.


http://github.com/radiant/radiant/tree/i18n

There are also two new rake tasks to aid in translating the Interface,

rake radiant:i18n:sync

and

rake radiant:i18:new LOCALE=pt, where 'pt' would be Portugese

The sync task will add any terms in the English file to all other  
language files and the new task copies the English, but gives it the  
name passed in the LOCALE variable.


If you add or fix a translation, send me a pull request and I will get  
it in asap. One note, the tag translations have been moved out into a  
separate file. These will need to wait a while, if you have started,  
no changes are will be lost, but we need to carefully consider how to  
do the translations and keep in the inline descriptions of each tag.


Finally, I still need Spanish, Italian and any other language you can  
offer. RIght now, we have German, French, Japanese and Russian. I have  
not added different localized versions of languages yet, but we can  
easily do that. en-US and en-GB being the most obvious candidates. But  
given the nature of the Radiant interface, I am not sure that we need  
it.


Thanks again to everyone who has helped out with translations and I am  
looking forward to getting this finished.


Keith Bingman
http://bingman-design.com
http://invisible.ch
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Paperclipped assets bucket not showing

2009-07-30 Thread Keith Bingman
I think that bug was recently fixed. Firefox 3.5 created some problems  
and LowPro had to be updated. Try downloading the latest version of  
paperclipped and running rake radiant:extensions:paperclipped:update.  
This will install the newest javascripts.


Keith

On Jul 30, 2009, at 5:09 PM, dav...@ourpatch.com.au wrote:

I've looked at the messages in the FireBug console.  All that comes  
up is:
"This version of Low Pro is tested with Prototype 1.6.0 it may not  
work as expected with this version (1.6.0.1)"


The strange thing is that once the FireBug console is activated the  
assets bucket appears, but it refuses to appear before the console  
is activated.  Is it just getting blocked by this warning message?


-Original Message-
From: "Jim Gay" 
Sent: Monday, 27 July, 2009 9:48pm
To: radiant@radiantcms.org
Subject: Re: [Radiant] Paperclipped assets bucket not showing

What extensions do you have that add Javascript to the interface?
Have you looked at any console errors in something like FireBug?


On Jul 27, 2009, at 3:03 AM, dav...@ourpatch.com.au wrote:


We've definitely added more extensions since Paperclipped was first
installed.  I was hoping someone else out there had a similar
problem so I could narrow down the issue.

-Original Message-
From: "Mamed Mamedov" 
Sent: Monday, 27 July, 2009 4:47pm
To: radiant@radiantcms.org
Subject: Re: [Radiant] Paperclipped assets bucket not showing

Hi!

Have you installed/updated any extensions after paperclipped worked
fine? Or
may be you edited your extensions? May be you updated your radiant
installation?

Regards,
Mamed Mamedov


Ogden Nash 

Re: [Radiant] Radiant In Herolu

2009-07-29 Thread Keith Bingman
Paperclip actually has a 0.7.1 branch and I think the current version  
works with 0.7.1 as well.  Settings does not, but I have so many  
"lying" around.. there are some very minor changes to make it work  
though.


Keith


On Jul 29, 2009, at 10:21 AM, john muhl wrote:


On Wed, Jul 29, 2009 at 10:51 AM, Mauricio
Dulce wrote:
Thanks, but the problem is that I'm using the previous version of  
radiant,
one can say where I get the two paperclipped extensions and  
settings for
this or that version 0.7.1 or extensions such as comments and poll  
event

calendar work in 0.8


most extensions will have a branch or tag for the different
incompatible versions...of course neither paperclipped or settings
have a branch or tag for 0.7 compatibility so you'll have to go
through the history looking for where they added the changes to go
from 0.7 to 0.8 and checkout the appropriate commit. however comments
has a 0.7.1 tag to use it you would use something like:

git clone git://github.com/artofmission/radiant-comments.git
vendor/extensions/comments
cd vendor/extensions/comments
git checkout -b 071 radiant0.7.1



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


Re: [Radiant] feedburner integration with Radiant

2009-07-24 Thread Keith Bingman

Rafael

There are a couple of ways to do this. The easiest would be to set a  
new value for the image url in the Settings ext. or in Radiant::Config.


Just add a new setting for 'assets.url' with the value 'http://mydomain.com/:class/:id/:basename:no_original_style:extension' 
 and you will be good to go. I just tried this and the new src  
attribute indeed has the domain in it. This is the default path, with  
the domain added. You can modify the path if you want, but of course  
you will have to move the existing assets accordingly.


These settings were added when I updated Paperclipped to use Amazon  
S3, but of course work if you are using the file system too


Another way would be to not use the  tag, but rather a more  
verbose version like this:


http://mydomin.com/" alt=" " or  
something along these lines.


Let me know if that helps.

Keith



Keith Bingman

ke...@keithbingman.com
http://keithbingman.com




On Jul 23, 2009, at 11:52 PM, Rafael Souza wrote:


Anyone is using feedburner to manage feeds?

I am having problems with images (I use paperclipped extension to  
manage

images) when generating the feed.

The image "src" attribute is like "/assets/(id)/(nome_do_arquivo)",  
but I

think for feedburner it must be "
http://mydomain.com/assets/(id)/(nome_do_arquivo)"

Thanks,

Rafael Souza
raf...@maisweb.org
+55 84 8844-9171
___
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] extension: translator installation problem on v0.8

2009-07-10 Thread Keith Bingman
This is a tough one. I took a look at the translator extension last  
week, as I need to do several multi lingual sites in 0.8.0. The  
problem is, it makes some very complicated changes to the caching  
system, which as of 0.8.0 has been completely changed. I managed to  
get a version of it running, but without some of the features (which I  
didn't want in any case). I will see if I can fork it and get it up on  
github, though right now, it is not ready for public consumption.


Anyone else try to get this running on 0.8.0?

Keith


On Jul 10, 2009, at 2:55 PM, Mamed Mamedov wrote:


Hi everybody!
I have some problems with installation translator plugin on  
RadiantCMS v0.8.

I think there is some incompatible issues since radiant 0.8 released.

Also I tried to install radiant 0.7.1 and translator - sucessfully,  
but it
is difficult to develope, because other things (like rubygems, ruby  
and

other extensions) with newer versions installed.
But I really need multilanguage support for my radiant-site.

Do you have any ideas? Which version of radiant is adviced to use?  
What

about compatibility?

Regards,
Mamed Mamedov
___
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] Is SQLite + Radiant very slow?

2009-07-02 Thread Keith Bingman
Another thing I would check out are lots of Radius tags. If you have  
very complicated nested navigation and such, this can also really slow  
the site down.


I have been running all my local sites on sqlite3 lately and really  
don't notice any difference to the Mysql sites. Of course this is  
locally and in development mode. In production things could be totally  
different.


Keith


On Jul 2, 2009, at 4:59 PM, john muhl wrote:


my guess is it has nothing to do with sqlite which in my experience is
plenty fast. i'd make sure you're running in the production
environment, with lots of extensions the development environment can
get real slow real fast.


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


Re: [Radiant] Radiant 0.8.0 "Asterism" Release

2009-06-16 Thread Keith Bingman

Working on it:

http://github.com/kbingman/radiant/tree/master

I will be moving this to the official i18n branch ASAP, but I have  
been pretty busy lately.


It is mostly done, we have the views translated for German, Russian,  
French and Japanese. Any help is appreciated.


Keith


On Jun 16, 2009, at 8:58 AM, Simon Rönnqvist wrote:


 Hi!

Now since we're in Rails 2.3.2, would it then be time to localize  
Radiant? The first step towards this would of course be to move all  
strings from the views into config/locales/en.yml.


If I or someone at some point (when I or someone has time) would  
make a fork in order to apply this change, would you then accept a  
pull request for those changes?


 cheers, Simon


On Jun 14, 2009, at 22:40 , Sean Cribbs wrote:


Looks like it's time for another release of Radiant:

 http://radiantcms.org/download/

Radiant 0.8.0 "Asterism" features a brand new and more compliant  
caching
mechanism based on Rack::Cache, and numerous bugfixes and small  
enhancements.

Also included are:

* An extensive integration suite using Cucumber and Webrat
* Rails 2.3.2 (previously 2.1.2)
* Highline 1.5.1
* Haml 2.0.9

Many thanks to our contributors and committers for their  
contributions.


WHAT IS RADIANT CMS?

Radiant is a no-fluff content management system made for designers  
and

programmers and is ideal for use on small teams. It is similar to
Movable Type or Textpattern, but is much more than a blogging engine.

Radiant features:

* An elegant user interface
* The ability to arrange pages in a hierarchy
* Flexible templating with layouts, snippets, page parts, and a
  custom tagging language (Radius: http://radius.rubyforge.org)
* A dynamic extension system
* A simple user management/permissions system
* Support for Markdown and Textile as well as traditional HTML
  (it's easy to create other filters)
* Operates in two modes: dev and production depending on the URL
* A caching system which expires pages every 5 minutes
* Built using Ruby on Rails (which means that extending Radiant is
  as easy as any other Rails application)
* Licensed under the MIT-License
* And much more...

There's even a live demo over on the project Web site:

 http://radiantcms.org/demo/


WHAT'S NEW IN THIS RELEASE?

* Warn about using the RedCloth 3 fallback. [Sean Cribbs, Jason  
Garber]

* Prevent stty errors on JRuby while running bootstrap. [Sean Cribbs]
* Moved template_name to ApplicationController [Jim Gay, Michael  
Kessler]

* Remove vizres plugin. [Sean Cribbs]
* Update instance config/environments to remove ResponseCache [Jim  
Gay]
* Remove :order option from , which causes  
errors on

postgresql. [Sean Cribbs]
* Prevent recursion via the  tag. [Sean Cribbs]
* Update Highline. [Sean Cribbs]
* Update Cucumber and RSpec, clean up some features and fix specs.  
[Sean Cribbs]

* Set the protected attributes for users in User.protected_attributes
[Jim Gay]
* Don't allow a nil ETag in SiteController. [David Cato]
* Prevent failed login message from sticking around. [Kunal Shah]
* Fix failing test regarding extension order. [Brett McHargue]
* Catch ActiveRecord::RecordNotFound in Admin::ResourceController
[Jim Gay]
* Catch missing template errors for show routes [Jim Gay]
* Fix with_error in render_matcher not causing the spec to fail  
when no

exception raised. [Jason Garber]
* Make features task run in instance mode. [Sean Cribbs]
* Remove Admin::AbstractModelController. [Sean Cribbs]
* Cleanup deprecated Gem::manage_gems. [Sean Cribbs]
* Add begin...rescue blocks to rspec.rake [Sean Cribbs]
* Add begin...rescue blocks for requiring cucumber. [Matt Henry]
* Deprecate ResponseCache, add Radiant::Cache based on Rack::Cache.
[Sean Cribbs]
* Use app name for session cookie. [Josh French]
* Upgrade to Rails 2.3.2. [Sean Cribbs, Rick DeNatale, Josh French,
Kunal Shah]
* Populate config.extensions so extensions can be disabled easily.
[Jason Garber]
* Convert integration specs to Cucumber stories and update RSpec.  
[Sean

Cribbs]
* Use ActionView::PathSet instead of normal arrays for view paths.  
[Pat

Allan]
* Don't raise exception on unauthenticated request to /admin/logout.
[Josh French]
* Reverse view paths order in extension loader. [Sean Cribbs, Brent
Kroeker]
* Remove obviated Ruby 1.8.7 compatibility patch. [Sean Cribbs]
* Adjust StandardTags#relative_url_for for case when  
relative_url_root

is nil. [Sean Cribbs]
* Correct rendering error in extensions controller. [Sean Cribbs]
* Correct typo in config/boot.rb. [Sean Cribbs]
* Major refactoring and simplification of LoginSystem. [Sean Cribbs]
* Update Haml to 2.0.7. [Sean Cribbs]
* Upgrade to Rails 2.2.2. [Sean Cribbs]
* Cleanup the config class a little, add some more documentation.  
[Sean

Cribbs]
* Avoid bootstrap errors related to Radiant::Config by checking for
table existence. [Sean Cribbs]
* Correct status code typo in Admin::ResourceController. [Sean  
Cribbs]



INSTALLATION

We've worked hard to make it easy to install Ra

Re: [Radiant] Admin::RegionsHelper

2009-05-11 Thread Keith Bingman
I think I have this fixed, I will try to get a version posted on  
Github today. The template = @index is required for some of the  
partials. I have refactored a bunch of things and will be diving into  
the controller next.


Keith


On May 11, 2009, at 8:05 PM, Victor Elsendoorn wrote:



Please inform me and the list about the solution, i'am encoutering  
the exact

same problem.


Ken Mayer-2 wrote:


I'm encountering an app error using the paperclipped extensions with
Radiant (edge/master -- 512351fe5e4ab61cbbfdcb5866f6e5f9212c5ee1)

ActionView::TemplateError (undefined method `template_name' for
#) on line #2 of vendor/extensions/
paperclipped/app/views/assets/edit.html.haml:
1: - include_stylesheet 'admin/assets'
2: = render_region :top
3:
4: - render_region :main do |main|
5:   - main.edit_header do

/var/www/cimes.hawaii.edu/current/vendor/radiant/app/helpers/
admin/regions_helper.rb:24:in `lazy_initialize_region_set'
/var/www/cimes.hawaii.edu/current/vendor/radiant/app/helpers/
admin/regions_helper.rb:3:in `render_region'
vendor/extensions/paperclipped/app/views/assets/edit.html.haml:2

This happened to me before in the settings extension. At the time, I
just hacked the settings_controller by adding "@template = 'index'"  
to
the .index method. Ugly, but it worked. Now I'm seeing this crop up  
in

paperclipped. The failing code in regions_helper is here:

  def lazy_initialize_region_set
unless @region_set
  @controller_name ||= @controller.controller_name
  @template_name ||= @controller.template_name
  @region_set = admin.send(@controller_name).send(@template_name)
end
  end

I'm not sure where to look next. .template_name is defined in the
resource_controller, but both of these controllers are subclasses of
ApplicationController, not Admin::ResourceController. That explains
why the regions_helper blows up, but do I change the parent class of
settings_controller & asset_controller, (causing all sorts of other
mayhem?) or is there another solution.


Aloha a hui hou,
Ken
--
Ken Mayer / kma...@bitwrangler.com / 808-722-6142 /
http://www.bitwrangler.com/



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




--
View this message in context: 
http://www.nabble.com/Admin%3A%3ARegionsHelper-tp23302530p23488487.html
Sent from the Radiant - User (New) mailing list archive at Nabble.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] RailsConf BoF

2009-04-27 Thread Keith Bingman
I went ahead and proposed a Birds of a Feather session for radiant,  
which just got accepted. Before I confirm it, I just want to make sure  
that we don't have another pending. The description lists the i18n  
stuff I am working on as a subject, but really anything radiant  
oriented would be welcome. It is scheduled for 8:30 Tuesday evening.  
Hope to see some of you there!


Keith Bingman


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


Re: [Radiant] RailsConf BoF

2009-04-21 Thread Keith Bingman

I am definitely interested in a BoF session.

I think Eugene ( who is working  on the internationalization and doing  
the Russian translation) is coming too, so the i18n project would be a  
great topic.


Keith


On Apr 21, 2009, at 6:14 PM, Josh French wrote:

I'm sussing out interest in a Radiant BoF session at RailsConf. If  
anyone will be attending RailsConf and thinks they may be interested  
in attending a BoF session, please let me know. I'm also welcoming  
any suggestions for topics.


Thanks,
Josh
___
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] [ANN] Radiant Stereotype Extension

2009-03-28 Thread Keith Bingman
Have you tried this with a MySQL db yet? The find method gives an  
error... it seems the "key", the name of the attribute is reserved in  
MySQL.


Ptiy, it looks like a great extension, but it really needs to work  
with MySQL. Any help getting it running would be appreciated.


Keith


On Mar 27, 2009, at 4:50 PM, Istvan Hoka wrote:


Announcing the Radiant Stereotype Extension.

Features:
* Define named templates (stereotypes) for Pages;
* Templates are assigned per-parent Page, making all children have  
the defined ’stereotype’ by their parent;

* You can specify the new page’s parts, filters, layout and page type.

Check out the announcement [http://blog.aissac.ro/2009/03/27/radiant-stereotype-extension/ 
], the official extension page [http://blog.aissac.ro/radiant/stereotype-extension/ 
] and the code on github [http://github.com/Aissac/radiant-stereotype-extension/ 
].


Cheers!

--
Istvan Hoka

___
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] "not one of the allowed file types"

2009-03-11 Thread Keith Bingman

I really need to change that.

Add "application/pdf" to  the Radiant::Config assets.content_types  
list. You can do this with the Settings extension or in the console.


Keith


On Mar 11, 2009, at 4:46 PM, Anton Aylward wrote:

Here I am with a site that uses paperclipped for asset management  
and I

try uploading a PDF and get the above as an error message.

How do I fix that?

--
Whenever men take the law into their own hands, the loser is the law.
And when the law loses, freedom languishes.
 -- JFK

___
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] Default Page Type

2009-02-04 Thread Keith Bingman
Has anyone tred to set a default page type, similar to the default  
parts extension? I would like to set a parent so that all of its  
children have a specific page type...


TIA

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


Re: [Radiant] Paperclipped Not Dragging or Dropping

2009-01-27 Thread Keith Bingman
Could it be that the pages are not saved yet. Or the parts? There is a  
limitation in the drag and drop script that only lets it drop onto  
parts that have been saved. I could solve it in jQuery, but Radiant  
uses Prototype.If anyone has an idea, I am always acceptin patvhes.


Keith


On Jan 27, 2009, at 8:28 PM, Adam Farnsworth wrote:

I'm getting a sporadic error, which kind of scares me. Every once  
and a while, when I click on the "Show Assets Bucket" the bucket  
will popup, but then, instead of letting me click and drag the asset  
into the text field below, it just drags the entire bucket popup  
around. I'm assuming its some error in defining the difference of an  
asset from the rest of the box, but it means I don't have access to  
my assets at random times. The only semi-consistency is that it  
seems to happen on child pages of the "Home Page" that I created. It  
will work fine in the "Articles" pages. but my custom pages is where  
it seems to happen, but no always. Any and all help would be  
appreciated.


Adam
___
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] paperclipped

2009-01-26 Thread Keith Bingman
The setting migration is only for the descriptions in the Settings  
plugin. That has nothing to do with the actual function of the  
paperclipped extension. There was a problem with deleting images if  
the bucket had never been used, I am pretty sure I squashed that  
though. Be sure you have the latest version of the paperclipped  
extension from github and then take a look at the production log from  
your server, that will tell you what the 500 error is. An older  
version of the extension gave me the same problem and the update fixed  
it. Let me know if you need more help.


Keith


On Jan 26, 2009, at 11:44 PM, Steven Southard wrote:

I really don't think it is a problem with the new release because it  
works perfectly on my mac's server.  I saw the change that was made  
and tried making that change too but it didn't help with my  
problem.  Maybe something went wrong when I installed it.  There is  
a note in in the readme file about installing Settings before  
running the paperclipped migration.  By the way, that note could be  
more helpful if it came before you give the paperclipped migration  
instructions.  In my case, I had already run paperclipped  
migrations. For good measure I  ran the paperclipped migrations  
again after I had installed settings.


Should I just start over or is this fixable?  Everything seems to  
work well except deleting files.  I'm just not sure if I caused this  
problem by migrating twice or maybe I'm missing something.






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


Re: [Radiant] paperclipped

2009-01-26 Thread Keith Bingman
I have not had time to check it with the new release, but there is a  
branch for it on github.There was a thread a few days ago. I will try  
to get in patched soon.


Keith

On Jan 26, 2009, at 10:48 PM, Steven Southard wrote:

I'm using paperclipped with .7rc2 and on my mac's server is runs  
smooth as butter.  I pushed it up to my server (Joyent) and I can't  
get the delete asset to work right.  When I hit delete I get an  
Application error.  Three refreshes and the image is gone and  
everything is fine.  So in the log it says:


[paperclip] Deleting files for asset
[paperclip] -> /users/home/.public/assets/32/cowboy.gif
Errno::EEXIST (File exists - /users/home/..public/assets/32):

and throws up 500.html

If I look at the files one of the images have been deleted

I could hit back and then try to delete it again and another will be  
deleted until they are all gone and the app will continue like  
everything is fine.


Any ideas why paperclipped isn't deleting all four images like it  
should?


Thanks,

Steven





___
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] Paperclipped with more complex image manipulation

2009-01-25 Thread Keith Bingman

Hi Jeff,

I don't think there is any way to do this without accessing the new  
features in the Paperclip plugin (which paperclipped just accesses).


If I understand correctly, you want to fill the image, this is not  
really the idea behind paperclipped. It is more for storing assets and  
images that will be used, not for creating elements of the design


The size arguments do not directly access ImageMagick, rather they go  
through the paperclip plugin api. You may want to check out their  
google group, I think that hooks for just this sort of thing have been  
recently added.


Keith


On Jan 25, 2009, at 5:26 PM, Jeffrey Jones wrote:


Howdy all.

Is it possible for Paperclipped to do more complicated image  
manipulation?


For example I want to create (using the ImageMagick command line  
arguments)


nav=110x108!

AND

nav_inactive= 110x108! -fill black -colorize 50%

Has anyone tried to do this? I tried putting all that in quotes  
nav_inactive='110x108! -fill black -colorize 50%' but that didn't  
seem to do the trick


Cheers

Jeff
___
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] paperclipped

2009-01-22 Thread Keith Bingman
I haven't tried it out yet with 0.7 yet at all. Are you using  
passenger to test or mongrel. In the past I have had problems with  
uploading and passenger in the development environment, but hitting  
submit again uploads it when it hangs. This does not happen in  
production and has been noted on the Paperclip mailing list.


Hope that helps a bit.

Keith


On Jan 22, 2009, at 8:18 PM, Steven Southard wrote:

I was wondering if anyone is using paperclipped with 0.7.0rc2.  It  
seems to be stalling out on uploading an asset.  This could easily  
be something unrelated to 0.7.0rc2.  If anyone knows anything about  
what's going on I'd greatly appreciate the help.


Steven
___
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] adding tags to paperclipped?

2009-01-17 Thread Keith Bingman
I had tagging on a earlier version of paperclipped, it was actually  
very to add. You could install the tagging extension, which I believe  
is based on has_many_polymorphs. Then just tell the tag model to  
reference assets as well as pages. Let me know if you need any pointers.


Personally, I have been thinking of adding collections. For the way I  
use assets (and my customers) Ithink it makes more sense, but then I  
haven't had any time to work on it...



On Jan 16, 2009, at 8:31 PM, Joe Van Dyk wrote:


Hi,

My client has a lot of assets stored in Radiant.  We're using
paperclip.  They wanted to know if they could use folders to organize
their assets, but I thought tags would be better.

Has anyone else done anything like this?  Is it something that should
be added to paperclipped?  Or other thoughts on organizing a ton of
assets?  (they are mostly PDF documents, on various topics)

Thanks,
Joe
___
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] file system extension and reorder

2009-01-16 Thread Keith Bingman
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.


Any ideas?

Keith Bingman

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


Re: [Radiant] Passing dynamic values to page_attachment tags

2009-01-07 Thread Keith Bingman
What was your problem with non image files? Paperclip handles those  
pretty well now and paperclipped is getting better...


keith

On Jan 6, 2009, at 7:17 PM, Jose Hales-Garcia wrote:



On Jan 6, 2009, at 9:41 AM, Adam van den Hoven wrote:

Ok, maybe this is cheeky but, paperclipped would probably work  
better for you.


I tried paperclipped but stuck with page_attachments because  
attachment_fu handles non-image files better than paperclip.  If  
that changes, I might try it again.


Jose
___
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] Localization

2008-12-18 Thread Keith Bingman
I did the original GIbberish branch, but once I saw the new Rails 2.2  
features, I knew that it was best to wait. That will make it all quite  
easy.


Sean, do you know when the new interface will be introduced? That too  
will make it better, as the images with "add child" and the like will  
be replaced.


Keith

P.S: Ole, I have a basic German extension that runs with 0.6.9. It  
overwrites the view, so it is not usable with an other version, but it  
is a good stopgap until the 2.2 version comes out. Email me and I can  
give it to you.



On Dec 18, 2008, at 7:18 PM, Sean Cribbs wrote:

Assuming things go well, 0.7 will be released in early January.   
However, it will be on Rails 2.1 for various reasons.  Soon after  
0.7.0 we will convert to Rails 2.2.


Sean

Ole Rehmsen wrote:

Hey,

I could easily prepare a German language file, this is also what I  
would need myself. Are there any plans when version 0.7 is gonna be  
released?


Ole


Am 18.12.2008 um 18:59 schrieb Sean Cribbs:


Ole,

Once we're on Rails 2.2, it should be straightforward to localize  
the interface.  There was some work done in a historical branch  
that used Gibberish, and we had a number of language files that  
were submitted.  However, we'll likely have a number of UI  
elements changed in the official 0.7 release and we'll need new  
translations.  Is there a language you specifically wanted to  
contribute?


Sean

Ole Rehmsen wrote:

Hello,

I am really interested in localization of radiant. I already  
checked the mailing list archive, but it seems as if this is not  
yet supported and there is no extension which offers support for  
this - is that true?
If so how are the plans coming along for adding it to future  
releases? I would be willing help adding it myself, but I don't  
have much experience with it, so all I could do is turn to  
solutions such as "Globalize!" or "Localization". I also heard  
something about Rails 2.2. having some kind a language support,  
but I have not tried it yet. Is there any intelligence on how  
this should be done? Do you guys maybe need some help or someone  
doing it? Is there anyone else who has tried/done it before (and  
how)?


Regards
Ole


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] Children not displaying

2008-10-27 Thread Keith Bingman
Are the children pages stillther? Can you access them from the website  
itself or directly in Radiant with the url? Have you updated anything  
since then?


My guess is that you have a javascript problem. Try taking a look with  
firebug to see if the radiant javascripts are qorking.


Keith

On Oct 27, 2008, at 8:40 PM, Victor Zuniga wrote:



Hi,

I am hoping someone can help me. Last Friday, the pages in our app  
were
working properly displaying the children pages contained within some  
of the
internal pages. We logged in today to do some text editing and were  
not able

to see the children pages. When clicking on the Plus sign icon nothing
happens ( although I am able to create children pages for any pages).


What has changed since then?

I installed paperclipped and WYM editor.


Any feedback would be appreciated.


Victor


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


Re: [Radiant] Radiant/Radius/Extensions + HTML 4.01

2008-10-26 Thread Keith Bingman
As far as paperclipped is concerned, I think the only tag that  
actually generates HTML is the r:image tag and r:link. You could  
easily use the r:url and some page parts to make your own system using  
HTML 4.


In general though, I think this would be a nuisance and get in the way  
of nice clean tags.


Keith Bingman

On Oct 26, 2008, at 7:19 PM, Sean Cribbs wrote:

With a few exceptions (links and form stuff like 'mailer'), it's my  
opinion that your Radius tags should not generate markup, but should  
assist you in generating markup.  Putting too much markup in a tag  
definition is a bad code smell; it also makes them harder to test.


That said, that kind of configuration option sounds like more of a  
hassle than a benefit.  Maybe you could get the extension authors to  
modify the extension(s) or do the github thing and fork it and  
change it yourself.


Sean

Jeffrey Jones wrote:

  Hello all,

At the moment it seems the Radiant ecosystem is setup to generate  
XHTML tags (paperclipped comes to mind).


As I am going to make my site HTML 4.01 this presents something of  
a nuisance. I can easily alter the paperclipped code to output HTML  
but that is fixing a symptom and not addressing a core issue.


Would it be possible to include a standard RadiantConfig option to  
specify the output format of tags? If a standardised config option  
was chosen then all extensions that output HTML/XHTML code could  
then check the option and output the correct tags for the given  
specification.


Naturally it would default to the current XHTML code but it would  
offer a bit of flexibility. Note that I am talking only about the  
main site code. The admin system can whatever it likes.


What do you guys think?

RJ



___
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] ? about using paperclipped images in backgrounds with css

2008-09-11 Thread Keith Bingman


On Sep 11, 2008, at 9:50 PM, Mohit Sindhwani wrote:


[EMAIL PROTECTED] wrote:

On Fri, 2008-09-12 at 03:38 +0800, Mohit Sindhwani wrote:


[EMAIL PROTECTED] wrote:

Is there any way to use an image that's been uploaded to a site  
with
paperclipped in a stylesheet for use as a background image? I  
have tried
to do url() but it isn't  
working for

me. The image has been "attached" to the stylesheet page. Is there
anything else I need to do to get that to work?



Are paperclipped images stored in the file system or in the db? I  
could
not find the image I had uploaded in the file system. I'll look  
again.


In the past I had used radius tags to specify background images  
when I

was using the old page_attachments extension:  . Just an
FYI. I was surprised that the same kind of thing doesn't work with
paperclipped. No biggie, I'll just find a different way to specify bg
images.



It looks like there was a bug in the  tag, which  
caused it not to rendor. I refactored a bug of the tags last month and  
screwed that up. Pull from Github, the new version is pushed.


But once you "attach" the image to the stylesheets page, you still  
need to insert it using the (now working)  tag. You  
can drag and drop to the image to get the tag, then modify it to your  
needs. I just tested this out and it now works.


The images are stored on the file system. I had been experimenting  
with the db, but it is a bit slow and then I found the Paperlip  
plugin, which I really like. Look in your public folder for an assets  
folder, they are all there.


Keith



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


Re: [Radiant] translation of the admin interface

2008-09-08 Thread Keith Bingman

Hi Andre,

I wouldn't use the Jargon branch, it is very old and missing a lot of  
the ffunctionality of the current branch. Plus the current version has  
had ALL the views rewritten. I have been wanting to start work on it  
again, but simply don't have time at the moment. The original  
translation only took a day or two, but it was intense work.


If you are interested in helping update the Jargon branch and change  
the views to Haml, I would love some help. I can get a github branch  
started and rescue what I can from the old jargon branch. Let me know.


Keith

On Sep 8, 2008, at 9:09 PM, Andre Garzia wrote:


Hello Folks,

I need to have a Portuguese translation of the admin interface and
I've wondered what is the most sensible option, if it is hard coding
the translation of the current version or work with the Jargon branch.
That branch appears to be based on some old Radiant version and the
translation functionality is not all there (we get some mixed
english/whatever strings). As I need a portuguese admin interface and
I also need to build some custom extensions for this project, I don't
know what version to use. Should I go and try to fix the jargon branch
or should I begin from scratch? I don't need user selectable language,
it should only be portuguese and thats all.

Thanks in advance for any advise

andre

--
http://www.andregarzia.com All We Do Is Code.
___
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] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Keith Bingman
Hmm. Still giving me problems. It seems like the array is loading, but  
e´the model extensions are not...


Keith
On Aug 26, 2008, at 3:13 AM, Sean Cribbs wrote:

Oh, I forgot to mention that your extension must load before the  
file_system extension for this to work:


config.extensions = [:all, :file_system]

-- should do the trick in config/environment.rb.

Sean


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


Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Keith Bingman


On Aug 25, 2008, at 4:35 PM, Sean Cribbs wrote:



I think it would be quite straightforward to add the functionality  
in a similar fashion for 'text-assets' such as stylesheets and  
javascript files. If I understand Sean's design correctly, I think  
his intention was that extension authors could make their custom  
models play with the FileSystem extension by adding modules such as  
(using SnS as an example):


   /lib/file_system/model/stylesheet_extensions.rb
   /lib/file_system/model/javascript_extensions.rb

These modules would be added to the SnS extension itself, rather  
than in the FileSystem extension. If you had SnS installed without  
FileSystem extension these modules would do nothing, but if you had  
both extensions installed, then FS would pick up the extra  
functionality provided by those modules in the SnS extension. (It  
might be necessary to specify the load order of file_system  
extension before the others)


The only thing extra you would need to do is to test for the  
existence of the FileSystemExtension and then add your models to its  
list:


if defined?(FileSystemExtension)
FileSystem::MODELS << 'Stylesheet' << 'Javascript'
end



I just tried this out with my hacked version of SNS (with "name"  
instead of "filename") and for the most part it works. The only things  
is, while the names of the models get loaded in the constant list, the  
model extensions do not. If you manually add the Model names in the  
file_system extension, then they do load (and strangely, if you  
inspect the list, the added model names are there twice).


Again, odd, bu it is actually working and I can now export css and js  
files from the SNS extension. Once I get this oddities cleaned up I  
will try to fork it.


Keith Bingman

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


Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Keith Bingman
It just so happens that I was playing around with getting the  
file_system extension to work with SNS when I came across a nasty  
conflict. It seems that SNS uses the attribute "filename" instead of  
name. Because the file_system extension uses this as well, it leads to  
all sorts of nasty issues.


If you change the attribute to 'name' (or anything else for that  
matter), then everything works nicely. But I can't figure out how to  
reset the filename attribute in the class extension and keep the whole  
thing working. Maybe Chris will be kind enough to change the filename  
attribute in sns or someone else has an idea. It would be great to get  
these two plugins working together!


Keith


On Aug 25, 2008, at 4:35 PM, Sean Cribbs wrote:



I think it would be quite straightforward to add the functionality  
in a similar fashion for 'text-assets' such as stylesheets and  
javascript files. If I understand Sean's design correctly, I think  
his intention was that extension authors could make their custom  
models play with the FileSystem extension by adding modules such as  
(using SnS as an example):


   /lib/file_system/model/stylesheet_extensions.rb
   /lib/file_system/model/javascript_extensions.rb

These modules would be added to the SnS extension itself, rather  
than in the FileSystem extension. If you had SnS installed without  
FileSystem extension these modules would do nothing, but if you had  
both extensions installed, then FS would pick up the extra  
functionality provided by those modules in the SnS extension. (It  
might be necessary to specify the load order of file_system  
extension before the others)


The only thing extra you would need to do is to test for the  
existence of the FileSystemExtension and then add your models to its  
list:


if defined?(FileSystemExtension)
FileSystem::MODELS << 'Stylesheet' << 'Javascript'
end

Then the extension will pick up those models, add the basic  
functionality and attempt to add their specialized modules as well.


The extension is very helpful when you are working on a big site, or  
one that you want to manipulate significantly offline.  I'd call the  
support for Pages shaky at best, and I'd still recommend  
manipulating those in the regular interface.  However, the other  
models -- snippets, layouts -- are very simple and easy to  
manipulate in the filesystem.


Thanks, Drew, for offering to maintain this extension!



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


Re: [Radiant] Japanese and i18n in Radiant

2008-08-06 Thread Keith Bingman
I just went with Translator and really liked it. I had built several  
pages with Language Redirect, which was one of the first Radiant  
behaviours.


I think that the page part solution is the best, both for building the  
site and maintaining it. It also makes switching the language, but  
keeping the same content trivial. Two page trees is a bit hard to  
maintain, but is of course the most robust system.


But I agree, once again, not a one size fits all situation.

Keith


On Aug 6, 2008, at 2:01 PM, Casper Fabricius wrote:


Hi Oli,

Three extensions, three different approaches to translation:

Language Redirect: Separate site trees for each language.
Translator: Separate page parts for each language, but a single site  
tree.
Language Switch: All translations in the same page and part,  
separated by tags that indicates the language.


Language Redirect seems to be the most widely used, and the way to  
go if you want different site trees for different languages, i.e.  
only translate a subset of pages. I also like that it is very  
compact and has clean code. On the other hand, it seems quite messy  
to have to keep several different site trees in sync.


Language Switch gives you the "clean" site tree and "clean" use of  
page parts, but on the other hand you need to use the tags  
indicating language all over. Also, this extension completely  
disables all caching at the moment.


I think I'm gonna go with Translator for now. Since I only need to  
run the site in two languages, and I only have two page parts per  
page, it won't be too cluttered when editing a page. This extension  
also seems to handle caching quite well, although it happens through  
some pretty hackish code that might break Radiant at some point.


This is yet another example of the fact that when it comes to i18n  
and l10n, one solution never seems to fit all.


Cheers,
Casper



On 04/08/2008, at 4:41, Oli Studholme wrote:


Hey Casper,

On Aug 3, 2008, at 3:19 AM, Casper Fabricius wrote:

I'm eager to hear if you have found a fitting extension for  
handling multiple languages. I'm considering using Loren Johnson's  
language switch (http://github.com/lorenjohnson/radiant-language-switch/tree/master 
), but maybe there is something better or different or more  
advanced out there?


I’m using the Language Redirect extension:
https://svn1.hosted-projects.com/medlar/language_redirect_extension/

You create language code root articles (/en, /ja etc) and build  
your localised site under there. When a user visits the domain  
root, they’re automatically redirected to one of the localised  
roots based on browser’s accept language. This doesn’t work well  
with the automatic breadcrumb tag though (you get the site root and  
the locale root, which end up pointing to the same thing).


Another option is the translator extension:
http://dev.philburrows.com/svn/radiant-extensions/translator/trunk/README

It seems you create a page part for each language, then the  
extension displays the relevant part based on browser’s accept  
language or session variable.


There might be some more info in the mailing list archives

peace - oli
___
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] Multi_site restrict access to radiant

2008-08-06 Thread Keith Bingman
There is a branch that starts down this road. You can tie specific  
users to each site, though Admins and Devs see all sites, normal usere  
do not.


Layouts can also be limited. It is not perfect, but a huge step in the  
right direction.


http://github.com/zapnap/radiant-multi-site-extension/tree/master

and the related blog post:

http://blog.zerosum.org/2008/6/24/radiant-scoped-multi-update

Keith



On Aug 6, 2008, at 10:26 AM, Casper Fabricius wrote:


Hi Marc,

The multi_site extension has those limitations you mention. I  
especially think #2 is a show stopper in many cases - all users sees  
all sites. It would take some work to tie logins to a specific site,  
but it would greatly enhance the value of the extension.


Cheers,
Casper


On 04/08/2008, at 23:56, Marc Abouchacra wrote:


Hello everybody!

I've recently discover the multi_site extension which appears to be
really interesting.
But there is some things that I still don't know if it is possible  
and

how to do them.

1-Imagine I have a radiant site called marc.com. I install the
multi-site and then I create site1.marc.com and site2.marc.com. Now I
can manage the pages for the two "child" site1 and site2, but I can't
manage anymore the page from marc.com.

2-Is it possible to create administrator for each site? For example  
if I
log in to radiant as an admin, I'll see all my site. However I want  
to

create site-administrator for each site so that they can log in to
radiant and manage the pages of their own site without seeing all the
other site.

Cheers
Marc.
--
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] automatic thumbnail generation?

2008-08-04 Thread Keith Bingman

Oli,

paperclipped definitely does about 80% of this. Importantly it makes  
very good looking thumbnails and you can customize the crop and size.  
It also does not require rmagick, so it is a bit lighter weight on  
RAM. I have been recently doing some drag and drop work as well, when  
you drag an image into a page part, the correct tag is generated. This  
is not in the trunk version, but should be there in a day or two.


It is based on Thoughbot's Paperclip plugin, which for me is a bit  
nicer than attachment_fu, but both have their place.


If you don't need all of these features, page_attachments is also a  
very usuable choice. I have often used it when I need a lighter weight  
solution.


If you do try out paperclipped, let me know if you need any help, the  
documentation is, um, sparse...


Keith

On Aug 4, 2008, at 7:07 PM, Jim Gay wrote:


Oli,

I believe that some of the features you want can be found here
http://github.com/radiant/radiant-page-attachments-extension/tree/master
or http://github.com/kbingman/paperclipped/tree/master

One could start with either of those and add your missing features,  
but I don't know of any extensions out there to do what you want.


-Jim

On Aug 4, 2008, at 10:06 AM, Oli Studholme wrote:


Hi All,

I‘d like the ability to generate thumbnails of images  
automatically, for example to create thumbnails for a list view of  
photo articles. Maybe something like a tag to call the image where  
I can specify attributes for:

* resize longest image dimension to x pixels
* resizes to whole pixels on both dimensions
* crop to square
* ability to set class based on landscape or portrait
* ability to populate img tag’s width and height
* generates a thumbnail with either .thumb.jpg or .80x80.jpg (or  
whatever the format is) suffix

* doesn’t make thumbnails that look like ass

Does anything out there do this? If not is anyone interested in  
writing an extension (or adding this functionality to an existing  
extension) to do this? I’ve heard that fleximage is apparently  
pretty nice, but what do I know eh.


Thanks for your time

peace - oli

___
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] v0.6.9 NoMethodError in Admin/welcomeController#logout

2008-08-03 Thread Keith Bingman
I think you need to run rake db:migrate. The "remember me" function  
makes some changes in the database.


Keith


On Aug 3, 2008, at 3:20 PM, Kresimir Saric wrote:


Hi,

after upgrading to v.0.6.9, I am no longer able to logout from admin
pages.

The following error occurs:


--

NoMethodError in Admin/welcomeController#logout

undefined method `session_token=' for #

RAILS_ROOT: c:/Projects 2/RadiantCMS_v069

Application Trace | Framework Trace | Full Trace

vendor/radiant/vendor/rails/activerecord/lib/active_record/ 
attribute_methods.rb:200:in

`method_missing'
vendor/radiant/vendor/rails/activerecord/lib/active_record/ 
validations.rb:954:in

`send'
vendor/radiant/vendor/rails/activerecord/lib/active_record/ 
validations.rb:954:in

`update_attribute'
vendor/radiant/app/models/user.rb:53:in `forget_me'
vendor/radiant/app/controllers/admin/welcome_controller.rb:27:in
`logout'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb: 
1158:in

`send'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb: 
1158:in

`perform_action_without_filters'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
filters.rb:697:in

`call_filters'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
filters.rb:689:in

`perform_action_without_benchmark'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
benchmarking.rb:68:in

`perform_action_without_rescue'
C:/CGRubyInstall/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
benchmarking.rb:68:in

`perform_action_without_rescue'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
rescue.rb:199:in

`perform_action_without_caching'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
caching.rb:678:in

`perform_action'
vendor/radiant/vendor/rails/activerecord/lib/active_record/ 
connection_adapters/abstract/query_cache.rb:33:in

`cache'
vendor/radiant/vendor/rails/activerecord/lib/active_record/ 
query_cache.rb:8:in

`cache'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
caching.rb:677:in

`perform_action'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb: 
524:in

`send'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb: 
524:in

`process_without_filters'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
filters.rb:685:in

`process_without_session_management_support'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
session_management.rb:123:in

`sass_old_process'
vendor/radiant/vendor/plugins/haml/lib/sass/plugin/rails.rb:19:in
`process'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb: 
388:in

`process'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
dispatcher.rb:171:in

`handle_request'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
dispatcher.rb:115:in

`dispatch'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
dispatcher.rb:126:in

`dispatch_cgi'
vendor/radiant/vendor/rails/actionpack/lib/action_controller/ 
dispatcher.rb:9:in

`dispatch'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel/rails.rb:76:in

`process'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel/rails.rb:74:in

`synchronize'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel/rails.rb:74:in

`process'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:159:in

`process_client'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:158:in

`each'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:158:in

`process_client'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:285:in

`run'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:285:in

`initialize'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:285:in

`new'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:285:in

`run'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:268:in

`initialize'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:268:in

`new'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel.rb:268:in

`run'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel/configurator.rb:282:in

`run'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel/configurator.rb:281:in

`each'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mongrel/configurator.rb:281:in

`run'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
bin/mongrel_rails:128:in

`run'
C:/CGRubyInstall/lib/ruby/gems/1.8/gems/mongrel-1.1.3-x86-mswin32/ 
lib/mo

Re: [Radiant] SnS extension problem

2008-07-23 Thread Keith Bingman

On Jul 23, 2008, at 5:22 PM, Tim Gossett wrote:


On Wed, Jul 23, 2008 at 11:10 AM, Marshal Linfoot <[EMAIL PROTECTED]>
wrote:


The Radiant production log shows:

Processing SiteController#show_page (for 99.232.3.139 at 2008-07-23
14:58:33) [GET]
Parameters: {"url"=>"/", "action"=>"show_page", "controller"=>"site"}
Completed in 0.19283 (5 reqs/sec) | DB: 0.0 (0%) | 200 OK
[http://test.octopusgardenyoga.com/]

Processing SiteController#show_page (for 99.232.3.139 at 2008-07-23
14:58:34) [GET]
Parameters: {"url"=>["css", "elastic"], "action"=>"show_page",
"controller"=>"site"}
Filter chain halted as
[#0x2adc426c66d0

@filter=:parse_url_for_text_a
ssets>] rendered_or_redirected.
Completed in 0.01643 (60 reqs/sec) | DB: 0.0 (0%) | 304 Not
Modified [http://test.octopusgardenyoga.com/css/elastic]

I have no idea why the css isn't being applied. Tried naming it
"elastic.css", same results. Tried  and it places the css inline as expected, but no
styling.


I think your problem is the first line:

@import url("gallery.css")

I don't think the SnS extension can handle SASS imports (because  
SASS looks
for a .sass or .css file in the filesystem, not in the DB), so it  
passes the
directive into the rendered stylesheet. Since @import is not valid  
CSS, your
browser stops processing rules, and no styles get applied. You'll  
need to

add a  tag for every stylesheet you want to use.

Maybe Chris is working on a way to include multiple stylesheets with  
one

tag. For now, though, you should use one tag per css file.




The other thing you need to check is that the header is being set  
correctly. SnS uses a config setting in the database for this, is  
should be set to text/css.


Strangely, the link you sent renders perfectly in Safari, though in FF  
it renders without css...


Keith

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


Re: [Radiant] Archive Page in edge

2008-07-23 Thread Keith Bingman
Does it disable the Archiv extension for you? It does for me, which is  
the biggest problem of all.


Keith

On Jul 23, 2008, at 2:45 PM, Jim Gay wrote:

Yes. I have seen this, and I'm not sure why it happens (but I  
haven't tried to find the cause either)

http://groups.google.com/group/radiantcms-dev/browse_thread/thread/f8b1cb2fd2cf2e68/f72e7fe237db648f?lnk=gst&q=%22not+installed%22#f72e7fe237db648f

I can verify that this happens for me in production, but even worse,  
it adds " - not intsalled" with each reload of the page so that it  
will say this for example: Archive - not installed - not installed -  
not installed


-Jim

On Jul 23, 2008, at 5:13 AM, Keith Bingman wrote:

Has anyone come across a problem with the Archive Page in the  
latest edge version? Using an exisitng site, upgraded to edge, all  
archive pages are listed as "Archive - not installed". I thought it  
might be a problem with the db, so I tried on a clean install. The  
first page works, but if you make a second archive page, then they  
both show as not installed again. Very odd.


The archvie extension is of course installed and shows up on the  
extension page.


Any help appreciated...

Keith





___
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] Archive Page in edge

2008-07-23 Thread Keith Bingman
Has anyone come across a problem with the Archive Page in the latest  
edge version? Using an exisitng site, upgraded to edge, all archive  
pages are listed as "Archive - not installed". I thought it might be a  
problem with the db, so I tried on a clean install. The first page  
works, but if you make a second archive page, then they both show as  
not installed again. Very odd.


The archvie extension is of course installed and shows up on the  
extension page.


Any help appreciated...

Keith

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


Re: [Radiant] [ANN] Ray extension

2008-07-17 Thread Keith Bingman
When I try this,  with hub and fullname, I get a repository not found  
error. I think the problem is that the repos url is getting an extra  
"/" in there between the github name and the fullname of the  
extension. Remove that in the rake task and it works great.


Keith Bingman
On Jul 17, 2008, at 2:24 AM, john muhl wrote:

 rake ray:extension:install name=sweet-sauce hub=bob fullname=sweet- 
sauce_for-radiant


Right now, Ray is sort of stupid about migrate/update tasks and just  
blindly runs them both for all extensions regardless. If an  
extension doesn't need one or both tasks run you might see some  
errors but they'll be harmless.


Once an extension is installed it can be easily disabled or enabled  
with


 rake ray:extension:disable name=mailer
 rake ray:extension:enable name=mailer



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


Re: [Radiant] Sitewide Assets

2008-07-16 Thread Keith Bingman
Paperclipped is intended to replace page_attachments, I wouldn't use  
both at the same time. I wanted to use something other than  
attachment_fu, so I wrote with different functionality than either  
gallery or page_attachments. I hope that it offers something that  
these do extensions do not. I actually use all three.


There are several ways you could use page_attachments with site wide  
images. Sean's suggestion would be the easiest. Paperclipped uses the  
same file structure as paperclipped (as I had started using  
attachment_fu), so it is easy to switch if you wish.


You could also add a tab to page_attachments, gaining acces to all the  
uploaded images images...


Regards,
Keith


On Jul 16, 2008, at 7:14 PM, Josh Schairbaum wrote:

How do people handle site-wide assets like background images?  I'd  
like to keep everything about the site able to be uploaded/changed.   
I've got the page_attachments extension, but that seems like it's  
only applicable to individual pages.


I've looked at something like the paperclipped, but that seems to  
overwrite some of the page attachments functionality.


http://github.com/kbingman/paperclipped/tree/master

I'd like to use page_attachments, so what work-arounds are possible  
for sitewide stuff, outside of having to deploy them in public/ 
images/*?


Regards,
Josh
___
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] Re: Re: Re: Admin Tree Extension

2008-06-17 Thread Keith Bingman

Keith Bingman wrote:

This is now on Github at
http://github.com/kbingman/admin_tree_structure/tree/master
It would be great if someone could chekc it out and see if it works
for them. I have it working under the 0.6.6 Gem.


If anyone is still using the old drag-and-drop page Reorder extension,
be aware that this AdminTreeStructure extension cannot be run  
alongside

of it.
--


Actually, this is pretty easy to fix, but needs to be done in the  
reorder extension. If anyone is interested, I can post the modified  
one I have on github. 
___

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


[Radiant] [ANN]Paperclipped—Paperclip bas ed assets extension

2008-06-12 Thread Keith Bingman
Once again I have an assets extension. This one is not entirely  
compatible with my previous extension, but you can, with a little work  
switch it over. I will try to get an update script one of these days.


Paperclip is a new file management plugin from Thoughtbot which has a   
few advantages over attachment_fu: it doesn't use RMagick, which uses  
a lot of RAM and is a bit of overkill for just making thumbnails.  
Instead it directly uses ImageMagick, making it much easier to  
install. It also offers very flexible asset paths, and using this, I  
have made the same file structure as attachment_fu. I have also  
successfully adapted the db tables from the old extension without too  
much trouble.


To install it, just run rake radiant:extensions:migrate, then run rake  
radiant:extensions:paperclipped:update to install the javascripts,  
images and css.


Once installed, you get a new Tab with the entire assets library, a  
Bucket  à la Mephisto (though only the concept is stolen) and a  
search. You can also easily attach assets to any page and directly  
upload them to a page.


I have quite a few tags, as well. The standards, including url, title,  
caption, etc., but also an images:each tag, which will cycle through  
each image associated with a page. This makes simple Lightbox or other  
javascript based galleries very easy to set up.


The extension requires 0.6.7 because of the Haml and Shards support.  
Trunk is better due to a slight (known and fixed) bug when running  
extensions in dev mode.


Hosted on Git for your forking pleasure.

http://github.com/kbingman/paperclipped/tree/master

Feedback, praise and complaints gladdly accepted.

Keith Bingman

[EMAIL PROTECTED]
http://keithbingman.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] gallery extension

2008-05-27 Thread Keith Bingman
It is actually pretty different than attachment_fu. It doesn't require  
it's own model, just a few columns. It is a lot lighter weight. I  
actually like attachment_fu a lot, but it is a bit slow and it  
requires either RMagick, Mini_magick or Image Science, all of which  
are problematic. So I thought I would give it a try. So far, it seems  
nice, but I haven't really tried it in production yet.


Keith Bingman
http://keithbingman.com


On May 27, 2008, at 6:57 PM, Casper Fabricius wrote:

Keith, just curious: How does Paperclip differ from attachment_fu?  
It seems to have almost the exact same interface - is the only  
difference that paperclip does not require rmagick, mini-magick or  
imagescience?


Casper Fabricius
http://casperfabricius.com

On 27/05/2008, at 18:19, Keith Bingman wrote:


Are you sure Joyent doesn't have RMagick?

I have a couple of Radiant sites there using both my own extensions  
and Sean's page_attachments with RMagick. Mini_magick does not work  
there, even if you freeze the gem.


I just discovered Paperclip, http://www.thoughtbot.com/projects/paperclip 
. It resizes images without RMagick or Mini_magick, just using the  
image_magick library itself. I have a prototype extension based on  
it, though it is not a full fledged gallery like Andrea's.


Keith Bingman
http://keithbingman.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] gallery extension

2008-05-27 Thread Keith Bingman
Is Spring a BSD Server or a shared accelerator? Don't take my word  
about mini_magick, it worked when I was still on a BSD server.


On May 27, 2008, at 6:30 PM, Steven Southard wrote:

That's sad news about mini_magick not working at Joyent even if you  
freeze it in.  I guess the available gems depends on what server  
you're on.  I'm on Spring and here is the list of gems:


*** LOCAL GEMS ***

actionmailer (2.0.2)
actionpack (2.0.2)
activerecord (2.0.2)
activeresource (2.0.2)
activesupport (2.0.2)
BlueCloth (1.0.0)
capistrano (2.2.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
extensions (0.6.0)
fast_xs (0.6)
fastthread (1.0.1)
ferret (0.11.6)
filesystem (0.1.0)
gem_plugin (0.2.3)
gruff (0.3.1)
highline (1.4.0)
hoe (1.5.1)
hpricot (0.6)
log4r (1.0.5)
mime-types (1.15)
mongrel (1.1.4)
mongrel_cluster (1.0.5)
needle (1.3.0)
needle-extras (1.0.0)
net-sftp (1.1.1)
net-ssh (1.1.2)
postgres (0.7.9.2008.01.28)
rails (2.0.2)
rake (0.8.1)
RedCloth (3.0.4)
ruby-json (1.1.2)
ruby-openid (2.0.4)
ruby-yadis (0.3.4)
rubyforge (0.4.5)
rubygems-update (1.0.1)
syntax (1.0.0)
tzinfo (0.3.8)



On May 27, 2008, at 11:19 AM, Keith Bingman wrote:


Are you sure Joyent doesn't have RMagick?

I have a couple of Radiant sites there using both my own extensions  
and Sean's page_attachments with RMagick. Mini_magick does not work  
there, even if you freeze the gem.


I just discovered Paperclip, http://www.thoughtbot.com/projects/paperclip 
. It resizes images without RMagick or Mini_magick, just using the  
image_magick library itself. I have a prototype extension based on  
it, though it is not a full fledged gallery like Andrea's.

_
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


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


Re: [Radiant] gallery extension

2008-05-27 Thread Keith Bingman

Are you sure Joyent doesn't have RMagick?

I have a couple of Radiant sites there using both my own extensions  
and Sean's page_attachments with RMagick. Mini_magick does not work  
there, even if you freeze the gem.


I just discovered Paperclip, http://www.thoughtbot.com/projects/paperclip 
. It resizes images without RMagick or Mini_magick, just using the  
image_magick library itself. I have a prototype extension based on it,  
though it is not a full fledged gallery like Andrea's.


Keith Bingman
http://keithbingman.com




On May 27, 2008, at 6:07 PM, Steven Southard wrote:

Oh, mini_magick might be better.  I'm hosting on Joyent and they  
don't have rmagick.  They don't have mini_magick either but I might  
be able to freeze that one in.  What changes do I need to make to  
have it work with mini_magick?



On May 27, 2008, at 10:48 AM, Andrea Franz wrote:


On Tue, May 27, 2008 at 5:37 PM, Steven Southard
<[EMAIL PROTECTED]> wrote:
I am, great job of moving it to git.  Very easy to get and  
install.  I
thought maybe there are some requirements like imagemagick and  
rmagick.  I
don't have those gems installed so if they're needed it makes  
sense, I
guess.  If they are needed seems like it would be a good idea to  
add that to

the readme file.


Yeah you need at least rmagick or mini_magick.
You are right, I'm going to add it in the README file.
Thank you very much and let me know if it works.

--
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
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] Re: multi_site extension and 0.6.7

2008-05-22 Thread Keith Bingman

Hi Patxi,

just comment the whole block at the top of module Multisite out. It is  
not needed anymore, as the made cache clear itself with every save.


Like this:

  def self.included(base)
base.class_eval {
  alias_method_chain :index, :root
  alias_method_chain :clear_model_cache, :site
  alias_method_chain :continue_url, :site
  # %w{remove clear_cache}.each do |m|
  #  alias_method_chain m.to_sym, :back
  # end
}
  end

Worked for me. I will try to fork it on github asap.

Keith



On May 22, 2008, at 5:21 PM, Patxi wrote:


Hi Keith,

what have you changed to get it running?
I have changed 'clear_cache' to 'clear_model_cache' 2 times in
\vendor\extensions\multi_site\lib\multi_site 
\page_controller_extensions.rb


Otherwise the server does not start.

- Have you done the same?
- Is this correct?

I still get some errors in the admin control if I want to change  
"slugs" ...

I couldn´t test it on localhost. Is this possible?

Thanks,
Patxi


Keith Bingman schrieb:
I realize that this does not yet work, but I thought I would give  
it a try. Unfortunately, I am stumped. There were a few errors with  
the clear_cache method in the page_controller, which I think I got.  
Now I am getting an error whenever I try to login in... I am pretty  
sure  it is in the application controller, but not really sure what  
it might be. Anyone else try this. I really like this extension,  
and have whole "families" of websites based on it

The error is:
Showing vendor/radiant/app/views/admin/page/index.html.haml where  
line # raised:

wrong number of arguments (1 for 0)
Extracted source (around line #):
Any help appreciated.
Keith


___
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] Re: multi_site extension and 0.6.7

2008-05-22 Thread Keith Bingman

Wonderful!

I haven't tested it out completely, but I can log in again. Thanks,  
very good idea... I should have thought about that.


Keith


On May 22, 2008, at 4:09 PM, Patxi wrote:

I´ve seen the haml plugin is in core and in the extension! removed  
the one in the extension and then the error did not show up:


\vendor\extensions\multi_site\vendor\plugins\haml

Patxi

Keith Bingman schrieb:
I realize that this does not yet work, but I thought I would give  
it a try. Unfortunately, I am stumped. There were a few errors with  
the clear_cache method in the page_controller, which I think I got.  
Now I am getting an error whenever I try to login in... I am pretty  
sure  it is in the application controller, but not really sure what  
it might be. Anyone else try this. I really like this extension,  
and have whole "families" of websites based on it

The error is:
Showing vendor/radiant/app/views/admin/page/index.html.haml where  
line # raised:

wrong number of arguments (1 for 0)
Extracted source (around line #):
Any help appreciated.
Keith


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


[Radiant] multi_site extension and 0.6.7

2008-05-19 Thread Keith Bingman
I realize that this does not yet work, but I thought I would give it a  
try. Unfortunately, I am stumped. There were a few errors with the  
clear_cache method in the page_controller, which I think I got. Now I  
am getting an error whenever I try to login in... I am pretty sure  it  
is in the application controller, but not really sure what it might  
be. Anyone else try this. I really like this extension, and have whole  
"families" of websites based on it


The error is:


Showing vendor/radiant/app/views/admin/page/index.html.haml where line  
# raised:


wrong number of arguments (1 for 0)
Extracted source (around line #):

Any help appreciated.

Keith 
___

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


Re: [Radiant] Re: Re: Re: Re: Admin Tree Extension

2008-05-17 Thread Keith Bingman
Can someone try using this extension with 0.6.7? I am not having any  
of the cookie problems I was having before, but I am suspicious that  
it still may break.


Thanks!
Keith


On May 15, 2008, at 7:50 AM, Keith Bingman wrote:

Yeah, I got the same thing yesterday. I think the javascript needs  
to be updated. This is not my extension, but now that I have it on  
git, I will zake a look into it.



On May 15, 2008, at 12:48 AM, Arik Jones wrote:

I delete the cookies, log back in and it works. But after it  
working I
try and edit a page and then return back to page admin tree list  
only to

find that the extension bottomed out again.

Keith Bingman wrote:
I think, but I haven't really explored this, that an expired  
cookie is

messing things up. When I clear out my cookies and log in again it
works. Give it a try and let me know.


--
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] Re: Re: Re: Re: Admin Tree Extension

2008-05-14 Thread Keith Bingman
Yeah, I got the same thing yesterday. I think the javascript needs to  
be updated. This is not my extension, but now that I have it on git, I  
will zake a look into it.



On May 15, 2008, at 12:48 AM, Arik Jones wrote:


I delete the cookies, log back in and it works. But after it working I
try and edit a page and then return back to page admin tree list  
only to

find that the extension bottomed out again.

Keith Bingman wrote:
I think, but I haven't really explored this, that an expired cookie  
is

messing things up. When I clear out my cookies and log in again it
works. Give it a try and let me know.


--
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


Re: [Radiant] Re: Re: Re: Admin Tree Extension

2008-05-14 Thread Keith Bingman
I think, but I haven't really explored this, that an expired cookie is  
messing things up. When I clear out my cookies and log in again it  
works. Give it a try and let me know.


On May 14, 2008, at 5:32 PM, Arik Jones wrote:


Okay, I got it to work and it works beautifully. But it doesn't stay.
When I got to edit a page (with or without saving the page) and then
return to page admin tree, the extension breaks and puts me back to  
the

normal blob of posts without year and date drill downs.
--
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


Re: [Radiant] Re: Re: Admin Tree Extension

2008-05-14 Thread Keith Bingman

This is now on Github at 
http://github.com/kbingman/admin_tree_structure/tree/master
It would be great if someone could chekc it out and see if it works  
for them. I have it working under the 0.6.6 Gem.


Keith


On May 14, 2008, at 2:35 PM, Benny Degezelle wrote:


Keith Bingman wrote:



I don't use the extension anymore as it was published, but re-used a
big
part of it in another extension. I've also had to add an 'url' and
'status' method to get it to work under 0.6.6. The updated version  
on

github should work, confirmation appreciated.


 For some reason the version you have on Github does not load for me.
But when I add the url and status methods to the version I have, then
it works fine. Mysterious. Did you change anything else?

Keith


Could be.., as said i got the extension out of an old project. I tried
and also failed to get it working, for some reason the _node view is  
not

picked up. Changing the extension to .html.erb did not change this.

If you will, put up your (fixed) version of the extension somewhere,
i'll remove it from my github account.

Benny
--
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


Re: [Radiant] Re: Re: Admin Tree Extension

2008-05-14 Thread Keith Bingman
I will go ahead and put it on Github when I get a chance. It seems to  
be working, though if you have previously opened the archive pages  
without the extention, it is very important to clear the cookies  
first. This made me loose an hour or two...


Keith

On May 14, 2008, at 2:35 PM, Benny Degezelle wrote:


Keith Bingman wrote:



I don't use the extension anymore as it was published, but re-used a
big
part of it in another extension. I've also had to add an 'url' and
'status' method to get it to work under 0.6.6. The updated version  
on

github should work, confirmation appreciated.


 For some reason the version you have on Github does not load for me.
But when I add the url and status methods to the version I have, then
it works fine. Mysterious. Did you change anything else?

Keith


Could be.., as said i got the extension out of an old project. I tried
and also failed to get it working, for some reason the _node view is  
not

picked up. Changing the extension to .html.erb did not change this.

If you will, put up your (fixed) version of the extension somewhere,
i'll remove it from my github account.

Benny
--
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


Re: [Radiant] Re: Admin Tree Extension

2008-05-14 Thread Keith Bingman


I don't use the extension anymore as it was published, but re-used a  
big

part of it in another extension. I've also had to add an 'url' and
'status' method to get it to work under 0.6.6. The updated version on
github should work, confirmation appreciated.

 For some reason the version you have on Github does not load for me.  
But when I add the url and status methods to the version I have, then  
it works fine. Mysterious. Did you change anything else?


Keith


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


Re: [Radiant] Admin Tree Extension

2008-05-13 Thread Keith Bingman
Well, I wasn't loading the archive extension first, but once I do  
that, I get a no method error:


Showing admin/page/_node.html.erb where line #10 raised:

undefined method `url' for  
#

Extracted source (around line #10):

7: <%= icon %>
8: <%= node_title %>
9:   <% else -%>
10: <%= expander %><%= icon %> <%= node_title %>

11: <%= page_type %>
12: <%= spinner %>
13:   <% end -%>
I will dig into it, but so far, I haven't gotten it to work. This is  
using the 0.6.6 Gem, not edge.


Keith

On May 12, 2008, at 2:03 AM, Daniel Sheppard wrote:

Are you loading admin_tree after the archive extension (and also  
after shards)?


Are you sure that there's no errors either in your js console in  
your browser or in your server logs?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith Bingman
Sent: Wednesday, 7 May 2008 11:36 PM
To: [EMAIL PROTECTED]
Subject: [Radiant] Admin Tree Extension

Has anyone gotten the Admin Tree Structure extension to work with
0.6.6? I have it installed, but when a page is set to archive, I get
nothing. No errors, just nothing.

thanks!

Keith Bingman
[EMAIL PROTECTED]


___
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


[Radiant] Admin Tree Extension

2008-05-07 Thread Keith Bingman
Has anyone gotten the Admin Tree Structure extension to work with  
0.6.6? I have it installed, but when a page is set to archive, I get  
nothing. No errors, just nothing.


thanks!

Keith Bingman
[EMAIL PROTECTED]


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


[Radiant] Re: GitHub progress, Radiant day

2008-04-06 Thread Keith Bingman
If anyone needs an invite, I have a few
-- 
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