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


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


[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


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


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


[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] 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 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 Paginated Archive Extension: What Next?

2007-11-05 Thread Keith Bingman
> What's the standard practice for distributing Radiant
> extenstions? This is only my second extension, so I'm
> sure there are things to fix. It seems too small to
> create a RubyForge project. And I'd rather not run my
> own SVN server.
>
> I can think of other ways to make the extension
> available, but what's the best way?


Have you thought about Google Code? That seems like a nice way to  
distribute smaller projects.

I hope you finf a way, I am interested in seeing this. I wrote a  
similar extension for a customer, but it is not ready for prime time.

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] 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] [PREVIEW] Snapshot extension: serve Radiant sites statically

2007-10-24 Thread Keith Bingman
This  looks very interesting, but I think the LIst scrubs  
attachments. At least I didn't get it. Can you post it somewhere? I  
would love to try it. It would solve a few problems I have been  
having...

Thanks.

Keith

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

> Hi!,
>
> Find it attached to this message.
>
> 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


[Radiant] Virtual Domain extension

2007-10-23 Thread Keith Bingman
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


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] Issues with the new tree admin extension and with the admin tree expansion

2007-10-06 Thread Keith Bingman
I am getting the same thing. I haven't really investigated yet, but  
it is a small test system, frozen to Edge and with the latest  
extension checked out.

Keith Bingman

On Oct 6, 2007, at 8:05 PM, Luigi Rizzo wrote:

> Sean,
>
> many thanks for your prompt reply.
>
> I froze my radiant installation but I get a sort of "recursive" admin
> tree (see the attached pdf file: http://pastie.caboo.se/104477 ).
>
> Is there something I'm missing?
>
> Thank you for your patience ...
>
> Luigi
>
>
> Sean Cribbs wrote:
>> You need to upgrade your Radiant installation to "edge" or "trunk":
>>
>> rake radiant:freeze:edge
>>
>> The "show_all?" helper was added in a recent changeset that resolved
>> some tree expansion issues.
>
> ___
> 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,

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:

// 

but should be

// 

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] [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
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] 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  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] 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 .
>>
>> 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] 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] New in Jargon: User Language Preference

2007-08-10 Thread Keith Bingman
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

[EMAIL PROTECTED]
http://keithbingman.com




On Aug 10, 2007, at 8:04 PM, John W. Long wrote:

> Just committed changes to jargon to allow users to select the language
> that they want to view the admin interface in:
>
> http://dev.radiantcms.org/radiant/changeset/479
>
> There is still some work to do on this, but it works beautifully now.
>
> To change your language, if you are an admin user:
>
> 1. Go to the Users screen
> 2. Click on the user that you would like to change the language
> preference for
> 3. Change the preferred language
> 4. Save your changes
>
> For normal users:
>
> 1. Go to the Preferences screen
> 2. Select your preferred language
> 3. Save your changes
>
> To switch a normal project to run on jargon:
>
>rake radiant:freeze:edge BRANCH=jargon
>rake db:migrate
>
> Enjoy!
>
> --
> 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] 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 (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


Re: [Radiant] Avoid Stylesheet Children

2007-08-02 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
>>  
>>
>> 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  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


[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] Internationalization Support

2007-07-21 Thread Keith Bingman
On Jul 21, 2007, at 5:58 PM, John W. Long wrote:

> I added a new branch to the repository today named 'jargon' and merged
> Kieth Bingman's changes to support Gibberish in from ticket 507
> (http://dev.radiantcms.org/radiant/ticket/507).

Cool! I have discovered a few things missing in that patch this week  
and have uploaded the corrections.

>
> Jargon needs the following before it can be merged into head:
>
> * A combo box needs to be added to the login screen that will allow  
> you
>to select your language

Per user languages were something I wanted to add, but I was waiting  
to see were you went with this.


> * Support for auto selecting the language based on the content type
>requested by the User's browser

I am not quite sure where this would fit in if you can select the  
language at login.

> * A strategy that will allow extensions to offer multi-language  
> support

This one is hard. The way Gibberish works is that it loads the  
language file. The easy way to do it is too paste the changes onto  
the language file, but this will get out of control very quickly.  
Ideally an extension will have it's own Gibberish files. At very  
least, each extension that replaces a view needs to be updated to  
support Gibberish. Do you have any thoughts about this John?

> * More language translation files

I have a German translation done and will submit that as a patch.  
Another thing that will be needed is a good way to submit and review  
translation files. I am not sure you want patches for every language.


> * More tests
>
> Hopefully this will give us a place to coordinate efforts on
> internationalization.

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


Re: [Radiant] Virtual Machine for Radiant

2007-06-28 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


[Radiant] Virtual Machine for Radiant

2007-06-28 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


[Radiant] Markdown and Textile Extension Translation

2007-06-25 Thread Keith Bingman
I did a Gibberish implementation a few weeks ago and I am trying to  
clean it up now. There were of course a few things that I missed.

But now I am trying to do the documentation for Textile and Markdown.  
I faithfully filled out all the Gibbberish strings, but nothing  
showed up. After about 45 min, I realized that this was because  
everything is in HTML, not RHTML... I get so used to see that "R" on  
the front, that I don't notice when it when it is gone. Anyone have  
some thoughts on how to impliment a translation for these documents?

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] 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
>  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:truncate_and_strip>
> 
>
> 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] 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] i18n and Gibberish

2007-06-20 Thread Keith Bingman
Like I sain, the TEH Plugin wasn't at all what I was talking about,  
but it is awesome and just what I needed for something else.

one very small problem: what is the syntax to turn on the simple  
mode? I tried what was written in the Readme, but get an error. I  
will poke around in the code, but thought as long as I had your  
attention, I would ask.

Once again, nice work. Add my vote to opening up Slate. It looks great.


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




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


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] i18n and Gibberish

2007-06-19 Thread Keith Bingman
I was merely referring to the documentation that is included in  
Radiant for both Textile and Markdown. I am trying to translate the  
Radiant interface, or more correctly, make it translatable. I was  
just wondering how far I should go...


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




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] i18n and Gibberish

2007-06-19 Thread Keith Bingman
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


[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] 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 , you need to write .

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: , 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 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
>>  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  tag works very well!
>>>>
>>>> But in the Available Tags list, I can't see anything related to
>>>> generating a thumbnail. Is there something like
>>>>  ?
>>>>
>>>> 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
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
>>  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  tag works very well!
>>>>
>>>> But in the Available Tags list, I can't see anything related to
>>>> generating a thumbnail. Is there something like
>>>>  ?
>>>>
>>>> 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 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  
 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  tag works very well!
>>
>> But in the Available Tags list, I can't see anything related to
>> generating a thumbnail. Is there something like
>>  ?
>>
>> 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
In order to generate a thumbnail with MiniMagick, you need to set the  
processor to :mini_magick. You can do this in the PageAttachments  
model, just where it says "has_attachment".

I have written my own tags that allow you to access the thumbnails,  
but these are currently not in page_attachments. It is a very easy  
tag to add, you just have to understand how attachment_fu works.  
There is a good tutorial on attachment_fu at http://clarkware.com/cgi/ 
blosxom/2007/02/24#FileUploadFu, which shows all the various parameters.

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




On Jun 6, 2007, at 9:52 AM, 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  tag works very well!
>
> But in the Available Tags list, I can't see anything related to
> generating a thumbnail. Is there something like
>  ?
>
> 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


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


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


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


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  tag.
>>> Example:
>>> ...
>>>
>>> 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] 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:
>
> 
> 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="no">No Iframes</iframe>');
> 
>
> 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. 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  tag.
> Example:
> ...
>
> 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] iFrame links

2007-05-29 Thread Keith Bingman
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? The only solution I have heard of  
so far involved setting a php variable in the link, the reading this  
back out (the author of this idea assumed I was using php).

Any ideas?

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] Help With JavaScript

2007-05-28 Thread Keith Bingman
Why do you need to get the actual hyperlink? If you just want to  
indicate what page you are on, use "li.selected a" as your CSS  
selector and it will find the proper link. I do this all the time for  
navigation lists.

Otherwise, you will have to have an id on the actual link, not the  
list element. This would of course work at well, but then you have to  
assign an id to you link in the navigation code. Not very clear I  
know, but maybe this helps...

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




On May 28, 2007, at 1:25 PM, Oliver Coningham wrote:

> Hi -
>
> Thanks for the useful information about how to add JavaScript to a  
> page.
>
> I know it's not quite on the topic of RoR, but I need a little bit  
> of help with my JavaScript.
>
> My HTML is as follows:
>   Welcome a>  Blog   href="/contact/" title="Contact information for Oliver  
> Coningham">Contact
>
> What I want to do is apply the class "selected" to certain links  
> using JavaScript. The purpose of this is to show what page you are  
> currently on.
>
> The JavaScript I currently have is this:
>
> document.getElementById('nav- 
> blog').className='selected'; 
>
> However, this only applies the class of "selected" to the   
> item. How to use the getElementById function to select the actual  
> hyperlink?
>
> Many thanks in advance!
>
> _
> Try Live.com: where your online world comes together - with news,  
> sports, weather, and much more.
> http://www.live.com/getstarted
> ___
> 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] extension question

2007-05-24 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


Re: [Radiant] Media Temple Hosting

2007-05-24 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] 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=en&cof=AH%3Aleft%3BS%3Ahttp%3A%2F% 
> 2Fradiantcms.org% 
> 3B&domains=lists.radiantcms.org&q=translate&btnG=Search&sitesearch=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-09 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] Promoting dev database to live

2007-05-07 Thread keith
All,
 
I have two Radiant instances on one domain, one in a folder called /test
that is pointed at the dev db and one on / pointing at the live db. How can
I quickly migrate changes made to the dev up the live database. Any ideas?
 
Many thanks,
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] Site 5 errors

2007-05-07 Thread keith
All,
 
Sorry to spam you guys this weekend!
 
So, after tears and hours of heartache I think I might have spotted where I
am going wrong. I have set up radiant 6 on site 5 accounts (the missing
instructions I needed pertain to setting up gem settings in .bash_profile.
The problems occur when I import from a database - or at least it looks that
way - can anyone tell me if this should cause a problem??
 
When I do so I get the 500 Apache Application error in /admin when trying to
view a page.
 
Thanks,
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] Site install - error finding gem

2007-05-07 Thread keith
All,
 
I've tested install on site 5 several times since the release and am
following the exact steps illustrated in the wiki -
http://dev.radiantcms.org/radiant/wiki/HowToSite5 - it gives me the same
exact error across accounts. When I try to unpack the application I get the
following error:
 
-bash-3.00$ ~/gems/bin/radiant --database mysql radapp
/usr/lib/site_ruby/1.8/rubygems.rb:301:in `report_activate_error': Could not
find RubyGem radiant (> 0) (Gem::LoadError)
from /usr/lib/site_ruby/1.8/rubygems.rb:238:in `activate'
from /usr/lib/site_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from /usr/lib/site_ruby/1.8/rubygems.rb:50:in `gem'
from /home/tynewave/gems/bin/radiant:15
 
I would be very grateful if some1 could help me.
 
 
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Site 5 Install error

2007-05-07 Thread keith
All,
 
Finally got Radiant .6 to work on Site 5 yesterday - but when I now go to a
page to edit I get the following error:
 

Application error (Apache)

Change this error message for exceptions thrown outside of an action (like
in Dispatcher setups or broken Ruby code) in public/500.html
This happened yesterday too, I get it installed. It works fine, then the
next day I get the error. 
 
I need to install Radiant for around five sites in the near future and this
is driving me nuts (!). Can someone help me offline so I can overcome this,
I can't see why .5.2 was so straightforward yet this upgrade is causing me
nightmares!
 
Can any1 help? 
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Site5 install error

2007-05-06 Thread keith
Now trying install with gems and get the following error when trying to
unpack the application:
 
-jailshell-3.00$ ~/gems/bin/radiant --database mysql radapp
/usr/lib/site_ruby/1.8/rubygems.rb:301:in `report_activate_error': Could not
find RubyGem radiant (> 0) (Gem::LoadError)
from /usr/lib/site_ruby/1.8/rubygems.rb:238:in `activate'
from /usr/lib/site_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from /usr/lib/site_ruby/1.8/rubygems.rb:50:in `gem'
from /home/buyscoot/gems/bin/radiant:15
 
Driving me crazy - can any 1 help?
___
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 unpack error

2007-05-06 Thread keith
Can anyone help installing Radiant - I have tried gems and subversion on
site5 with no luck. I am following the installation guide to the letter
-http://dev.radiantcms.org/radiant/wiki/Installation - but only get three
steps in before hitting a problem when unpacking radiant...

-bash-3.00$ radiant --database mysql radiant60
-bash: radiant: command not found

Where am I going wrong??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 06 May 2007 13:01
To: radiant@lists.radiantcms.org
Subject: Radiant Digest, Vol 14, Issue 8

Send Radiant mailing list submissions to
radiant@lists.radiantcms.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.radiantcms.org/mailman/listinfo/radiant
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiant digest..."


Today's Topics:

   1. Re: Error when testing extensions (Sean Cribbs)
   2. Re: Problem installing radiant 0.6.0 (Sean Cribbs)
   3. Re: Error when testing extensions (Leon Yeh)
   4. Re: Error when testing extensions ( Mislav Marohni? )
   5. [ANN] Radiant CMS 0.6.1 - Stone Cutter (Security Update)
  (John W. Long)
   6. How to add additional routes without touching radiant
  routes.rb (Leon Yeh)
   7. Re: Upgrading radiant .5 to .6 (Hans de Graaff)
   8. Re: Error when testing extensions (Erik van Oosten)
   9. Re: Style Sheet Unavailable on Radiant Mental (Gustaf Lindqvist)


--

Message: 1
Date: Sat, 5 May 2007 17:02:50 -0500
From: "Sean Cribbs" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] Error when testing extensions
To: radiant@lists.radiantcms.org
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Are these new extensions or ones that you started before the official
release?

Sean

On 5/5/07, Andrew O'Brien <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm trying to develop some extensions and whenever I try to run a test I
get:
>
> uninitialized constant
> ActionController::Assertions::ResponseAssertions (NameError)
>
> I'm running radiant 0.6 (frozen from the gem).  This happens for
> everything: unit tests, functional tests, tests run through rake,
> tests run directly -- you name it.
>
> Any ideas?
>
> 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
>


--

Message: 2
Date: Sat, 5 May 2007 17:23:07 -0500
From: "Sean Cribbs" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] Problem installing radiant 0.6.0
To: [EMAIL PROTECTED], radiant@lists.radiantcms.org
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Also, make sure RubyGems is up-to-date, if you have the permissions.

[sudo] gem update --system

Sean

On 5/5/07, keith <[EMAIL PROTECTED]> wrote:
> I've tried this 3 or 4 times - but no joy! Any ideas anyone as I really
need
> to get this installed.
>
> Keith
>
> -Original Message-
> From: John W. Long [mailto:[EMAIL PROTECTED]
> Sent: 05 May 2007 15:53
> To: [EMAIL PROTECTED]; radiant@lists.radiantcms.org
> Subject: Re: [Radiant] Radiant Digest, Vol 14, Issue 6
>
> keith wrote:
> > All,
> >
> > I am really struggling to install radiant 0.6.0 - I am following the
wiki
> > instructions and get to  ~/gems/bin/radiant --database mysql radapp and
> get
> > the following error...
> >
> > -bash-3.00$ ~/gems/bin/radiant --database mysql radapp
> > /usr/lib/site_ruby/1.8/rubygems.rb:301:in `report_activate_error': Could
> not
> > find RubyGem radiant (> 0) (Gem::LoadError)
> > from /usr/lib/site_ruby/1.8/rubygems.rb:238:in `activate'
> > from /usr/lib/site_ruby/1.8/rubygems.rb:76:in
> > `active_gem_with_options'
> > from /usr/lib/site_ruby/1.8/rubygems.rb:50:in `gem'
> > from /home/buyscoot/gems/bin/radiant:15
> >
> > Any ideas?
>
> Strange. It doesn't look like you have the gem installed correctly. Have
> you tried uninstalling it and reinstalling?
>
> --
> John Long
> http://wiseheartdesign.com
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Si

[Radiant] Problem installing radiant 0.6.0

2007-05-05 Thread keith
I've tried this 3 or 4 times - but no joy! Any ideas anyone as I really need
to get this installed.

Keith

-Original Message-
From: John W. Long [mailto:[EMAIL PROTECTED] 
Sent: 05 May 2007 15:53
To: [EMAIL PROTECTED]; radiant@lists.radiantcms.org
Subject: Re: [Radiant] Radiant Digest, Vol 14, Issue 6

keith wrote:
> All,
> 
> I am really struggling to install radiant 0.6.0 - I am following the wiki
> instructions and get to  ~/gems/bin/radiant --database mysql radapp and
get
> the following error...
> 
> -bash-3.00$ ~/gems/bin/radiant --database mysql radapp
> /usr/lib/site_ruby/1.8/rubygems.rb:301:in `report_activate_error': Could
not
> find RubyGem radiant (> 0) (Gem::LoadError)
> from /usr/lib/site_ruby/1.8/rubygems.rb:238:in `activate'
> from /usr/lib/site_ruby/1.8/rubygems.rb:76:in
> `active_gem_with_options'
> from /usr/lib/site_ruby/1.8/rubygems.rb:50:in `gem'
> from /home/buyscoot/gems/bin/radiant:15
> 
> Any ideas?

Strange. It doesn't look like you have the gem installed correctly. Have 
you tried uninstalling it and reinstalling?

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


Re: [Radiant] Radiant Digest, Vol 14, Issue 6

2007-05-05 Thread keith


That's correct - just had a look. I'll just backup my database and install
.6 from scratch, then import database back in. Just need to get install of
.6 working on my other domains first!

Thanks for all your help!

Keith

-Original Message-
From: John W. Long [mailto:[EMAIL PROTECTED] 
Sent: 05 May 2007 15:53
To: [EMAIL PROTECTED]; radiant@lists.radiantcms.org
Subject: Re: [Radiant] Radiant Digest, Vol 14, Issue 6

keith wrote:
> All,
> 
> I am really struggling to install radiant 0.6.0 - I am following the wiki
> instructions and get to  ~/gems/bin/radiant --database mysql radapp and
get
> the following error...
> 
> -bash-3.00$ ~/gems/bin/radiant --database mysql radapp
> /usr/lib/site_ruby/1.8/rubygems.rb:301:in `report_activate_error': Could
not
> find RubyGem radiant (> 0) (Gem::LoadError)
> from /usr/lib/site_ruby/1.8/rubygems.rb:238:in `activate'
> from /usr/lib/site_ruby/1.8/rubygems.rb:76:in
> `active_gem_with_options'
> from /usr/lib/site_ruby/1.8/rubygems.rb:50:in `gem'
> from /home/buyscoot/gems/bin/radiant:15
> 
> Any ideas?

Strange. It doesn't look like you have the gem installed correctly. Have 
you tried uninstalling it and reinstalling?

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


Re: [Radiant] Upgrading radiant .5 to .6

2007-05-05 Thread keith
I get to step 2 and receive the following errors?


-bash-3.00$ gem update radiant
Updating installed gems...
ERROR:  While executing gem ... (NoMethodError)
undefined method `refresh' for #


-Original Message-
From: John W. Long [mailto:[EMAIL PROTECTED] 
Sent: 04 May 2007 21:41
To: [EMAIL PROTECTED]; radiant@lists.radiantcms.org
Subject: Re: [Radiant] Upgrading radiant .5 to .6

keith wrote:
> How do I upgrade from radiant .5.2 to .6 ? 
>  
> I am using Site5 hosting. 
>  
> Any tutorials I can follow?

I just created one:

http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06

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


Re: [Radiant] Radiant Digest, Vol 14, Issue 6

2007-05-05 Thread keith
All,

I am really struggling to install radiant 0.6.0 - I am following the wiki
instructions and get to  ~/gems/bin/radiant --database mysql radapp and get
the following error...

-bash-3.00$ ~/gems/bin/radiant --database mysql radapp
/usr/lib/site_ruby/1.8/rubygems.rb:301:in `report_activate_error': Could not
find RubyGem radiant (> 0) (Gem::LoadError)
from /usr/lib/site_ruby/1.8/rubygems.rb:238:in `activate'
from /usr/lib/site_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from /usr/lib/site_ruby/1.8/rubygems.rb:50:in `gem'
from /home/buyscoot/gems/bin/radiant:15

Any ideas?

Keith 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 05 May 2007 13:00
To: radiant@lists.radiantcms.org
Subject: Radiant Digest, Vol 14, Issue 6

Send Radiant mailing list submissions to
radiant@lists.radiantcms.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.radiantcms.org/mailman/listinfo/radiant
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiant digest..."


Today's Topics:

   1. Re: Style Sheet Unavailable on Radiant Mental (John W. Long)
   2. Re: Style Sheet Unavailable on Radiant Mental (Ben Minton)
   3. Re: Style Sheet Unavailable on Radiant Mental (Ben Minton)
   4. Re: Style Sheet Unavailable on Radiant Mental (Chris Boone)


--

Message: 1
Date: Sat, 05 May 2007 00:48:09 -0400
From: "John W. Long" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] Style Sheet Unavailable on Radiant Mental
To: radiant@lists.radiantcms.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Ben Minton wrote:
> After some further testing on WinXP/Linux, seems that only Firefox fails
to
> render using the style sheet. Opera 9.2 and IE6.0 work as per usual.
> 
> Any ideas?

By chance is the Content-Type wrong on your stylesheet layout? It should 
be set to text/css.

--
John Long
http://wiseheartdesign.com


--

Message: 2
Date: Sat, 5 May 2007 14:50:58 +1000
From: "Ben Minton" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] Style Sheet Unavailable on Radiant Mental
To: radiant@lists.radiantcms.org
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Maybe so, but nothing has changed, in regard to the radiant files, only
being editing via the /admin/login and Firefox worked fine this morning, and
now doesn't.

On 5/5/07, John W. Long <[EMAIL PROTECTED]> wrote:
>
> Ben Minton wrote:
> > After some further testing on WinXP/Linux, seems that only Firefox fails
> to
> > render using the style sheet. Opera 9.2 and IE6.0 work as per usual.
> >
> > Any ideas?
>
> By chance is the Content-Type wrong on your stylesheet layout? It should
> be set to text/css.
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.radiantcms.org/pipermail/radiant/attachments/20070505/c0550405/
attachment.html 

--

Message: 3
Date: Sat, 5 May 2007 14:53:17 +1000
From: "Ben Minton" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] Style Sheet Unavailable on Radiant Mental
To: radiant@lists.radiantcms.org
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

this is straight out of the source from a Firefox page:



this is straight out of the source from an IE page:




On 5/5/07, Ben Minton <[EMAIL PROTECTED]> wrote:
>
> Maybe so, but nothing has changed, in regard to the radiant files, only
> being editing via the /admin/login and Firefox worked fine this morning,
and
> now doesn't.
>
> On 5/5/07, John W. Long <[EMAIL PROTECTED]> wrote:
> >
> > Ben Minton wrote:
> > > After some further testing on WinXP/Linux, seems that only Firefox
> > fails to
> > > render using the style sheet. Opera 9.2 and IE6.0 work as per usual.
> > >
> > > Any ideas?
> >
> > By chance is the Content-Type wrong on your stylesheet layout? It should
> >
> > be set to text/css.
>
>
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.radiantcms.org/pipermail/radiant/attachments/20070505/88166bb3/
attachment-0001.htm 

--

Message: 4
Date: Fri, 4 May 2007 23:59:08 -0700
From: "Chris Boone" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] Style Sheet Unavailable on Radiant Mental
To: radiant@lists.radiantcms.o

Re: [Radiant] Update to 0.6

2007-05-03 Thread keith
When I try and update the radiant gem in putty I get the following error?
 
bash-3.00$ gem update radiant
Updating installed gems...
ERROR:  While executing gem ... (NoMethodError)
undefined method `refresh' for #
 
Any ideas any1?
 
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] 0.6 install error

2007-05-03 Thread keith
Matt,

Thanks - got that working now. But (isn't there always a but!) when I know
got the site I get a blank screen - the same when I go to /admin?

Any ideas?
Keith

-Original Message-
From: Matt Bauman [mailto:[EMAIL PROTECTED] 
Sent: 03 May 2007 23:59
To: [EMAIL PROTECTED]; radiant@lists.radiantcms.org
Subject: Re: [Radiant] 0.6 install error

Right.  Drop the trailing slash from public_html.  A link is a file,
not a directory.  Your command should look like:

$ ln -s ~/millimar/radiant-0.6.0/public/ ~/public_html

Matt

On 5/3/07, keith <[EMAIL PROTECTED]> wrote:
>
>
>
>
> All,
>
>
>
> Still struggling with installing 0.6 - I have followed the instructions
and
> everything seems to be fine - however when I create a symbolic link after
> renaming public_html to public_html_bak I get the an error saying the
> directory or file can't be found??
>
> Here is the error from putty.
>
>
>
> -bash-3.00$ ln -s ~/millimar/radiant-0.6.0/public/ ~/public_html/
>
> ln: creating symbolic link `/home/millimar/public_html/' to
> `/home/millimar/millimar/radiant-0.6.0/public/': No such
> file or directory
>
>
>
> 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] 0.6 install error

2007-05-03 Thread keith
All,
 
Still struggling with installing 0.6 - I have followed the instructions and
everything seems to be fine - however when I create a symbolic link after
renaming public_html to public_html_bak I get the an error saying the
directory or file can't be found??
Here is the error from putty.
 
-bash-3.00$ ln -s ~/millimar/radiant-0.6.0/public/ ~/public_html/
ln: creating symbolic link `/home/millimar/public_html/' to
`/home/millimar/millimar/radiant-0.6.0/public/': No such file or directory
 
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] Upgrading radiant .5 to .6

2007-05-01 Thread keith
How do I upgrade from radiant .5.2 to .6 ? 
 
I am using Site5 hosting. 
 
Any tutorials I can follow?
 
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] Installing radiant 0.6 on site 5

2007-05-01 Thread keith
All,
 
I am trying to install radiant 0.6 on Site5 hosting - does anyone know how
this can be done easily? I have followed tutorials for the .5.2 release but
cannot get this working for .6.
 
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] 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] Flash attachment

2007-04-10 Thread keith
All,
 
I want to add a flash mp3 player to all pages but the flash player has to be
in the same folder as the page to play - this means that each page (eg.
/info/) cannot access the flash. As the site is not static I cannot simply
upload the flash to each directory. Any ideas how I can get this to work
people?
 
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] [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:



  


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'

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

  
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:





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] Asset Management

2007-03-28 Thread Keith Bingman
I am working on this as we speak. I was in Mexico for a few weeks and  
lost track of this, but in the last few days I have gotten back to  
it. I have added pagination and tagging (for images, but articles  
aren't far behind) and am working on other data types soon. Really  
the only problem is a thumbnail, I should just make a generic "non- 
image" thumbnail and build the rest when I have time. I have also  
switched this from acts_as_attachment to attachment_foo and now  
mini_magick is also supported.


And yes, lot's of the code is stolen from Mephisto.

I should have a version usable by other people in the next few days.  
The svn repository will also be changing, as I have a new host.


If you are impatient, in the model by acts_as_taggable, it limits the  
asset type to "image". Change this and do something in the views to  
call a generic icon and it will work...


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




On Mar 28, 2007, at 4:28 PM, doug wrote:


hi All.

longtime lurker, first time caller

I am finding Keith Bingham's asset foo to be dealing with images
admirably, but not other content_types, I see code to handle it, so I
dive in...

At this point confusion sets in, so I thought I'd ask what the plan  
was

for non image content_types, as some supporting code appears to be
there... (ported from mephisto?)

Any pointers as to the right direction to proceed would be very much
appreciated.

cheers,

--
doug langtel: +44 (1273) 808949
*nix sysadminhttp://www.netdotnet.net/
technical consultant mailto:[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] 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  
 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  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.




















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

2007-03-24 Thread keith
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.
 







 
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

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

  1   2   >