[Radiant] Problem Loading Shards and Multisite

2008-02-05 Thread Keith Bingman
I just installed the new multisite extension, which is a nice  
improvement over the old virtual sites extension. Nice work!

But now I have problems... while I was at it, I updated to the edge of  
Radiant and everything broke. First of all I got an method not found  
error on the acts_as_list call in the multisite extension. Changing  
this to acts_as_tree makes it start, but then the shards extension  
doesn't seem to work. The config statement has no effect, the only way  
to force shards to load is by renaming it... Still, it doesn't seem to  
have an effect...

Any help appreciated.

Keith BIngman

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


Re: [Radiant] Problem Loading Shards and Multisite

2008-02-05 Thread Keith Bingman
Sean,

Thanks. I figured it was something like that. But for some reason I am  
still having problems with Shards. It runs, but nothing is injected  
into the views. It also doesn't honor the load order in the  
environment.rb files.

Keith

On Feb 5, 2008, at 3:43 PM, Sean Cribbs wrote:

 Keith,

 The other day, I moved the rails2 branch into trunk (1.2 included
 acts_as_tree and acts_as_list).  I have not yet updated multi_site to
 include the acts_as_list plugin, but I will as soon as I can.

 Sean

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


Re: [Radiant] Problem Loading Shards and Multisite

2008-02-05 Thread Keith Bingman
Of course, the new file endings may be messing it up. By the way, I am  
really happy to see the use of haml in there. We have been writing all  
of our extension views in haml lately.

As for the new vendor folder, I assume this deals with loading plugins  
in extesnions. Have you tried moving attachment_fu there yet?

Keith


On Feb 5, 2008, at 4:21 PM, Sean Cribbs wrote:

 Ah!  It may be that I need to update Shards' file types (.html.erb vs.
 .rhtml).  I'm also going to add some tests later that verify it  
 actually
 injects partials.

 Sean

 Keith Bingman wrote:
 Sean,

 Thanks. I figured it was something like that. But for some reason I  
 am
 still having problems with Shards. It runs, but nothing is injected
 into the views. It also doesn't honor the load order in the
 environment.rb files.

 Keith

 On Feb 5, 2008, at 3:43 PM, Sean Cribbs wrote:


 Keith,

 The other day, I moved the rails2 branch into trunk (1.2 included
 acts_as_tree and acts_as_list).  I have not yet updated multi_site  
 to
 include the acts_as_list plugin, but I will as soon as I can.

 Sean


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



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

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


[Radiant] Drag and drop reorder extension

2008-01-16 Thread Keith Bingman
I am not sure if I am stepping on anyone's toes, but I got the old  
drag and drop version to work on 0.6.4 with shards. This way it plays  
nice with others, especially the copy_move extension.

Once I clean up the rake task,  I can post a svn link if anyone is  
interested.

Keith



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


Re: [Radiant] Problems with Virtual Domain and r:find

2008-01-10 Thread Keith Bingman
This works very nicely. Thanks. And it is a nice added bonus to be  
able to access pages from other websites within one Radiant  
installion. Nice work, both of you.

Keith


On Jan 10, 2008, at 12:35 AM, Todd Willey wrote:

 On Jan 9, 2008 3:39 AM, J Aaron Farr [EMAIL PROTECTED] wrote:

 Keith Bingman [EMAIL PROTECTED] writes:

 I have been using the Virtual Domain extension for several websites
 lately. Radiant is big and uses lot's of resources, so it is nice to
 host several small related sites on one installation...

 But now I have a problem: r:find is not working, at least for  
 sites
 that are not part of the main domain. It is very weird. Prior to
 0.6.4 and the updated Virtual Domain, this all worked fine. Has  
 anyone
 else seen this. It doens't return an error, just nothing...

 I've seen it.  And I've sent a patch off to Todd Willey that fixes it
 and adds support for referencing pages from other domains.  That is,
 with the virtual domain extension the root url '/' references the
 virtual domain, so there's no way to include a page from a different
 domain but same Radiant instance.  I changed that to allow urls like:

 r:find url=www.example.com:/terms_of_use/

 Thanks for sending this message though, because I needed to follow-up
 with Todd and send him another file.

 Its all in now.  You can grab trunk or the new rel_1-2-3 tag.

 -todd[1]


 --
  J Aaron Farr jadetower.com[US] +1 724-964-4515
馮傑仁  cubiclemuses.com [HK] +852 8123-7905

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

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


[Radiant] Problems with Virtual Domain and r:find

2008-01-09 Thread Keith Bingman
I have been using the Virtual Domain extension for several websites  
lately. Radiant is big and uses lot's of resources, so it is nice to  
host several small related sites on one installation...

But now I have a problem: r:find is not working, at least for sites  
that are not part of the main domain. It is very weird. Prior to  
0.6.4 and the updated Virtual Domain, this all worked fine. Has anyone  
else seen this. It doens't return an error, just nothing...

Keith

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


Re: [Radiant] enhancing page model with acts_as_taggable

2008-01-07 Thread Keith Bingman
I had acts_as_taggable running, a long time ago, but the main problem  
is that Radiant uses the Tag namespace for the, well Tags (the  
radius ones, not organizatonal ones). I got around this by hacking it  
a bit a renaming the tags to Metatags. Worked fine.

More recently I have been using has_many_polymorphs, which seems to  
be  a much better replacement for tagging that the various newer  
versions fo acts_as_taggable. It comes with a nice tagging generator  
and I spun that out into a small extension, which unfortunately broke  
with 0.6.4. I have not looked into it, as this was just a small  
personal project and I had people breathing down my neck for other  
more important things...

If you would like to play with the code, let me know, I will package  
it up.

keith


On Jan 4, 2008, at 5:24 PM, Benny Degezelle wrote:

 Hi list,

 I was wondering if anybody is using acts_as_taggable(_on_steroids)  
 on their
 pages yet?
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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


Re: [Radiant] [ANN] Virtual Domain Extension 1.2.2

2007-12-13 Thread Keith Bingman
I am glad to see that someone has taken up this extension. It is  
really nice to support several sites with one installation of Radiant.  
I actually have several sites doing this.

One thing that has always bugged me was the caching problem. Usually,  
when saving the page, the cache is cleared. Because of the virtual  
hosts in the cache path, this is not the case when using this plugin.  
I just dove into the plugin to see if there is any way to change this,  
but I don't see any way to get the hostname when editing the page.  
Short of clearing the whole cache, not just the page being editted,  
does anyone have any ideas how you might do thisß

Keith


On Dec 13, 2007, at 7:39 PM, Todd Willey wrote:

 It looks like this extension was no longer maintained and was
 incompatible with Radiant 0.6.4, so I've packaged up a fixed version.

 http://svn.devjavu.com/lexbrains/radiant_extensions/virtual_domain/tags/rel_1-2-2/

 ABOUT VIRTUAL DOMAINS
 You can host multiple websites from a single instance of Radiant by
 matching the Host: portion of the request headers against a regular
 expression you specify.  You need to set your homepage to be a
 'Virtual Domain' page type, and its immediate children will be used as
 the roots of the different sites you host.  Full instructions are in
 the README.

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

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


[Radiant] Admin Tree and Safari 3.0

2007-12-12 Thread Keith Bingman
Has anyone noticed that the Admin tree is collapsing with Safari 3.0?  
In Firefox it seems to work perfectly, but Safari is giving me  
problems...
The opened pages just won't stay open. Not a huge problem, as most of  
my customers use Firefox, but I am getting a bit frustrated.

Keith Bingman

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


Re: [Radiant] Admin Tree and Safari 3.0

2007-12-12 Thread Keith Bingman
The pages are collapsed when I return to the pages section. I have  
updated to the latest Javascripts, but it may be a cache issue.  
Safari is pretty bad about that, I am basically trying to get  
confirmation that it works with Safari 3.0.  I will try it again...

Thanks.

Keith


On Dec 12, 2007, at 9:29 AM, Mark Gallop wrote:

 Hi Keith.

 Keith Bingman wrote:
 Has anyone noticed that the Admin tree is collapsing with Safari 3.0?
 In Firefox it seems to work perfectly, but Safari is giving me
 problems...
 The opened pages just won't stay open. Not a huge problem, as most of
 my customers use Firefox, but I am getting a bit frustrated.


 Do you mean they are collapsed when you return to the pages section,
 or they can't be expanded? Either way I think you might need to update
 to the latest javascript files. I have Radiant 0.6.4 (with newer
 javascripts) and it works in Safari 3.

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

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


Re: [Radiant] Asset Manager Extension patch for use with 0.6.4

2007-11-20 Thread Keith Bingman
Hey Loren, nice to see that someone is using this.

I have totally refactored this, now it is not compatible with the old  
version, mostly because I am caching the images and storing them in  
the database. This lets me store one size and resize as needed. I have  
also switched the tagging around to use has_many_polymorphs, which  
seems to be working quite nicely.

While it doesn't run on Shards (yet?), it is running using facets- 
light, the previous system that Sean built into radiant for his own  
page_attachments extension. So it should run with Shards without too  
much trouble.

My current plan is to make to versions, one database backed, with the  
nifty resizing and a backward compatible version (which I need for an  
old site I have with 200+ images...). Slowly, it looks like I may have  
some time, too.

Thanks again for the patch.

Keith



On Nov 20, 2007, at 6:40 PM, Loren Johnson wrote:


 Attached is a patch to make the Asset Manager Extension work with  
 the current Radiant 0.6.4 release. The only change is to app/views/ 
 admin/page/edit.rhtml which is just a copy of the 0.6.4 edit.rhtml  
 with the Asset manager stylesheet and bucket inserts.

 Also, Keith's most recent blog entry indicates that he may be  
 refactoring this extension soon (http://keithbingman.com).  
 Personally I would like to see this become a Shards extension as it  
 seems that is quickly becoming the standard recipe for inserting  
 into admin views.

 Keith -- if you're listening, what are your plans for your Asset  
 Manager update?


 radiant_0.6.4_assets_extension.diff

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


Re: [Radiant] Image Caching

2007-11-02 Thread Keith Bingman
Dan,

thanks for the example, I got it working. The url I was checking was  
incorrect, now that the cache method checks the correct url, it works  
just fine.

Keith

On Nov 2, 2007, at 12:37 AM, Daniel Sheppard wrote:


 Second Question: what am I doing wrong? Can this system even cache
 images?

 You're doing nothing wrong, in fact, you're reproducing my

 By which I meant, you are doing _something_ wrong, just that there's
 nothing fundamentally wrong with your plan.

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

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


[Radiant] Image Caching

2007-11-01 Thread Keith Bingman
I am working on an image extension, which stores the images in the  
database, then resizes them on retrieval. To make this at all usable,  
I of course need to be able to cache the images. I had hoped to use  
the Radiant system to do this, but so far have been unable to make  
this work. I am basing the controller on the Radiant site_controller  
and have been able to write the image to the cache folder without  
problem.

The problems start when retrieving the image: first it does not  
recognize that an image has been cached and when I force it, then  
retrieving the image results in a blank page.

Two questions: should I even bother with the Radiant system? Does it  
bring me an advantage or should I just use the standard rails caching.

Second Question: what am I doing wrong? Can this system even cache  
images?

Here is the image_controller, anything totally stupid and obvious?  
http://pastie.caboo.se/113246


Thanks for any help.

Keith Bingman

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


Re: [Radiant] [PREVIEW] Snapshot extension: serve Radiant sites statically

2007-10-26 Thread Keith Bingman
I just installed and started playing around with this plugin.  
Basically, it works just great, but it does have one limitation,  
which may not effect most people, but is a big thing for me.

It doesn't parse through Virtual Pages, but just renders them with  
their literal urls. I am talking about Archive pages and other  
pages that don't literally exist, which I actually use a lot these  
days (mostly for a tagging extension I am working on). I realize this  
is a small nitpick, but it would be great to figure out how to do this.

Other than that, really cool. I have a few simpler projects which  
just don't warrant an installation of Radiant that would be greatly  
served by this.

Nice work.

Keith Bingman


On Oct 24, 2007, at 9:11 PM, Aitor Garay-Romero wrote:

 The basic idea of the snapshot extension is to generate a local  
 copy of
 all pages in Radiant's database.  This allows to deploy a complete  
 site as
 static files to the web server, where it can be served statically  
 by the web
 server (Apache...) without a running Radiant instance.   It's  
 useful for
 deployment of Radiant sites to cheap hosting servers where there  
 isn't Rails
 support.  Also high traffic sites will benefit.

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


Re: [Radiant] Virtual Domain extension

2007-10-23 Thread Keith Bingman
Please disregard this. I just realized there was an old copy of the  
copy_move extension installed.

Thanks.

On Oct 23, 2007, at 4:41 PM, Keith Bingman wrote:

 Is anyone else using the virtual domain extension? I really like it,
 but I have 2 instances of Radiant installed and they are both giving
 me the collapsing tree bug (where the page tree always closes and
 doesn't remember your position). One instance is old, I still haven't
 updated it. The other though in brand new, 0.6.3 with no other
 extensions yet. I even reran rake radiant:update just to be sure.

 Any ideas?

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

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


Re: [Radiant] Test

2007-10-18 Thread Keith Bingman
Guess I am the first.

Keith Bingman

On Oct 18, 2007, at 2:19 AM, John W. Long wrote:

 This is a test message. Please reply to it if you are the first person
 to have received it.

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

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


Re: [Radiant] Issues with the new tree admin extension and with the admin tree expansion

2007-10-07 Thread Keith Bingman

On Oct 7, 2007, at 4:16 AM, Daniel Sheppard wrote:


 Are you running any other extensions? If there's another extension  
 that
 is overriding the _node.rhtml page, that will mess up my extension.

 It looks like shards just added _node.rhtml. Make sure that
 admin_tree_structure is loaded after shards (either by using numeric
 prefixes or the config.extensions setting in environment.rb)

 Dan.

I am getting this same problem. The 2007 folder just keeps  
appearing, recursively. I just installed a new version of radiant  
with the latest Gem (0.6.3) and no other extensions and a just the  
Styled Blog in the database. No luck.

The _node.rhtml file from the extension is definitely being loaded, I  
made a minor change and it showed up. Not sure exactly what is  
happening here, but I would love to use this extension, so let's try  
to get this sorted out.

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


Re: [Radiant] [ANN] Shards extension

2007-09-24 Thread Keith Bingman
Ideally, no extension would alter the other views, but for most  
situations this isn't practical. I thinks the shards extension is  
actually a very elegant way to handle this issue.

But is it just me or does it give a no method error  when the  
children are expanded? I have tried it on a fresh install, but keep  
getting an error. I am using the gem, updated to edge and no other  
extensions.

NoMethodError in Admin/page#children

Showing vendor/extensions/shards/app/views/admin/page/_node.rhtml  
where line #39 raised:

Any ideas?

Keith Bingman




 I understand your concern.  It's easy to get a bloated mess, but it
 should be the responsibility of individual extension designers to make
 sure their modifications add meaningfully to the interface and don't
 detract from it.

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

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


Re: [Radiant] [ANN] Shards extension

2007-09-24 Thread Keith Bingman
 I ran into that error earlier.  I thought I had committed the fix, but
 I'll do it asap.  Thanks for the heads up.

 Sean

Thanks Sean, it works just fine now.

Keith

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


Re: [Radiant] [ANN] Shards extension

2007-09-24 Thread Keith Bingman
 I ran into that error earlier.  I thought I had committed the fix, but
 I'll do it asap.  Thanks for the heads up.

Sean,

I found another minor bug, but one that drives us all nuts: the tree  
doesn't stay open on the Pages index.
You forgot the json on the page tree:

It is:

// ![CDATA[
   new SiteMap('site-map' %);
// ]]

but should be

// ![CDATA[
   new SiteMap('site-map', %= expanded_rows.to_json %);
// ]]

And as long as I am being picky, the loading spinner doesn't shut  
off. I haven't figured out.

Now I am going to get to actually using this!

Keith

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


Re: [Radiant] different layout for different renderings

2007-08-22 Thread Keith Bingman
You should be able to do this with a page type. The page type can get  
the paremeter, then add a conditional tag to test for it. I actually  
may need this, if it works, I will let you know.


Keith Bingman

[EMAIL PROTECTED]
http://keithbingman.com




On Aug 22, 2007, at 3:08 PM, Aitor Garay-Romero wrote:

  As i understand, when the news page is rendered inside a tab it's
 retrieved dynamically with AJAX and added to the DOM.  Then you  
 want to show
 the same page with layout when is accessed directly by the user.

 AFIK this is not possible with Radiant as it's now.  This looks  
 like the
 task for an extension.  Take a look to existing extension, may be  
 there is
 one that allows you to do this.

 /AITOR

 On 8/22/07, Raphael Bauduin [EMAIL PROTECTED] wrote:

 Hi,

 I'm using radiant for the Profoss website ( http://www.profoss.eu ).
 Profoss organises events, and each event has its own news section.
 This news section is displayed in a tab (widget from extjs.com), eg
 http://www.profoss.eu/events?tab=news

 If you visit this link, you'll see that the page is rendered as pure
 html, so the layout is simply r:content /.

 Although the page is displayed in a tab, I also would like to make it
 available at http://www.profoss.eu/events/october-2007-asterisk/news
 The problem is that the page there is also rendered with a simple  
 layout.

 Is there a way to configure the layout used according to a parameter
 passed in the url? That way I would pass something like
 ?embedded=true when requesting the page for the tab content, but  
 the
 full layout would be used when accessing the URL without this
 parameter.

 Or is there an even better solution?

 thanks

 Raph
 --

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


Re: [Radiant] different layout for different renderings

2007-08-22 Thread Keith Bingman
You just made my day. I have been hacking around for weeks on this. I  
never could see anything that was just sitting in front of me!

Thanks!

Keith Bingman

[EMAIL PROTECTED]
http://keithbingman.com




On Aug 22, 2007, at 3:23 PM, Andrew Bloom wrote:

 Assuming Aitor is right and AJAX is being used to fetch the page,
 could you simply apply the layout all the time, use AJAX to fetch the
 page, but only add to the DOM from a certain element (ie: place
 everything important inside div id=important and then only copy
 its children from the AJAX response into the current DOM)? This
 should be a fairly simple Javascript solution that won't require any
 Radiant/Rails hacking...


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


Re: [Radiant] New in Jargon: User Language Preference

2007-08-10 Thread Keith Bingman
Thanks Sean, this is the spot, but for some reason, it won't take any  
of the Gibberish strings. If I change the main string (i.e Pages),  
it does change it, but not using the Gibberish translations. Very  
weird. Any ideas?

On Aug 10, 2007, at 8:33 PM, Sean Cribbs wrote:

 http://dev.radiantcms.org/radiant/browser/branches/jargon/radiant/ 
 lib/radiant/initializer.rb#L54

 That should be what you're looking for.

 Sean

 Keith Bingman wrote:
 Wow. Very nice.

 One thing, and I have been meaning to ask this since I started trying
 to add Gibberish, where can we change the main menu (Pages, Snippets,
 etc.)? Or is this even possible? Are the names strictly connected to
 the Models?

 Other than that, truly great.

 Keith Bingman

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


Re: [Radiant] The name 'admin' is reserved by Ruby on Rails

2007-08-09 Thread Keith Bingman
I thought I was getting closer to figuring it out today, but it is  
weird. Using the gem on one machine I don't get it, on another I do.  
When I get a chance, I will look further into just what the  
differences are.

For now, I just do it without the admin and change the few things  
that need it by hand...

Keith

On Aug 9, 2007, at 9:00 PM, Luigi Rizzo wrote:

 Hi.

 I'm gettting:  The name 'admin' is reserved by Ruby on Rails  error
 when generating an extension (I'm following the tutorial).

 I saw some discussions going on the list about this issue but, unless
 I'm missing something, it doesn't appear the issue has been resolved.

 Any ideas on how to sove it? Workaround?

 Thanks in advance.

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

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


Re: [Radiant] Avoid Stylesheet Children

2007-08-03 Thread Keith Bingman
I would do this in an extension. John has a very nice tutorial at  
http://www.radiantcms.org/blog/archives/2007/06/23/tutorial-creating- 
radiant-extensions/
This should get you going. In short, radiant has extension generators  
that work like the normal rails generators.

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Aug 3, 2007, at 8:29 AM, Mohit Sindhwani wrote:

 Thanks Keymone,

 I have my work cut out for the weekend now.  I think this will also  
 give
 me the chance to try out adding a Rails model to a Radiant site
 (something I haven't yet done).

 Do I create the model in the same way as a regular Rails app?  In the
 root of the Radiant directory, I just go
 [#]script\generate model .

 Thanks for your help.

 Cheers,
 Mohit.
 8/3/2007 | 2:27 PM.


 Keymone wrote:
 maybe there is a reason to implement page properties?
 using page parts for that can cause huge overhead

 it's better (and more obvious) to type
 r:if_content property=hide from menu /r:if_content

 on rails side you only have to add Property model
 and give Page has_many :properties

 there will be properties tab on page edit and user should be
 able to add properties specifying property name and property
 value. to improve performance of SQL queries properties can
 also have type attribute e.g. int, string, date and properties
 inheritance between pages.

 On 8/2/07, * Mohit Sindhwani* [EMAIL PROTECTED]  
 mailto:[EMAIL PROTECTED]
 wrote:

 Hi Edwin,

 Thank you for the suggestion.  I'm still new to the tags in
 Radiant, but
 I shall keep a lookout for the unless_content tag.

 I'm still a bit confused about how to use your suggestion, but
 I'll try
 a few things and hopefully stumble on the correct meaning! :)

 Cheers
 Mohit.


 Edwin Vlieg wrote:
 Hi,

 I always overcome this problem by adding an empty page part to the
 stylesheet. By using the r:unless_content part=no_menu tag
 you can
 determine which pages should be added to the main menu.

 Edwin

 Op 2-aug-2007, om 11:32 heeft Mohit Sindhwani het volgende
 geschreven:

 Hi Everyone,

 After being away for a while, I'm now taking a few days to play
 with
 Radiant again in the hope of migrating one of my static sites to
 Radiant.  In my 'Hello World' example that I uploaded as a
 tutorial, I
 created a stylesheet as a child of the main page and then used
 that for
 styling the main page as well as any of its children.

 Now, I've run into this problem.  If I try to iterate through the
 children of the main page to create a list of links to the
 children, it
 obviously also creates a link to the stylesheet.  I'm sure that
 there is
 a simple way to avoid it, but I think I'm too green just yet. :-|

 Thanks for the help.

 Cheers,
 Mohit.
 8/2/2007 | 5:32 PM.





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




 -- 
 Regards, Keymone


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

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


Re: [Radiant] Avoid Stylesheet Children (Updated)

2007-08-03 Thread Keith Bingman
Unfortunately, this is not an extension, but a pretty major hack of a  
branch... might be a nice starting point though.

Keith Bingman
Tel: +49-7731-7983830
[EMAIL PROTECTED]
http://keithbingman.com




On Aug 3, 2007, at 11:04 AM, Edwin Vlieg wrote:

 Hi Mihot,

 You could have a look at the page attributes tag, I think that does
 the trick :-)

 http://wiki.radiantcms.org/Thirdparty_Extensions

 Edwin


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


[Radiant] Problems with extension generators

2007-07-24 Thread Keith Bingman
Hey, my friend was trying to generate a controller today and when he  
tried:

script/generate extension_controller Products admin/species

He got:

   The name 'admin' is reserved by Ruby on Rails.
   Please choose an alternative and run this generator again.

I tried myself and got the same error. Without the admin, it runs  
fine. I also tried it on a fresh install, just in case it was  
something I added, but got the same results.

Any ideas?

Keith Bingman
Tel: +49-7731-7983830
[EMAIL PROTECTED]
http://keithbingman.com




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


Re: [Radiant] page_attachments

2007-07-17 Thread Keith Bingman
Adding some iteration tags is actually not very hard. You can easily  
find all page attachments for a given page and cycle through them. I  
have done this, but I am not sure where the tags are... :) I prefer  
some sort of gallery plugin for such things, but sometimes it is nice  
to have a few images together. I will see if I can find the tags and  
post them.

As for  the second part, I would have to agree with Sean.

Keith Bingman
Tel: +49-7731-7983830
[EMAIL PROTECTED]
http://keithbingman.com




On Jul 17, 2007, at 10:33 PM, Keymone wrote:

 1) imho it's not very good assumption... iteration would be VERY  
 useful
 feature
 for example to easily create javascript-based gallery. when i  
 create page
 Gallery i won't attach anything except images i want to show...

 2) i agree with Sean..

 On 7/17/07, Sean Cribbs [EMAIL PROTECTED] wrote:

 Michael,

 1) page_attachments assumes you want a particular file accessible  
 from a
 particular page or its children.  It also assumes you know the  
 name of
 the file and makes no assumptions about the format of the file, be it
 text, image or some other binary format.  There is no way to iterate
 through the attachments of any given page.
 2) This again falls out of the scope of page_attachments.  I wouldn't
 want random visitors uploading files into my page, so I didn't add  
 that
 functionality.

 Overall, it sounds like you want some full-fledged gallery software.
 The gallery extension might fit your needs.  There's also always room
 for another extension that implements the functionality you desire.

 Sean


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

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


Re: [Radiant] Radiant CMS Japan

2007-07-16 Thread Keith Bingman
Nothing will override the extension files, you will need to translate  
those as well. The extensions are the last thing loaded.

Like I have mentioned, I have a patch pending, check out the dev  
site, most of the work is done. You will just need to do the actual  
translation. I also have some patched for the reorder and copy/move  
extensions.

I can send them to you if you would like.

Keith Bingman
Tel: +49-7731-7983830
[EMAIL PROTECTED]
http://keithbingman.com




On Jul 16, 2007, at 11:02 AM, Keymone wrote:

 so? any ideas? i just need a guideline.. what files
 did you translate and where did you put them so
 they will override extensions files?

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

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


Re: [Radiant] Radiant CMS Japan

2007-07-16 Thread Keith Bingman
Whoops, let's see what I can put together!


Keith Bingman
Tel: +49-7731-7983830
[EMAIL PROTECTED]
http://keithbingman.com




On Jul 16, 2007, at 11:14 AM, Keymone wrote:

 well.. i did send mail to you about that :)
 maybe it went into spam don't know

 On 7/16/07, Keith Bingman [EMAIL PROTECTED] wrote:

 Nothing will override the extension files, you will need to translate
 those as well. The extensions are the last thing loaded.

 Like I have mentioned, I have a patch pending, check out the dev
 site, most of the work is done. You will just need to do the actual
 translation. I also have some patched for the reorder and copy/move
 extensions.

 I can send them to you if you would like.

 Keith Bingman
 Tel: +49-7731-7983830
 [EMAIL PROTECTED]
 http://keithbingman.com




 On Jul 16, 2007, at 11:02 AM, Keymone wrote:

 so? any ideas? i just need a guideline.. what files
 did you translate and where did you put them so
 they will override extensions files?

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

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




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

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


Re: [Radiant] extensions

2007-07-11 Thread Keith Bingman
I have actually translated about 95% of Radiant using the Gibberish  
plugin. There is a patch on the dev site, but I need to add a few  
things, then you can change the language using a yaml file. This of  
course does not address any extensions, but these are easily added.  
The main problem would be the very popular (and great) copy/move  
extension and the reorder extension. I have these both done as well,  
but have not submitted patches for them.

Email me and I will give you the latest patch. I have been meaning to  
submit a new one, but as I am swamped with work, I haven't had time.

Once you figure out how radiant works, this is all very easy. If I am  
changing something in the core code, then I do not use the gem, but  
rather an svn checkout. The avoids one of your problems. Then as Sean  
says, be sure to check your extensions, they override everything.  
Read Sean's post carefully and you will figure out where everything is.

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Jul 11, 2007, at 10:26 PM, Keymone wrote:

 the problem is i'm trying to translate administrative part but
 i don't know what files should i change.

 this is pretty common problem - if i want something to look
 in different way it is natural to add replacement into /app/views
 folder and happily see that application is using my changes.


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


[Radiant] Virtual Machine for Radiant

2007-06-29 Thread Keith Bingman
I have talked a customer into using Radiant for a small project, but  
they would like to remain with their server, who does not offer  
Rails. However, they offer virtual machines and have Rails apps  
running on those. So far so good. My question is how much RAM should  
I go for? They offer 128 MB and 256 MB for only a little more. Is 128  
enough or should I just talk them into the 256 and save everybody  
some time?

Thanks.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




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


Re: [Radiant] Virtual Machine for Radiant

2007-06-29 Thread Keith Bingman
Thanks. This is exactly what I needed to know. Yes ImageMagick (or  
ImageScience) will be included. Are there any good resources you can  
point me to about setting this all up? I have lots of Radiant sites  
at this point, but all on shared hosting. This is a first.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 29, 2007, at 8:10 AM, Daniel Sheppard wrote:

 128MB is probably too little, unless you're planning on getting  
 away with a single mongrel running the site. If you include
 imagemagick-based image manipulation of any kind, that 128MB might  
 be pushing it too.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Keith Bingman
 Sent: Friday, 29 June 2007 4:08 PM
 To: radiant@lists.radiantcms.org
 Subject: [Radiant] Virtual Machine for Radiant

 I have talked a customer into using Radiant for a small project, but
 they would like to remain with their server, who does not offer
 Rails. However, they offer virtual machines and have Rails apps
 running on those. So far so good. My question is how much RAM should
 I go for? They offer 128 MB and 256 MB for only a little
 more. Is 128
 enough or should I just talk them into the 256 and save everybody
 some time?

 Thanks.

 Keith Bingman
 Tel: +49-7731-79838380
 [EMAIL PROTECTED]
 http://keithbingman.com




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

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

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


Re: [Radiant] reorder plugin

2007-06-22 Thread Keith Bingman
I do this for all my sites. It makes life just so much easier.

There was a bug in the javascript of the reorder plugin, I am not  
sure if this has been taken care of (there was an open ticket about  
it). It was also in the copy/move funciton, basically the children  
were not remaining open or closed like they should. It this taken  
care of?


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 22, 2007, at 11:51 AM, Andrea Franz wrote:


 Il giorno 22/giu/07, alle ore 10:57, Hans de Graaff ha scritto:

 Hi,

 I just installed the reorder extension. It works as advertised and
 makes
 it easy to have pages appear in the correct order. I did notice a few
 things while installing and using it, though.

 Previously I had also installed the copy/move extension to help
 with some
 site reorganization. After installing the reorder plugin the copy/ 
 move
 icons are gone. The functionality is still there and can be
 accessed by
 entering the correct URL. I guess this happens because both  
 extensions
 overwrite app/views/admin/page/index.rhtml and the last one wins.

 Exactly..you can add the copymove icon/link inside the _node.rhtml  
 file.


 -
 Andrea Franz

 [EMAIL PROTECTED]
 http://bigchieflabs.com/blog/
 http://think.bigchief.it


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

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


Re: [Radiant] Search Extension

2007-06-22 Thread Keith Bingman
If this is your actual code, there is a typo in it. length is  
mispelled. Hopefully that is it!

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 22, 2007, at 2:36 PM, Clark Kent wrote:

 Hy folks,

 After implementing the extension: Search in my site, I have tried  
 to use
 r:truncate_and_strip [length=100] / tag but It doesn't work how I
 want.

 The problem: I need to display a snippet of the found pages and i  
 tried
 this piece of code:

 r:search:results:each
  h3r:link//h3
   r:truncate_and_strip lenght=50r:content // 
 r:truncate_and_strip
 /r:search:results:each

 but it returns much more than 50 characters.

 I need some help, please!
 Can you give me an example?

 Cheers

 crick

 -- 
 Posted via http://www.ruby-forum.com/.
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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


Re: [Radiant] Page Attachments for layouts

2007-06-20 Thread Keith Bingman
This is a great idea. I have been playing around with the  
attachment_fu database library (which isn't exactly finished). You  
have to build your own path conrollers and helpers and such, but it  
does work nicely. This combined with CSS images would make for a  
completely databased website.

Incidently, I got the Radiant system to cache the images quite  
nicely. Would this be the preferred method to cache the images on the  
filesystem or should I stick to normal rails caching? My gut instinct  
tells me to go with the radiant system.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 20, 2007, at 3:15 PM, Sean Cribbs wrote:

 Peter Berkenbosch wrote:
 Hi Sean,

 I was wondering, how hard should it be to extend the scope of the
 page_attachment extension to also include layouts?

 I'm working on a layout atm, and it has some images (like a logo etc)
 and a flash file etc. I think it should be really helpfull if you can
 simply upload files in the layout context.

 Just a thought, perhaps it''s a nice excersice for me to try it  
 myself.


 Peter Berkenbosch
 Peter,

 It's very possible!  When I designed page_attachments I realized that
 this might be a need.  Basically what happens is, if the attachment is
 not found in the current page, it searches its parents recursively  
 until
 the root page is reached. So you can use files attached to the root  
 page
 in any page in the site.  If your images are essentially background
 images, you could attach them directly to the relevant CSS page,  
 rather
 than in root page.

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

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


[Radiant] i18n and Gibberish

2007-06-19 Thread Keith Bingman
A couple of weeks ago I posted a patch to add Gibberish support to  
Radiant. It was actually quite easy. I have a post over on the dev  
list at Google groups, but that one is _very_ slow.

Has anyone (especially from the core team) had a look? I still feel  
strongly that we should get going on this, it will only get harder.  
And Gibberish is great, and makes everything very easy to maintain.

Take a look Patch Number 504, I think. Unfortunately the site is  
down, so I can't check...


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com





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


Re: [Radiant] i18n and Gibberish

2007-06-19 Thread Keith Bingman
As I said, this isn't what I was talking about, but this looks very  
interesting, as does Slate. I will definitely give it a whirl as soon  
as I can.

Keith Bingman

On Jun 19, 2007, at 8:30 PM, Dave Olsen wrote:

 Not sure if this is the kind of thing you were looking for but for our
 CMS we've created a helper to drop in a Textile editor for text areas.

 http://slateinfo.blogs.wvu.edu/plugins/textile_editor_helper

 On 6/19/07, Keith Bingman [EMAIL PROTECTED] wrote:
 Thanks, just curious, as I had heard nothing.

 I haven't done the Textile and Markdown plugins, which mainly means
 the reference. What are thoughts on this? Do people think it is
 required? Nice, of course, but required?

 Keith Bingman
 Tel: +49-7731-79838380
 [EMAIL PROTECTED]
 http://keithbingman.com




 On Jun 19, 2007, at 7:17 PM, Sean Cribbs wrote:

 Keith,

 I saw your patch and liked it (so did John, IIRC).  We're sorry  
 about
 the patch backlog... there's a lot of interest right now and it's  
 hard
 to keep up.

 Sean

 Keith Bingman wrote:
 A couple of weeks ago I posted a patch to add Gibberish support to
 Radiant. It was actually quite easy. I have a post over on the dev
 list at Google groups, but that one is _very_ slow.

 Has anyone (especially from the core team) had a look? I still feel
 strongly that we should get going on this, it will only get harder.
 And Gibberish is great, and makes everything very easy to maintain.

 Take a look Patch Number 504, I think. Unfortunately the site is
 down, so I can't check...


 Keith Bingman
 Tel: +49-7731-79838380
 [EMAIL PROTECTED]
 http://keithbingman.com





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



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

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



 -- 

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

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


Re: [Radiant] page_attachments TextDrive with lighttpd anyone?

2007-06-17 Thread Keith Bingman
You should think about MiniMagick, as well. RMagick hits the memory  
limit pretty fast on TextDrive. I have not had much luck with it  
there. You can install MiniMagick as a gem or plugin in your vendor  
folder, then just specify the processor as mini_magick. I have a site  
on Textdrive using page_attachments and MiniMagick. It runs fine.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 17, 2007, at 10:20 PM, Sean Cribbs wrote:

 When I was running a pre 0.6 version on TextDrive, I had to specify
 RMagick as the processor because ImageScience was broken.  Try this
 from a shell:

 $ irb
 require 'rubygems'
 = true
 require 'image_science'

 If at that point, you get an error and stack trace, it is incorrectly
 configured on your server.  Until they fix it, you can edit
 vendor/extensions/page_attachments/app/models/page_attachment.rb and
 add this option to the has_attachment line:

 :processor = :rmagick

 You may want to add that line even if you don't get an error on
 ImageScience.  Let me know if that works for you.

 Sean

 On 6/17/07, Grant Blakeman [EMAIL PROTECTED] wrote:
 Just checking to see if anyone is using page_attachments  
 successfully on a
 TextDrive account running lighttpd. I'm using such a setup as my test
 server  and get an application error whenever I try to attach  
 files. My
 production box is on another host running mongrel and everything  
 works
 beautifully, however.

 Anyone else get it running on TextDrive? Did you run in to any
 textdrive-specific issues I should check out to get my test site  
 running
 again? Thanks!

 --
 -Grant Blakeman
 [EMAIL PROTECTED]
 http://grantblakeman.com
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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

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


Re: [Radiant] Relative Linking in Radiant

2007-06-12 Thread Keith Bingman
I am not really sure what your problem is here. Parents act like  
folders as far as the browser is concerned, so nothing has really  
changed. Ithink your only problem is the leading slash, which will  
tell the browser to look at the root. So in your example, instead of  
writing a href=b, you need to write a href=/b.

So basically, you need to put the slash not behind a, but in front  
of b. This isn't anything that has to do with Radiant specifically,  
but is typical of most content management systems. I know Textpattern  
works similarly.

Is this what you are asking?

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 12, 2007, at 7:30 AM, Chris Parrish wrote:

 My apologies if this has already been discussed...

 I'm converting a website which uses relative links into Radiant.
 Relative links are a bit screwy in Radiant because Radiant has done  
 away
 with folders.

 I like this convention -- that pages can have children -- but browsers
 still think in terms of folders.  The issue is the trailing slash.

 In the following example:
  root
   |- A
   |  |- C
   |  |- D
   |- B

 In Radiant, I can render page A in my browser with either:
   * http://root/a
   * http://root/a/

 This makes perfect sense since page A is both a child of root/ and the
 parent of other pages.

 However, if in page A I have a relative link: a href=b, the target
 page depends on the address used.  In the first case, I will be  
 directed
 to http://root/b because the browser thinks I'm in the root/  
 folder.  In
 the second case, I'm sent to http://root/a/b because it thinks I'm in
 the root/a/ folder.

 Has anyone else run into this?  If so, how are you solving it?  Is  
 there
 a best practice here or some Radiant tag, or is everyone just using
 absolute URLs?

 -- 
 Posted via http://www.ruby-forum.com/.
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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


Re: [Radiant] DB.config - Radiant defaults

2007-06-11 Thread Keith Bingman
I second this, for a lot of users, this would be great.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 11, 2007, at 7:31 PM, David Piehler wrote:

 Any chance defaults.page.filter could be added to the config DB  
 table?
 That would be quite helpful.

 -- 
 Posted via http://www.ruby-forum.com/.
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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


Re: [Radiant] page_attachments thumbnails

2007-06-06 Thread Keith Bingman
I solved it by writing an image tag with a size attribute. This  
just passes a key to the public_filename in attachment_fu. Then I can  
make and access any size I want using something like  
r:attachment:image size=thumbnail / with calls the image path  
with public_filename(:thumbnail). This gives me a great deal of  
flexibility to autogenerate specific sizes and easily call them.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 6, 2007, at 2:28 PM, Sean Cribbs wrote:

 There's no specific support for thumbnails, other than being generated
 to support the UI.  They are 50x50 by default. Would a thumbnail tag
 be helpful?

 Sean

 Jonathan Métillon wrote:
 Hi,

 I have page_attachments installed and running on Radiant edge. I also
 have MiniMagick installed. gem list shows:

 mini_magick (1.2.0)
 Manipulate images with minimal use of memory.

 The r:attachment:image / tag works very well!

 But in the Available Tags list, I can't see anything related to
 generating a thumbnail. Is there something like
 r:attachment:thumbnail / ?

 Thank you.

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



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

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


Re: [Radiant] page_attachments thumbnails

2007-06-06 Thread Keith Bingman
If you would like, I can send you the code I have.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 6, 2007, at 2:41 PM, Sean Cribbs wrote:

 Awesome, Keith.  I'll put that in the extension right away.

 Sean

 Keith Bingman wrote:
 I solved it by writing an image tag with a size attribute. This
 just passes a key to the public_filename in attachment_fu. Then I can
 make and access any size I want using something like
 r:attachment:image size=thumbnail / with calls the image path
 with public_filename(:thumbnail). This gives me a great deal of
 flexibility to autogenerate specific sizes and easily call them.

 Keith Bingman
 Tel: +49-7731-79838380
 [EMAIL PROTECTED]
 http://keithbingman.com




 On Jun 6, 2007, at 2:28 PM, Sean Cribbs wrote:


 There's no specific support for thumbnails, other than being  
 generated
 to support the UI.  They are 50x50 by default. Would a  
 thumbnail tag
 be helpful?

 Sean

 Jonathan Métillon wrote:

 Hi,

 I have page_attachments installed and running on Radiant edge. I  
 also
 have MiniMagick installed. gem list shows:

 mini_magick (1.2.0)
 Manipulate images with minimal use of memory.

 The r:attachment:image / tag works very well!

 But in the Available Tags list, I can't see anything related to
 generating a thumbnail. Is there something like
 r:attachment:thumbnail / ?

 Thank you.

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



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


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



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

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


Re: [Radiant] page_attachments thumbnails

2007-06-06 Thread Keith Bingman
I forgot, I did something similar on the link tag, so that you can  
make links to specific image sizes as well. I don't use this one  
much, but it is good for embedding light box images in blog posts and  
such. Like this: /http://bitchkittyracing.com/articles/keiths-visit- 
days-0-1/

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 6, 2007, at 2:41 PM, Sean Cribbs wrote:

 Awesome, Keith.  I'll put that in the extension right away.

 Sean

 Keith Bingman wrote:
 I solved it by writing an image tag with a size attribute. This
 just passes a key to the public_filename in attachment_fu. Then I can
 make and access any size I want using something like
 r:attachment:image size=thumbnail / with calls the image path
 with public_filename(:thumbnail). This gives me a great deal of
 flexibility to autogenerate specific sizes and easily call them.

 Keith Bingman
 Tel: +49-7731-79838380
 [EMAIL PROTECTED]
 http://keithbingman.com




 On Jun 6, 2007, at 2:28 PM, Sean Cribbs wrote:


 There's no specific support for thumbnails, other than being  
 generated
 to support the UI.  They are 50x50 by default. Would a  
 thumbnail tag
 be helpful?

 Sean

 Jonathan Métillon wrote:

 Hi,

 I have page_attachments installed and running on Radiant edge. I  
 also
 have MiniMagick installed. gem list shows:

 mini_magick (1.2.0)
 Manipulate images with minimal use of memory.

 The r:attachment:image / tag works very well!

 But in the Available Tags list, I can't see anything related to
 generating a thumbnail. Is there something like
 r:attachment:thumbnail / ?

 Thank you.

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



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


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



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

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


Re: [Radiant] Images again

2007-06-05 Thread Keith Bingman
What are the core plans for a new image manager? I have one I wrote,  
there is Sean's and then the Gallery extension, but it seems like  
there should be some sort of official plugin. None these (mine for  
sure!) are really ready for prime time or all they all that they  
could be. This seems to be something that people need, the list has  
been flooded with questions in the last few weeks.

What is the killer feature of 0.7 in any case. 0.6 was extensions,  
which have worked out very well and opened things up a lot, but where  
do we go from here? Are blogging features still the main focus?

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 5, 2007, at 4:05 PM, Sean Cribbs wrote:

 Johan Rönnblom wrote:
 Hi again

 I've followed the discussion about using page attachments for  
 images with great interest, and finally we got it working too.  
 However, because you can't reference attachments from snippets or  
 layouts, this doesn't really seem like a good solution for images  
 that reoccur throughout a website design (such as a logo or  
 whatever). Surely there must be some way to reference static  
 images somehow?  I can't find any documentation on this. Eg, is  
 there some directory in a radiant project that will act as web  
 root, or can one be created?

 Thanks for any help,


 Your only option with page attachments for site-wide images is to  
 attach
 them to the root page.  The current method for finding attachments  
 is to
 search the current page and then the parent pages recursively.

 Sean

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

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


Re: [Radiant] Page admin interface bug

2007-06-04 Thread Keith Bingman
It looks like there is a patch for this, Ticket #505. It is a simple  
one line change.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 1, 2007, at 8:36 AM, Keith Bingman wrote:

 No problem, I am travelling, so it will be a day or two.

 Keith Bingman
 [EMAIL PROTECTED]
 Tel: +49-7731-7983830



 On Jun 1, 2007, at 4:56 AM, John W. Long wrote:

 Keith Bingman wrote:
 Are you using the reorder plugin? I had this issue with that, you
 need to update the index view in that plugin, it is a small change,
 just copy the admin/page/index.html view from radiant into the
 extension and on the modify header column in the table, change the
 colspan from 2 to 4. this worked for me. I guess I should report
 the bug, but  I just figured in out yesterday and am at Reboot now.

 Keith, can you make up a patch for the reorder ext?

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

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

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


Re: [Radiant] Page admin interface bug

2007-05-31 Thread Keith Bingman
Are you using the reorder plugin? I had this issue with that, you  
need to update the index view in that plugin, it is a small change,  
just copy the admin/page/index.html view from radiant into the  
extension and on the modify header column in the table, change the  
colspan from 2 to 4. this worked for me. I guess I should report  
the bug, but  I just figured in out yesterday and am at Reboot now.

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On May 31, 2007, at 11:42 PM, Andrew O'Brien wrote:

 I noticed that if I click the minus button on a page with children, it
 hides the children as expected but the button doesn't change back to a
 plus and clicking again it won't re-expand.  I figured I'd ask if
 anyone else had this problem before investigating further.

 I'm using Safari and Firefox.

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

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


Re: [Radiant] Adding (single) images

2007-05-30 Thread Keith Bingman
There are two things you can use, for your purposes it sounds like  
Sean Cribbs page attachments would work nicely. http:// 
svn.seancribbs.com/svn/rails/plugins/extensions/
When I need something lightweight I have been using this, though with  
a few modifications.

I wrote another assets manager, but it is pretty complicated to get  
going and I haven't had a chance to update it. I do have it running  
on two production sites. You can read more at http://keithbingman.com/ 
blog. It has a lot of dependancies, so download the zip file.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com
http://keith.bitchkittyracing.com



On May 30, 2007, at 9:43 AM, Johan Rönnblom wrote:

 Hi

 I'm wondering what would be the preferred method to let users add  
 (single) images to a Radiant website. In this case, users do not  
 have access to the webserver, and besides it would be easier for  
 them to be able to do it in the same interface.

 I suppose it would be possible to use the Gallery extension, even  
 when we're just displaying lone images in this case. Any other  
 suggestions?

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

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


[Radiant] problems with virtual domain extension

2007-05-30 Thread Keith Bingman
has anyone else been having problems with the cache expiry on the  
virtual domain extension? I have my site divided into three virtual  
domains, a main site and two private blog sites, but now the  
automatic cache clear, when an article is edited for example, no  
longer works. This is now really annoying as I have a comments  
extensions running. It used to clear the cache, but now that seems  
broken...

i haven't looked into this yet, but thought i would ask if other  
people had noticed it.

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



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


Re: [Radiant] iFrame links

2007-05-29 Thread Keith Bingman
Yes. That is clear. I am trying to link directly to a page with an  
iFrame from an external link. Basically a bookmark. I think I know  
how to do it, but thought I see if there was something I was  
overlooking. Doesn't seem to be.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On May 29, 2007, at 4:14 PM, Oliver Baltzer wrote:

 On 29/05/07 05:48 AM, Keith Bingman was heard to say:
 This isn't really a radiant problem, but maybe one of you can help
 me. I have been forced to use iframes because the client wants music
 on the site. Now he wants links to specific pages, which of course
 poses a problem. Does anyone know how to generate a link directly to
 a specific page within an iFrame?

 Not sure I understand what you are asking, but opening a link into a
 different window is done with the target attribute of the a tag.
 Example:
 a href=url target=iframe_name.../a

 Oliver

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

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


Re: [Radiant] iFrame links

2007-05-29 Thread Keith Bingman
This is what I was thinking of doing, though perhaps as a Virtual  
page. My Ruby is better than my javascript... But I will give it a  
thought. Thanks!


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On May 29, 2007, at 4:47 PM, Oliver Baltzer wrote:

 Keith Bingman wrote:
 Yes. That is clear. I am trying to link directly to a page with an
 iFrame from an external link. Basically a bookmark. I think I know
 how to do it, but thought I see if there was something I was
 overlooking. Doesn't seem to be.

 I understand. I would probably use Javascript to make this work. For
 example a URL http://host/frameset.html?content.html would load the
 frameset and a Javascript within this page can evaluate the query  
 string
 and load the appropriate page into the frame. This script may or  
 may not
   work:

 script type=text/javascript
 file = default_content.html;
 if (location.search.length  0) {
file = location.search.substring(1);
 }
 document.write('iframe src=' + file + ' name=contentframe');
 document.write(' width=400px height=300px frameborder=0 ');
 document.write('scrolling=noNo Iframes/iframe');
 /script

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

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


Re: [Radiant] iFrame links

2007-05-29 Thread Keith Bingman
Yes, this is exactly what I am trying to do.

My basic plan at the moment is to make a Virtual Page type for the  
mian pae (with the iFrame) and grab the query string. Then I can just  
reset the source of the iFrame or redirect the page. Hopefully, that  
will work.

You guys have helped a lot, I will let you know what I actually end  
up doing.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On May 29, 2007, at 4:58 PM, Walter Lee Davis wrote:

 Basically, it sounds to me as if you are trying to load a page which
 contains an iFrame, and then programmatically direct that iFrame to
 load a different source than its default. If I were doing it in PHP
 (sorry) I would script the iFrame to load a sanitized version of a
 querystring variable. Maybe someone on the list will be able to tell
 you how to do this in R/R/R.

 Walter

 On May 29, 2007, at 10:18 AM, Keith Bingman wrote:

 Yes. That is clear. I am trying to link directly to a page with an
 iFrame from an external link. Basically a bookmark. I think I know
 how to do it, but thought I see if there was something I was
 overlooking. Doesn't seem to be.

 Keith Bingman
 Tel: +49-7731-79838380
 [EMAIL PROTECTED]
 http://keithbingman.com




 On May 29, 2007, at 4:14 PM, Oliver Baltzer wrote:

 On 29/05/07 05:48 AM, Keith Bingman was heard to say:
 This isn't really a radiant problem, but maybe one of you can help
 me. I have been forced to use iframes because the client wants  
 music
 on the site. Now he wants links to specific pages, which of course
 poses a problem. Does anyone know how to generate a link  
 directly to
 a specific page within an iFrame?

 Not sure I understand what you are asking, but opening a link into a
 different window is done with the target attribute of the a tag.
 Example:
 a href=url target=iframe_name.../a

 Oliver

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

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


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

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


Re: [Radiant] Media Temple Hosting

2007-05-25 Thread Keith Bingman
If you want more traditional supported hosting, Segpub (http:// 
segpub.com.au) is very good. They have some experience with Radiant  
and are prompt and helpful. It is a bit pricier than some options,  
but by no means expensive. They also have  a nice simple control  
panel, making restarts, email, etc very easy.


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On May 25, 2007, at 12:48 AM, Sean Cribbs wrote:

 Nowadays, everyone says SliceHost because of the awesome
 bang-for-the-buck -- honestly I have to agree.  The caveat of that is
 you have to configure the system yourself.  The other caveat is that
 they are highly in demand and have a large backlog for new slices.

 There are numerous hosting companies out there, you just have to pick
 one that's right for you.  When investigating, I would search  
 Google for
 the name of the hosting company and rails.  There should be a wealth
 of information about what to watch for, where people have problems,
 etc.  Also, for a quick but incomplete rundown, read this:
 http://nubyonrails.com/articles/2007/02/24/the-host-with-the-most

 Cheers,

 Sean

 Gabriel Lamounier wrote:
 Hi,

 I'm looking for a hosting service to host our site. We're a  
 university
 in central Brazil and our site has an average 3000 pageviews/day.
 Today it's developed in ASP.NET and is hosted internaly. To provide
 more functionalities to our users it was time to put it on a CMS. So,
 What I'm looking for is a good hosting service to host our Radiant
 based site.

 Any tip?

 Be Radiant!
 Gabriel



 Message: 5
 Date: Thu, 24 May 2007 04:55:00 +0200
 From:  Bj?rn Michelsen  [EMAIL PROTECTED]
 Subject: Re: [Radiant] Media Temple Hosting
 To: radiant@lists.radiantcms.org
 Message-ID:
  
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 On 5/23/07, John W. Long [EMAIL PROTECTED] wrote:

 Hello,


 Does anyone use the Media Temple Grid-Service? I'm about to host my

 radiant sate there and I'd like to know if I go with the 64MB  
 (memory)
 container or the 256MB container?

 I'm hosting a site on a 64mb container an have had major  
 problems with
 it. Media temple has had major DNS problems internally over the  
 past few
 months causing the internal services to completely stop functioning
 every once in a while. I wouldn't recommend it. You would  
 probably be
 better off with Slicehost.

 Like John, I'm also hosting a site on a 64MB RoR container on Media
 Temple. Unlike him, I haven't had any problems so far. With
 regards to what container you should choose, this is an printout  
 of memory
 status on the site being hosted on Media Temple (done with 'mtr  
 status'):

 applications:
 radiant:

 status: running

 memory:
 free: 30744
 total: 65536
 used: 34792


 Given the limited information you've given us, Gabriel, I don't  
 see why the
 64MB container would not suffice for your needs provided that  
 you're only
 going to run a standard Radiant-install there. John also mentions  
 Slicehost,
 which is a nice option if you have linux experience and/or the  
 will to learn
 it as you go along.

 I guess this is the point where I should mention that I'm looking  
 for
 alternatives to Media Temple. But the reason I'm leaving them hasn't
 anything to do with the RoR container.

 --
 Sincerely,
 Bjorn Michelsen

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



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

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


Re: [Radiant] extension question

2007-05-25 Thread Keith Bingman
I did a tagging extension that works like this. Basically, you set up  
virtual pages with the slug as the name for your category. A regex in  
the page type grabs the slug from the url and then displays whatever  
it is you need. You just need to make some specific tags to display  
your categories and their attributes, but you can still use the basic  
Radiant tags. I set it up with two virtual pages, a listing page, and  
a display page. Listing shows all categories and links to them,  
display shows each category.

You can check out my extension at http://svn.bitchkittyracing.com/ 
extensions/metatagging. You may need to check out the assets  
extension to make it work, but I hope to change that in  a few days,  
but I have been pretty busy for the last few days.

Let me know if you have any questions.

I have an example of this working at http://keithbingman.com. Both  
the posts and the galleries are based on it.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On May 25, 2007, at 8:14 AM, Bill Rowell wrote:

 I'm developing another radiant extension that I basically want to  
 be able to
 display a catalog of categories, sub-categories, and items with.  I  
 don't
 want to have to create a page for every one of those, I want it to be
 dynamic based on what someone can set up through an admin  
 interface.  I also
 don't want to lose the power of radiant and its tagging system  
 (like not
 being able to use r:title, r:snippet, r:content etc. etc.) by  
 having the
 extension be its own application outside of the CMS.  Another  
 requirement is
 the ability to have pretty urls like /catalog/department/shoes/  
 instead of
 having query string variables muddying things up.

 Has anyone tried to do something like this and had some success  
 that they
 could share?  I've given this a bit of thought and haven't really  
 come up
 with a solution I like.
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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


[Radiant] Fwd: extension question

2007-05-25 Thread Keith Bingman

 Keith: Trying to browse your SVN, I get a login box.  Do you have some
 kind of read only access you wouldn't mind giving out to the list?


Whoops, I had the wrong address. There should be a projects folder,  
first. Not all folders are one, but that one is:

http://svn.bitchkittyracing.com/projects/extensions/

Let me know if that doesn't work.


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com






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


Re: [Radiant] How big is your Radiant site?

2007-05-24 Thread Keith Bingman
As long as people are reporting success stories, I might as well add  
ours.

http://bitchkittyracing.com is chugging along with about 280 pages  
and a couple of hundred unique visitors a day. It has a lot of  
subsections presented on the front page, which led to fairly  
intensive MySQL queries, which surprise, surprise TextDrive couldn't  
deal with. When we were still there, we had numerous crashes and  
persistent MySQL errors. eventually, I got annoyed enough to change  
servers and now things run great. I have a much smaller Raidant site  
at Textdrive now and it is fine. I think it has been running for  
several months without issue, but it is only  a handful of pages and  
some photos.

Something else to mention, my partner in crime had no html or  
programming training, but has picked up Markdown and Radius tags and  
is taking a very active role in maintaining the site. While some  
users are put off by the technical approach that Radiant takes, it  
can be easily learned.


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]

http://keithbingman.com
http://keith.bitchkittyracing.com




On May 24, 2007, at 10:40 AM, Jonathan Métillon wrote:

 On 5/24/07, Mohit Sindhwani [EMAIL PROTECTED] wrote:
 Hi Dan,

 I think that's good to hear!  The site that I'm planning is going to
 start with a few technical manuals translated into HTML in perhaps 2
 different languages.  I'd say that I'm thinking of about 4 - 6  
 manuals x
 200 pages each x 2 languages = approximately 2000 pages.  So,  
 naturally,
 I'm a bit worried but I think aggressive caching will solve this  
 problem
 for me.

 But right now, I'm spending some more time of my time trying to  
 figure
 out how I can automate the loading of these pages into the  
 database.  I
 read an earlier thread about updating the data by using ActiveRecord
 outside Rails/ Radiant and that seems to be one way.  I don't  
 expect the
 content to change too much too frequently, so a slightly slow update
 will work for me!  The more serious issue is in converting the PDF
 manual into the HTML while still maintaining the semantic meaning  
 of the
 content.

 After that's done, I need to work on finding a way to let people  
 log in
 and add comments about the content - so, then I'll be looking out at
 other extensions.

 Anyhow, I'm barely learning to walk with Radiant, so things are  
 still a
 bit of a way off, also because this part is out of curiosity right  
 now
 and not any specific work project.  It took me 45 minutes to get  
 to see
 my Hello World page with Radiant when I started with an empty
 project, so there's a bit of a way to go.  But anyway, the time  
 was not
 wasted - I'm almost done putting the steps (simple in retrospective)
 into my blog entry so that someone else can benefit!

 Cheers
 Mohit.

 Hi,

 My own first Radiant website, actually for my wife's nail salon
 business at home, has ten pages and a blog with fifteen posts. It also
 has a contact form, XML sitemap and RSS feed. According to Google
 Analytics, we received an astounding 353 unique visitors since
 November 2006, which viewed 2,578 pages.

 Our dedicated dual processor server handles this impressive load quiet
 efficiently.

 Radiant rulez! Thanks.

 J.M.

 Note: you can visit her at http://ruby-on-nails.com/ and put a smile
 on her face by dropping a nice message using the Contact page,
 preferably in French. This website degrades badly on Windows/IE.
 Please use Linux/Firefox ;-)
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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


Re: [Radiant] Error when creating plugin

2007-05-20 Thread Keith Bingman
This is an old tutorial. The use of plugins for global tags has been  
deprecated and replaced with extensions. You will want to run ruby  
scipt/generate extension my_extension_name instead. Essentially, you  
will need to put the new tags in the lib folder (or model folder) of  
the extension, which is essentially  a mini rails app.

Take a look at the example extensions in the repository for hints on  
how to make global tags. John is working on a tutorial and posted a  
draft of it a few days back. It isn't done yet, but has lots of great  
information. Dig through the archives, it wasn't more than a week ago.

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On May 20, 2007, at 9:02 AM, Saji Hameed wrote:

 Hello,

 I am trying out the How To by Sean Cribbs on how to create global
 tags in a plugin.
 When I try to run the command:

   ruby script/generate plugin 00_mytags

 I get the message :

 Couldn't find 'plugin' generator

 What could be wrong?

 Thanks,
 saji


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

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


Re: [Radiant] Using Plugins in Extensions

2007-05-19 Thread Keith Bingman
This is what I have been doing, but I really reccomend shifting to  
attachment_fu. The killer feature is also that you can have image  
processing without RMagick, which leaks memory and is generally a  
pain. ImageScience, MiniMagick and RMagick are all provided, as well  
as DB and file system storage.

Like Sean said extension. Look at his page_attachments for some good  
examples. I will be updating some of my own extensions to match the  
new hooks for the views.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On May 19, 2007, at 5:22 PM, Josh Huckabee wrote:

 Hi-

 I'm working on a banner ad extension for a friend and am currently  
 using the
 file_column plugin (althought I've been thinking about using  
 attachment_fu
 instead) to handle the image upload.  Right now I've just stuck it  
 in the
 root app's vendor/plugins directory.  Is this acceptable practice  
 or is
 there a better way to do it?  I know the gallery module handles the  
 image
 upload manually, but I wanted to stick with a proven method without
 rewriting existing code.

 Any thoughts?

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

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


[Radiant] Problem with page_attachments

2007-05-18 Thread Keith Bingman
Has anyone tried a the page_attachments extensions with other page  
types, Archive, Mailer, etc.? For me, the extension only works with  
the generic page type, all other fail to save teh attachment. Anyone  
have an idea of what is going on?


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




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


Re: [Radiant] i18n

2007-05-14 Thread Keith Bingman
I am only aware of one attempt to internationalize Radiant, it was  
rather a long time ago and for version 0.5.2. I have one site using  
it, and it is nice. I am currently updating that site, and faced with  
the prospect of not translating it...

I think it is actually a lot less work than you realize. Once the  
various strings are in place, it is pretty easy to update things. I  
really think this is something that should be addressed before the  
1.0 release and I also believe that it won't get too much in the way  
of updating the interface. The only real problems are the few buttons  
with text. These would of course have to be replaced with something a  
bit more flexible, but even that would be possible using text and  
perhaps background images.

Just an aside, one thing that would make translating a site a bit  
tough would be the error messages. These are found throughout the  
various controllers and helpers and would be hard to address with an  
extension.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On May 14, 2007, at 5:03 PM, John W. Long wrote:

 Jonathan Métillon wrote:
 Maybe there already had a discussion on the matter? If so please  
 point me to
 the right place.

 http://tinyurl.com/2arp2q

 or

 http://www.google.com/custom?hl=encof=AH%3Aleft%3BS%3Ahttp%3A%2F% 
 2Fradiantcms.org% 
 3Bdomains=lists.radiantcms.orgq=translatebtnG=Searchsitesearch=lis 
 ts.radiantcms.org

 How could I translate Radiant without touching the code base? Is this
 possible as an extension?

 You could do it as an extension, but you would need to replace all of
 the views with your translated versions.

 I am warming up to the idea of adding localization support pre 1.0. My
 main worry about adding it now is that it would make the release cycle
 longer, but *not* supporting it seems a bit of language racism. But  
 the
 interface really hasn't changed that much, so perhaps this is a  
 case of
 premature optimization.

 I believe there have already been several attempts to localize Radiant
 through a series of patches on Trac. What is the status of these?

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

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


[Radiant] Setting the default filter

2007-05-10 Thread Keith Bingman
Has anyone figured out a way to set the default filter for a new  
page, something like the default page parts. For some clients, this  
would be very nice...

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




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


[Radiant] Radiant on A Small Orange

2007-04-21 Thread Keith Bingman
I have radiant running on textdrive and segpub, but I need to install  
it on A Small Orange. I have a Hello World app running, but for  
some reason, I can't get radiant up and running. I followed the  
instructions on the Radiant wiki, but there is not much info there. I  
am using the latest Mental branch. Has anyone successfully gotten it  
to run there?


Any help world be greatly appreciated.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Apr 21, 2007, at 6:40 PM, Sean Cribbs wrote:


In updating the CONTRIBUTORS file for the release, I need to know who
this person is who contributed tickets or patches via Trac:

silent (e)

Please respond to me privately.

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


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

[Radiant] [ANN] Two new extensions and site launch

2007-04-07 Thread Keith Bingman
So once again I made an assets management extension. This time, I  
based it on Rick Olsen's Attachment-fu, which means we can use  
mini_magick or rmagick. I have yet to get the image_science to work  
reliably, but the parts are there and if anyone is interested, do  
givie it a try.


Beyond that, I have also added tagging, because I have almost 100  
images already and needed to keep them organized. This way makes for  
a very flexible and informal way to manage your assets.  
Unfortunately, I haven't started working on the non-image assets yet,  
but it is set up to add that.


As long I had to build a tagging system, I figured I would add this  
to the Page model as well. That was easy, the only hitch was the  
virtual page display system, which was a bit trickier. In the end, I  
stole some ideas from the original patch, made long ago for Verson 42 
(!). I have a similar system for the galleries and will later expand  
that to virtual pages for each individual image.


The Asset Display Page provides a few specialized tags and will  
automatically use the page slug as a tag. You can see an example of  
this on my web page, but basically, you can call all images  
associated with a tag like this:


r:asset:each
  r:image size=thumbnail /
/r:asset:each

The tag is automatically generated from the page Slug, i.e. if the  
page is called Travel, the the tag called would be travel.


There are bunch of tags to play with including links, captions and urls.

I would love to have any feedback you can provide. Please give it a try.

http://keithbingman.com/blog/2007/04/07/assets-management-and-page- 
tagging/


And the svn is available here:

http://svn.bitchkittyracing.com/projects/extensions

And finally, this is a small new site I made for myself. The old one  
was getting stale and as it was based on Textpattern, I never played  
with it. My interests have moved on to Ruby...!


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




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

Re: [Radiant] Problem with tag.locals

2007-04-04 Thread Keith Bingman
You need to call the id in both tags. I know it is a little  
counterintuitive, but the id tag is not being passed to the first  
tag, just the second. I banged my head on this for a few days, try it  
like this:


tag mytag do |tag|
   if tag.attr[id]
 tag.locals.gallery = Gallery.find_by_id tag.attr[id]
   tag.expand
end

tag anothertag do |tag|
   gallery = Gallery.find_by_id tag.attr[id] || tag.locals.gallery
   gallery.name
end

This should work, but I haven't tested it, so I make no promises.  
You  may want to add a some sort of error handling in there in case  
no id is found.


Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Apr 4, 2007, at 1:58 AM, Adam Salter wrote:


Hey all,
I'm helping Andrea Franz work on his fantastic Gallery Extension:
http://darcs.bigchieflabs.com/radiant/extensions/gallery/
(download with 'darcs' - http://darcs.net)


Anyway I'm trying to add some globally available tags to it:

There is a Model declared thus:
class Gallery  ActiveRecord::Base
  has_many :items,
:class_name = 'GalleryItem'
snip
end

And I have made a module in the extension /lib called  
gallery_tags.rb which contains this (fake example)...


module GalleryTags
  #tags available globally, not just on GalleryPages
  include Radiant::Taggable

  tag mytag do |tag|
if tag.attr[id]
  tag.locals.gallery = Gallery.find_by_id tag.attr[id]
tag.expand
  end

  tag anothertag do |tag|
tag.locals.gallery.name
  end

  snip
end

added to the extension with:
  def activate
admin.tabs.add Galleries, /admin/gallery, :after =  
Layouts, :visibility = [:all]

Page.send :include, GalleryTags
  end

yet when I do this in a page:

r:mytag id='1'
r:anothertag
/r:mytag

I get this:
You have a nil object when you didn't expect it! The error occurred  
while evaluating nil.name



It seems that tag.locals.gallery is being set to nil in between the  
tag calls... I can't work out why because other extensions seem to  
do similar things... it's very confusing.


Any help much appreciated.

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


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

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

2007-03-28 Thread Keith Bingman
These are both pretty old Behaviors, ported over to the new extension  
system. With the new system, it shouldn't be too hard to make the  
tags usable across a site, though I haven't investigated either of  
these extensions since they first came out as behaviors.  I think  
John posted something to this effect about the mailer extension a day  
or two ago.


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]

http://bitchkittyracing.com




On Mar 29, 2007, at 1:17 AM, Walter Lee Davis wrote:


I have been fooling around with the various extensions for Mental, and
think they are an amazingly simple way to work. But there's a problem
with that simplicity. I tried out the Search extension, works great,
lots of tags to use, etc. I made a Search page, everything works  
pretty

well (it found my css page, which was odd -- must figure out a way to
exclude certain pages Real Soon Now).

But then I want to put search on every page. No problem, I'll put  
it in

the header. Oops, can't do that -- you can't add the extensions there.
Managed to put it in the sidebar of the home page, that worked fine,
but then on my Contact page (a Mailer page which did not define its  
own

sidebar) the Home sidebar was inherited but without the Search
functionality -- so I got a broken tag warning. So then I have to
define a new sidebar for that page without the search, because I can't
add Mailer and Search to the same page.

Yikes! I'm confused.

Walter

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


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

Re: [Radiant] Radiant as a news a bit more improved

2007-03-26 Thread Keith Bingman
For this you are going to need some sort of tagging support. I have  
an extension that is about half done, though I am not sure how long  
it will take. There were some name space issues, but those are pretty  
much solved. One thing you can do is a bit of a hack: use a part with  
the name of your category, i.e. News or Sports. The using the  
r:if_part / tag you can filter them out.


Like I said, a hack, but it does work. A little tough on the database  
perhaps...


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]




On Mar 26, 2007, at 3:51 PM, Sylvestre Mergulhão wrote:


My news have a field for the source(where i found it) and a field for
an url to the source.


I forgot to say that each Article belongs to one category, that are
selected among five others.

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


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

Re: [Radiant] Nav

2007-03-24 Thread Keith Bingman

Keith,

radiant cannot parse Radius tags within Radius tags. This means, the  
call r:find url=r:url //articles/ will not work. You will  
probably need to do some conditionals or something, but I can't think  
of an easy way to set up what you would like to do. Maybe some sort  
of nested navigation. In the wiki is a recipe for a site map, take a  
look at that, it may solve your problem.


But in any case, nested Radius tags will not work.

Hope this helps a bit.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]




On Mar 24, 2007, at 6:18 PM, keith wrote:


Hi All,



I am trying to build a site that has the following structure:



- Home

- - Departments

- - - Stores

- - - Articles



On each department page – sport for example – I need to add a nav  
for the articles within that department. I have tried the following  
and I was just wondering if I was doing anything wrong as it  
doesn’t seem to work.




ul

r:find url=r:url //articles/

r:children:each limit=10 order=asc

lir:link //li

/r:children:each

/r:find

/ul



I have tried numerous different variations but don’t seem to be  
able to manage it. If I only had articles as children it would of  
course be easier but I need the stores beneath departments also.  
Any ideas??




Keith

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


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

[Radiant] [Ann]Site Launch with Radiant

2007-03-19 Thread Keith Bingman
It has actually been online since January, but had some teething  
problems, but I thought it was time to announce a little site I did  
for a friend. It is something a bit different from a blog, but lately  
has merely been hosting his Video Blogs.


Right now, we are running Mental with a homebrew Assets plugin (far  
from finished) and a really hacked together tagging system.


Please take a look and let us know what you think.

Keith Bingman
[EMAIL PROTECTED]



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

[Radiant] Fwd: [Ann]Site Launch with Radiant

2007-03-19 Thread Keith Bingman

Asleep at the wheel, it's been a long day:

http://bitchkittyracing.com

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]




Begin forwarded message:


From: Keith Bingman [EMAIL PROTECTED]
Date: March 19, 2007 2:32:01 PM GMT+01:00
To: radiant@lists.radiantcms.org
Subject: [Radiant] [Ann]Site Launch with Radiant
Reply-To: radiant@lists.radiantcms.org

It has actually been online since January, but had some teething  
problems, but I thought it was time to announce a little site I did  
for a friend. It is something a bit different from a blog, but  
lately has merely been hosting his Video Blogs.


Right now, we are running Mental with a homebrew Assets plugin (far  
from finished) and a really hacked together tagging system.


Please take a look and let us know what you think.

Keith Bingman
[EMAIL PROTECTED]



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


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

Re: [Radiant] Fwd: [Ann]Site Launch with Radiant

2007-03-19 Thread Keith Bingman
And they are upgrading (I hope) my server, so I picked a really  
stupid day to tell you all about it. It should be up within the hour...


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]




On Mar 19, 2007, at 5:14 PM, Keith Bingman wrote:


Asleep at the wheel, it's been a long day:

http://bitchkittyracing.com

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]




Begin forwarded message:


From: Keith Bingman [EMAIL PROTECTED]
Date: March 19, 2007 2:32:01 PM GMT+01:00
To: radiant@lists.radiantcms.org
Subject: [Radiant] [Ann]Site Launch with Radiant
Reply-To: radiant@lists.radiantcms.org

It has actually been online since January, but had some teething  
problems, but I thought it was time to announce a little site I  
did for a friend. It is something a bit different from a blog, but  
lately has merely been hosting his Video Blogs.


Right now, we are running Mental with a homebrew Assets plugin  
(far from finished) and a really hacked together tagging system.


Please take a look and let us know what you think.

Keith Bingman
[EMAIL PROTECTED]



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


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


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

Re: [Radiant] Fwd: [Ann]Site Launch with Radiant

2007-03-19 Thread Keith Bingman
I tried to do a tagging extension late last year with the  
acts_as_taggable plugin. I think I am one of those people you may  
have heard about with naming conflicts. Basically, you cannot use the  
model name Tag, as it disables the Radius tagging system and you site  
will not render. I got around this by making my own Model, Metatag  
and didn't use the act_as_taggable plugin. I essentially took the  
tagging system from Mephisto and rewrote bits of it for my own uses.  
I think I am going to switch it over to the new :has_many_polymorphs  
plugin. The whole thing is not ready for prime time, but it is  
promising.


I hope to have an svn version available soon.


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]




On Mar 19, 2007, at 5:23 PM, Kevin Ansfield wrote:


Hi Keith,

I haven't seen the site yet due to the problems you mentioned  
however I'd be interested in what level of tag integration you  
managed to achieve. It's high on my to-do list to getting a tagging  
extension put together but I've noticed that others have had issues  
with naming conflicts and such - did you run into any trouble spots?


Thanks,
Kevin




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

Re: [Radiant] Radiant i18n

2007-03-07 Thread Keith Bingman
I would be interested in this as well and can offer help with it and  
translation into German...


Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]




On Mar 7, 2007, at 4:38 PM, Oliver Barnes wrote:


I'd love to listen up on your exchange, if you don't mind... could you
give us a heads up when you meet?

2007/3/7, Sean Cribbs [EMAIL PROTECTED]:

Julio,

Sounds like a good project.  If you have some time today (I'm  
assuming
you're in the Americas), please meet me on #radiantcms on Freenode  
IRC.

I might have some ideas for you.

Sean

Julio Santos Monteiro wrote:

Hello,

I would like to propose to the next versions of Radiant some kind of
internacionalization system. The only pages that need to be  
translated

are the ones from the /admin.

I can translate to Portuguese (pt) and Brazilian Portuguese (pt-br).




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


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


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

Re: [Radiant] View Site does not work ...

2006-12-07 Thread Keith Bingman
For some reason, you seem to have the index.html site in your  
install. Just remove it from the public folder and all should be well.



Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Dec 7, 2006, at 7:27 PM, Frieder Monninger wrote:

I have installed Radiant - everythings seems to be working well. I  
can login
as admin using the url http://localhost:3002/admin. But when I  
enter just
http://localhost:3002 - or press the view site button which is  
equivalent

the default Rail page appears: Welcome aboard ...

So, what can I do ?

My Installation: latest Ruby, latest Rails - under Windows XP.

---
Frieder Monninger
Object Tools GmbH
Nordstr. 5 - D 35619 Braunfels
(49) 6472-911030

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


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

Re: [Radiant] Extensions: Asset Manager Demo

2006-11-25 Thread Keith Bingman
Please fell free to give me suggestions on the radius tags, this is  
just a sort of first draft.


I made the image tag work both with and without the wrapping asset  
tag so  you can do either this:


r:asset id=1
  r:image size=thumb /
/r.asset

or you can use a shortcut:

r:image size=thumb /

I added a new tag, r:thumbnail /. You can still add a size, though  
this refers to the linked image, not the thumbnail. You can also shut  
the link off completey with link=false. Check out the new version  
from SVN (if you don't have externals set up, just replace lib/ 
asset_tags.rb, that is all I have changed). This is the file with all  
the tags,


Just a note, should you want to change the thumbnail and icon sizes,  
this is stored in the Asset Model. I think it is pretty clear. Check  
out the acts_as_attachment tutorial for spefic info on the various  
sizes.


http://weblog.techno-weenie.net/articles/acts_as_attachment/thumbnailing

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 24, 2006, at 3:45 PM, Jonathan Métillon wrote:


I reinstalled the whole radiant-mental and asset extension. It's all
good now! Thanks I really like the way it produces icons and
thumbnails.

The only thing is that my girl is not that geek and

r:asset id=1
  !r:asset_url size=thumbnail /!:r:asset_url size=normal /
/r:asset

Would be easier for her like that

r:asset_thumbnail id=1 /

Can I define easily this kind of shortcut?


On 11/24/06, Keith Bingman [EMAIL PROTECTED] wrote:


Please check out the latest version (revision 19), this was fixed  
in that. I
had tagging in, but due to some conflicts with acts_as_taggable  
and Radiant

itself, I had to remove it. I missed the one line, line 75 in the
AssetController, if you erase that it works. Like I said, this is  
fixed in
the latest version. I also added the New Asset button; please move  
this from
the Images directory in the extension to the Images directory in  
Public.


Let me know if that works.

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830


On Nov 24, 2006, at 11:00 AM, Jonathan Métillon wrote:
You got that right! This one fixed. And now, what about that other  
one?...


 NoMethodError in Admin/assetController#new

undefined method `tag_with' for #Asset:0xb72cad14

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

vendor/rails/activerecord/lib/active_record/base.rb:1848:in
`method_missing'
vendor/extensions/assets/app/controllers/admin/asset_controller.rb: 
75:in

`handle_new_or_edit_post'
vendor/extensions/assets/app/controllers/admin/asset_controller.rb: 
16:in

`new'
vendor/rails/actionpack/lib/action_controller/base.rb:1068:in

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





--
« La perfection est atteinte non quand il ne reste rien à ajouter,
mais quand il ne reste rien à enlever. » --Antoine de Saint-Exupéry
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


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

Re: [Radiant] Extensions: Asset Manager Demo

2006-11-25 Thread Keith Bingman
Restart the server and make sure rails itself is up to date (edge or  
1.2 RC1). this may help. Or not...



Keith Bingman
[EMAIL PROTECTED]


On Nov 25, 2006, at 7:12 PM, Jonathan Métillon wrote:
svn magic :-)

$ svn up /vendor/extensions/assets/lib/asset_tags.rb
Uasset_tags.rb
Updated to revision 20.

You say I can now use r:thumbnail id=13 / ?? Kwel! I love that.
But I can't test it, my radiant-mental is broken :-(

$ rake db:migrate:extensions
(in /home/john/web/radiant-mental)
rake aborted!
uninitialized constant RADIANT_ROOT
/home/john/web/radiant-mental/Rakefile:10
(See full trace by running task with --trace)

And when I try to read an article:

 ArgumentError in SiteController#show_page

vendor/rails/activesupport/lib/active_support/dependencies.rb:399:in
`to_constant_name': Anonymous modules have no name to be referenced by

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

Re: [Radiant] Extensions: Asset Manager Demo

2006-11-24 Thread Keith Bingman
Please check out the latest version (revision 19), this was fixed in  
that. I had tagging in, but due to some conflicts with  
acts_as_taggable and Radiant itself, I had to remove it. I missed the  
one line, line 75 in the AssetController, if you erase that it works.  
Like I said, this is fixed in the latest version. I also added the  
New Asset button; please move this from the Images directory in the  
extension to the Images directory in Public.


Let me know if that works.

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830


On Nov 24, 2006, at 11:00 AM, Jonathan Métillon wrote:
You got that right! This one fixed. And now, what about that other  
one?...


 NoMethodError in Admin/assetController#new

undefined method `tag_with' for #Asset:0xb72cad14

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

vendor/rails/activerecord/lib/active_record/base.rb:1848:in  
`method_missing'

vendor/extensions/assets/app/controllers/admin/asset_controller.rb:75:in
`handle_new_or_edit_post'
vendor/extensions/assets/app/controllers/admin/asset_controller.rb: 
16:in `new'

vendor/rails/actionpack/lib/action_controller/base.rb:1068:in

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

Re: [Radiant] Extensions: Asset Manager Demo

2006-11-23 Thread Keith Bingman

Whoops, didn't send this to the list:

This works for me:

http://dev.radiantcms.org/svn/radiant/branches/mental/radiant/

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830


On Nov 23, 2006, at 5:22 AM, David Minor wrote:
Keith,

I'm very interested in trying out your asset manager and check out  
RPS2, but I can't seem to get a checkout of the mental branch.  Can  
you point me to a svn url that doesn't require user/pass to get mental?


Thanks,
dm

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



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

[Radiant] Fwd: Extensions: Asset Manager Demo

2006-11-23 Thread Keith Bingman


glad to hear it, please let me know if you get this running,  
Jonathan seemed to have some problems, which I can't replicate.


Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 23, 2006, at 5:11 PM, David Minor wrote:


great thanks.  that did work for me.

dm

On Nov 23, 2006, at 2:53 AM, Keith Bingman wrote:


This works fr me:

http://dev.radiantcms.org/svn/radiant/branches/mental/radiant/

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 23, 2006, at 5:22 AM, David Minor wrote:


Keith,

I'm very interested in trying out your asset manager and check  
out RPS2, but I can't seem to get a checkout of the mental  
branch.  Can you point me to a svn url that doesn't require user/ 
pass to get mental?


Thanks,
dm









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

[Radiant] Fwd: Extensions: Asset Manager Demo

2006-11-23 Thread Keith Bingman


I found a few mistakes, things I had forgot to take out when I  
removed the tags. But I haven't been able to replicate your  
problem. Does it do this with all images, or just one?


Check out the new version and try again. The acts_as_attachment  
plugin is having trouble reading the content type. Try it with a  
few different images and see what happens.


Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 23, 2006, at 3:10 PM, Jonathan Métillon wrote:


Hi Keith,

That looks fantastic and that's exactly what I needed. I hope it will
be able to generate thumbnails!

I followed the installation instructions and the extension is  
enabled.

I go to the upload image page and input a title and a picture. But
when I submit, I get this error:

 NoMethodError in Admin/assetController#new

undefined method `content_type' for 100_1134.JPG:String

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

vendor/plugins/acts_as_attachment/lib/technoweenie/ 
acts_as_attachment/instance_methods.rb:56:in

`uploaded_data='
vendor/rails/activerecord/lib/active_record/base.rb:1660:in  
`attributes='
vendor/rails/activerecord/lib/active_record/base.rb:1659:in  
`attributes='


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

Re: [Radiant] Extensions: Asset Manager Demo

2006-11-23 Thread Keith Bingman
For now I added an images directory. You will just have to copy these  
images into public/images. There are no tests yet, but I think that  
shold be coming soon.



Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 23, 2006, at 6:46 PM, Keith Bingman wrote:

I was just trying to figure out how to get the icon for the new  
asset in.


The icon for each asset in the listing should be generated if the  
asset is an image. I haven't gotten around to making alternative  
icons, but that is on the todo list. If you have RMagick working,  
it should generate an icon, a thumbnail and a display size. You can  
set these sizes in the model. This is all basically a wrapper for  
the acts_as_attachment extension, and I threw it together pretty  
quickly.


Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 23, 2006, at 6:19 PM, David Minor wrote:

just taking a quick peak at this before I head upstairs to make  
lunch.  I haven't dug in to troubleshoot yet, but I got a new  
radiant mental installed and tests passing.  got the extension  
added and tested (are there tests for assets?).  uploaded an image  
and it put it in the filesystem.  Here's what I don't see:


1) the icon in the assets list for the image I uploaded (path is  
right)
2) the new-asset.png in /images.  I imagine this just got left out  
of the extension, but I don't know how it will get from the  
extension to the /images directory.


I'll probably dig more into this later.  If you have any thoughts,  
let me know.  What kind of problems was Jonathan having?


dm

On Nov 23, 2006, at 10:26 AM, Keith Bingman wrote:

glad to hear it, please let me know if you get this running,  
Jonathan seemed to have some problems, which I can't replicate.


Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 23, 2006, at 5:11 PM, David Minor wrote:


great thanks.  that did work for me.

dm

On Nov 23, 2006, at 2:53 AM, Keith Bingman wrote:


This works fr me:

http://dev.radiantcms.org/svn/radiant/branches/mental/radiant/

Keith Bingman
[EMAIL PROTECTED]
Tel: +49-7731-7983830



On Nov 23, 2006, at 5:22 AM, David Minor wrote:


Keith,

I'm very interested in trying out your asset manager and check  
out RPS2, but I can't seem to get a checkout of the mental  
branch.  Can you point me to a svn url that doesn't require  
user/pass to get mental?


Thanks,
dm













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

Re: [Radiant] Mental Branch Extensions Notes

2006-11-14 Thread Keith Bingman
I just installed the mental branch on textdrive. It seems to run pretty well. The Assets Manager I wrote has a few problems, because it is based on acts_as_attachment, which uses RMagick. I had to shut that off, as it would kill Radiant due to memory usage. There are a few fixes for that, I have to look and see what would be best. I am leaning toward something with MiniMagick,  it does more than enough and might be a better solution.  I have something running on Textdrive  with MiniMagick without TOO many problems... Keith Bingman[EMAIL PROTECTED] On Nov 13, 2006, at 9:24 PM, Loren Johnson wrote:Keith,I just want to second this, the extensions are very well thought out and pretty easy to use even in their very raw state. I have a very simple assets management system (based on acts_as_attachment) that took maybe a few hours to set up. Most of that was making sure that the views integrated nicely into Radiant. Are you using this mental branch install in "production" i.e. as a live site? Loren Johnson[EMAIL PROTECTED] ___Radiant mailing listPost:   Radiant@lists.radiantcms.orgSearch: http://radiantcms.org/mailing-list/search/Site:   http://lists.radiantcms.org/mailman/listinfo/radiant ___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] [mental] problem starting the mental branch

2006-11-13 Thread Keith Bingman
And be sure to run the migrations, the database has changed. Keith Bingman[EMAIL PROTECTED]Tel: +49-7731-7983830 On Nov 13, 2006, at 4:32 PM, Adam Williams wrote:On Nov 12, 2006, at 9:19 AM, Ollivier Robert wrote: /Volumes/Users/www/rron/nradiant/config/../vendor/rails/ activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb: 225:in `retrieve_connection': ActiveRecord::ConnectionNotEstablished  (ActiveRecord::ConnectionNotEstablished) Robert, have you copied the appropriate (for your system) database  configuration in config/ to config/database.yml?  aiwilliams___Radiant mailing listPost:   Radiant@lists.radiantcms.orgSearch: http://radiantcms.org/mailing-list/search/Site:   http://lists.radiantcms.org/mailman/listinfo/radiant ___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Mental Branch Extensions Notes

2006-11-13 Thread Keith Bingman
No, not yet. I hope to use it for something soon. I got the database moved over today from 0.5.2, without too many problems (that I have found). I haven't gotten my custom tags going yet, but as soon as those get going I am going to deploy it to a test server. Should it  survive that, then I will use it on a small site I have.  Keith Bingman[EMAIL PROTECTED]Tel: +49-7731-7983830 On Nov 13, 2006, at 9:24 PM, Loren Johnson wrote:Keith,I just want to second this, the extensions are very well thought out and pretty easy to use even in their very raw state. I have a very simple assets management system (based on acts_as_attachment) that took maybe a few hours to set up. Most of that was making sure that the views integrated nicely into Radiant. Are you using this mental branch install in "production" i.e. as a live site? Loren Johnson[EMAIL PROTECTED] ___Radiant mailing listPost:   Radiant@lists.radiantcms.orgSearch: http://radiantcms.org/mailing-list/search/Site:   http://lists.radiantcms.org/mailman/listinfo/radiant ___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Mental Branch Extensions Notes

2006-11-13 Thread Keith Bingman

 Keith Bingman wrote:
 I just want to second this, the extensions are very well thought  
 out and
 pretty easy to use even in their very raw state. I have a very simple
 assets management system (based on acts_as_attachment) that took  
 maybe a
 few hours to set up. Most of that was making sure that the views
 integrated nicely into Radiant.

 Would you be willing to share that with the rest of us? I'd like to  
 have
 an assets extension in the repository when the next release becomes
 available.

Sure, it is very simple, but a good start. I have tried to integrate  
the look and feel of Radiant as much as possible. Let me clean it  
up a bit and I will provide an svn link. Like the acts_as_taggable  
plugin, I don't have any radius tags for it yet, only the backend. I  
will be getting to those next.


 I found another small gotcha with the migrations. If you have more  
 than
 one extension, you do have to make sure that the migrations are  
 properly
 numbered.

 More than one extension? Please elaborate.

 2 No. ! doesn't work.

 ???

I had two separate plugins, one for the tagging and one for the  
assets. I ran the tagging migration first. then I tried to run the  
assets. I believe it didn't run the assets until i changed the  
migration number from 001 to 002... though now that I think about it,  
I am not so sure. The lack of feedback on the rake task might have  
confused me. (I am easily confused, especially hacking in the middle  
of the night)


 One sort of funny note: I tried to add tagging to Radiant while I  
 was at
 it.

 I'd love to see the implementation for this as well.

 I used the acts_as_taggable plugin (not the Gem) from DHH and only
 had to add one line to the Page model and one line in the control,  
 plus
 a very small change in the views. It worked great. Except that it
 totally broke the Radius tagging system and the front end rendered  
 nothing.

 That's probably because Radiant now has a Taggable module for Radius
 tags. Perhaps we should move it into the Radiant namespace
 (Radiant::Taggable).


If you moved the Taggable module into it's own namespace, i think we  
could have basic tagging very easily. I had the admin side part  
programmed literally in a matter of minutes. The changes need are  
very small, if you use the plugin. Of course, this doesn't include  
the work for the Radius tags, but that shouldn't be too hard. Even  
without using the plugin, it wouldn't be that hard. The plugin  
provides a lot of functionality, but does has some quirks. It doesn't  
accept comma separated lists for instance, which makes multiword tags  
hard. There are a lot of changes floating around on the wiki though.


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

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


[Radiant] Exisiting Smart Quotes and WYSIWYG (Dojo RichTextEditor)

2006-11-03 Thread Keith Bingman
My problem with smart quotes is not giving them out, but putting them in. I have a user who writes everything in word. I the PHP system we have been using, textile just takes the existing smart quotes and uses them. In redcloth or bluecloth, whenever he cuts ands pastes, the smart quotes are all converted to random html characters. Anyone else experience this and any ideas on how to fix it. On another related quote, the same user would really like a WYSIWYG editor, but I have been fighting it. I am a recent Markdown convert, thought Textile still does a few things better. But let's say I am not a WYSIWYG guy. As a compromise, I tried to install the Dojo RichText editor, but I am getting some strange 404s in the iFrames. I think radiants missing url system is not letting my links through, though this is just a guess. I know someone has this working, would you mind sharing? And would it actually help with the first problem? Keith Bingman[EMAIL PROTECTED]Tel: +49-7731-7983830 ___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] Webs Stats on Dreamhost

2006-10-09 Thread Keith Bingman
I have a Radiant site on Dreamhost, which works reasonably well. I need to get the stats though, and Radiant's page missing behavior keeps giving me a page not found response. I assume I need to fiddle with the .htaccess to change this, but really don't know where to begin. The dreamhost stats page is at www.site.com/stats, so I tried,RewriteCond %{REQUEST_URI} ^/stats.*RewriteRule .* - [L]which doesn't seem to work. Any ideas? Keith Bingman[EMAIL PROTECTED] ___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] Radiant command without the gem

2006-10-03 Thread Keith Bingman
I remember John mentioning that once you had a full instance of Radiant installed, you could then use the "radiant" command to install further instances, just like using the gem. He said this would be also useful if you had changed the version of Radiant you were using, which is my case, now. Has anyone actually done this? I jsut gave it a quick whirl, but couldn't get it to work.   Keith Bingman[EMAIL PROTECTED] ___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Radiant command without the gem

2006-10-03 Thread Keith Bingman
Thanks John, I was just typing the path incorrectly. That works perfectly. Keith Bingman[EMAIL PROTECTED] On Oct 3, 2006, at 3:56 PM, John W. Long wrote:Keith Bingman wrote: I remember John mentioning that once you had a full instance of Radiant installed, you could then use the "radiant" command to install further instances, just like using the gem. He said this would be also useful if you had changed the version of Radiant you were using, which is my case, now. Has anyone actually done this? I jsut gave it a quick whirl, but couldn't get it to work. I've done it in testing. :-) How did it fail?The way it works is you execute the radiant command in the bin dir of the install you want to share code with. So if I have one project running in application mode (i.e. it's fully extracted) in the project1 dir and I want to create project2 which references the code in project1, I do it like this:   % pwd   /Workspaces   % ls   project1   % project1/bin/radiant project2   ... copies files to project2 ...   % ls   project1 project2   % cat project2/config/instance.yml   Radiant Root: /Workspaces/project1--John Longhttp://wiseheartdesign.com___Radiant mailing listPost:   Radiant@lists.radiantcms.orgSearch: http://radiantcms.org/mailing-list/search/Site:   http://lists.radiantcms.org/mailman/listinfo/radiant ___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] Showing 5 pages at a time

2006-09-22 Thread Keith Bingman
I need to build a small archive, but not really a date based one. I  
just need to show 5 Articles at a time, then the next five. I assume  
a behavior would do this, but actually at the moment have no idea how  
to start. Any tips and prods in the right direction appreciated.

Keith Bingman

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


[Radiant] custom status

2006-09-01 Thread Keith Bingman
I need to add a status Archived, so that a page with not show up in  
the original tree, but will show up in the archive when the user  
changes the status. I have easily added the status in the status.rb  
Model and it works just great on the archive page. Was does not work  
is the link to the page. It gives me the Page not found page.

Is there any way to change this?


Keith Bingman
http//:www.keithbingman.com


___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Next and Previous Articles

2006-08-23 Thread Keith Bingman
John, I am having a few problems with this. First of all, 'next' is a reserved word. Changed that to 'next_link', but I am still getting a nil object for siblings. For some reason it is not finding any. This is with Radiant 0.5.2, any help appreiciated.Keith BingmanOn Aug 22, 2006, at 10:46 PM, John W. Long wrote:    tag "next" do |tag|       current = tag.locals.page       by = tag.attr['by'] || 'title'       siblings = current.siblings.sort_by { |page| page.attributes[by] }       index = siblings.index(current)       next = siblings[index + 1]       if next         tag.locals.page = next         tag.expand       end     end ___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Next and Previous Articles

2006-08-23 Thread Keith Bingman
Ok, I think I have it here. Not as elegant as John's, but for some reason current.siblings returns an empty array. I simply found the page's parent  and then the children, those are siblings, right? I am sure there is a better way to do this, but here is the code:    tag "next_page" do |tag|      current = tag.locals.page      parent = tag.locals.page.parent      by = tag.attr['by'] || 'title'      siblings = parent.children.sort_by { |page| page.attributes[by] }      index = siblings.index(current)      next_page = siblings[index + 1]      if next_page        tag.locals.page = next_page        tag.expand      end    end        tag "prev_page" do |tag|      current = tag.locals.page      parent = tag.locals.page.parent      by = tag.attr['by'] || 'title'      siblings = parent.children.sort_by { |page| page.attributes[by] }      index = siblings.index(current)      prev_page = siblings[index - 1]      if prev_page        tag.locals.page = prev_page        tag.expand      end    endStill has a few problems, like showing the last link on the first page, but these are easily overcome.Keith BingmanOn Aug 23, 2006, at 9:04 AM, Keith Bingman wrote:John, I am having a few problems with this. First of all, 'next' is a reserved word. Changed that to 'next_link', but I am still getting a nil object for siblings. For some reason it is not finding any. This is with Radiant 0.5.2, any help appreiciated.Keith BingmanOn Aug 22, 2006, at 10:46 PM, John W. Long wrote:    tag "next" do |tag|      current = tag.locals.page      by = tag.attr['by'] || 'title'      siblings = current.siblings.sort_by { |page| page.attributes[by] }      index = siblings.index(current)      next = siblings[index + 1]      if next        tag.locals.page = next        tag.expand      end    end ___Radiant mailing listRadiant@lists.radiantcms.orghttp://lists.radiantcms.org/mailman/listinfo/radiant ___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] textile css classes / id's

2006-08-23 Thread Keith Bingman
On Aug 23, 2006, at 10:02 PM, Josh Stockwell wrote:hi, I've been having a look at the http://textism.com/tools/textile/index.php web page and can't seem to find a way to apply a class to a list. I understand normally it would be p(rss). hi  =  p class="rss"hi/pbut why doesn't this work?*(rss). hi  =  ul class="rss"lihi/li/ulany ideas...?Josh, when I use: *(example) A first item* A second item* A thirdI get:ul class="example"     liA first item/li     liA second item/li     liA third/li/ulWhich is what I think you are after. Drop the "." and it should work. I just tried this out at both Textism and in Radiant.Another really great resource for Textile formatting comes from _why for the Hobix blog thing he wrote. It is a bit more in depth that textism, and it all applies to the Redcloth library.http://hobix.com/textile/Keith Bingmanwww.keithbingman.com___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Next and Previous Articles

2006-08-22 Thread Keith Bingman
Thanks John, I will give that a try.

Keith

On Aug 22, 2006, at 10:46 PM, John W. Long wrote:

 John W. Long wrote:
 Something like this might work for you:

Behavior::Base.define_tags do
  tag next do |tag|
current = tag.locals.page
siblings = current.siblings.sort_by { |page| page.title }
index = siblings.index(current)
next = siblings[index + 1]
if next
  tag.locals.page = next
  tag.expand
end
  end

 The definition for next should be:

 tag next do |tag|
   current = tag.locals.page
   by = tag.attr['by'] || 'title'
   siblings = current.siblings.sort_by { |page| page.attributes 
 [by] }
   index = siblings.index(current)
   next = siblings[index + 1]
   if next
 tag.locals.page = next
 tag.expand
   end
 end

 --
 John Long
 http://wiseheartdesign.com
 ___
 Radiant mailing list
 Radiant@lists.radiantcms.org
 http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Redcloth

2006-08-18 Thread Keith Bingman
John W. Long wrote:
 Keith Bingman wrote:
 _why seems to have other feelings, but this is how it would ideally work 
 for me.
 
 Could you point me to a url about this?
 
 --
 John Long
 http://wiseheartdesign.com

I meant to include this, but forgot:

http://redhanded.hobix.com/inspect/usingRedcloth3.html

He states that you can switch hard breaks on, but when I try this, it 
disables paragraphs. Oh well...

Keith BIngman


-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Redcloth

2006-08-18 Thread Keith Bingman
John W. Long wrote:
 Keith Bingman wrote:
 I meant to include this, but forgot:
 
 http://redhanded.hobix.com/inspect/usingRedcloth3.html
 
 He states that you can switch hard breaks on, but when I try this, it 
 disables paragraphs. Oh well...
 
 I think I'm going to side with _why for now. In the meantime you can
 just use br / tags between lines.
 
 --
 John Long
 http://wiseheartdesign.com

I assumed this one be the response. Unfortunately, this is not a site 
for me... one of the pesky customers who doesn't  want to learn...! I 
have a solution though. Thanks for looking into it.

Keith Bingman

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] How to add images to pages?

2006-08-18 Thread Keith Bingman
dror tirosh wrote:
 Hi,
 I don´t know if it works with 0.5.2 simply because I didn´t try it yet, 
 I
 just upgraded the rails version but still working on an old radiant 
 version.
 Keith - errors like you get for not attaching a file can be easily taken
 care of in the code, the code you´re using is more of an example then
 anything else.
 I´ll check the patch on 0.5.2 and send updates if needed.
 Dror

I figured this, but have been banging my head trying to get rid of that 
particular error. Ruby and I are still getting to know one another.

I have everything else working and little remains of your code example, 
but this one is vexing me. Pointers...?

Keith

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Page Parts as Attachments, Tags, Images, Events, etc.

2006-07-24 Thread Keith Bingman
bodhi wrote:
 Dror, I hope you don't mind, I created a patch for your work and added
 a ticket to Trac [1]. From the quick look I had while preparing the
 patch, I noticed a couple of things:
 
 * tests would be nice :)
 * there will be problems when files of the same name are attached
 * i changed the content method for the attachment type to return the
 url to the file, I imagine this will cause problems if radiant is used
 in a subdirectory (can radiant be used in a subdirectory anyway?)
 
 I posted the patch so others can try it out more easily. Thanks a lot
 for starting this and sharing your code with us! I'm going to need this
 in my current project at work.
 
 Bodhi
 
 [1] http://dev.radiantcms.org/radiant/ticket/147

I ask myself if this should be a new topic since I am not writing about 
comments and the Radiant philosophy, but rather about attachments. I 
will go with the flow for now.

Ok, thanks to Bodhi and Dror I actually got this going. This looks a 
real winner to me. With a few small modifications, I got the images to 
display in the Radiant interface (and went ahead and made an image 
attachment type, in case I want to upload something and not display it). 
I also added a radius tag for r:image with a class and alt attribute, 
all very rough but working. This fills a very big hole for me 
personally. It is still all a bit rough around the edges (error handling 
in particular is still not well implimented) but does show a nice way 
forward for attachments.

I am wondering how to add some RMagick stuff and various attachement 
types, but that will have to wait.


Keith

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant