Re: [Radiant] How does one keep track of GitHub?

2008-09-30 Thread Andrew Neil
On Tue, Sep 30, 2008 at 8:05 AM, Pacifists [EMAIL PROTECTED] wrote:

 Hello,

 It's really nice idea, I've subscribed to it and I can see a bunch of
 not radiant related posts in there (all 2 days old). Maybe this was
 before filtering rules were applied ?


Yeah, I got that as well, and I guess that would be why. It seems to have
straightened out since though.

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


Re: [Radiant] Can page_attachments store uploads in database?

2008-09-30 Thread Pacifists
There were dark times when we had like 200 000 images in the database,
because the initial developers thought it's the easiest way to control
access to them for photo sharing and ordering website. So from that
experience I can tell you that it would be slow as hell (it's kind of
obvious but still). For example Apache on my laptop can serve 1000+
static files per second and only like 15-20 request/sec for php. My
point is if you're going to use this logic for production it will
totally kill your performance.

If I were in your place I'd go with the capistrano task thing

Just my 2 cents

On Tue, Sep 30, 2008 at 3:50 PM, Sean Cribbs [EMAIL PROTECTED] wrote:
 Errol,

 If you add the appropriate database field(s) and tweak the model, you should
 get it to work.  I have no idea how one would get the image data back out,
 however, since I've never done it.

 Sean

 Errol Siegel wrote:

 I know attachment_fu supports this, but I'm not sure if that means
 page_attachments can work with it.

 I wanted to see if anybody knows the answer to this before I spend the
 time on trial-and-error.

 Thanks,
 Errol


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

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


[Radiant] google analytics as extension

2008-09-30 Thread Jasper Kooij
Google analytics, next to page tracking etc, has the option for tracking
outbound links. It's a very handy feature to use rather than another
tracking software. A simple implementation of it is simple by changing
a:

a href=http://davidseah.com/blog/the-printable-ceo-series/;
http://davidseah.com/blog/the-printable-ceo-series//a

into

a href=http://davidseah.com/blog/the-printable-ceo-series/;
onclick=javascript:pageTracker._trackPageview('outbound/http://davidseah.com/blog/the-printable-ceo-series/');http://davidseah.com/blog/the-printable-ceo-series//a

Is anyone working on an implementation of Google Analytics? If not I
would like to claim it to build my first extension.

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


[Radiant] Re: google analytics as extension

2008-09-30 Thread Marcus Derencius
Jasper,

What do you think about using javascript for that? That would be my 
choice.

It's pretty easy with this jquery plugin : 
http://jamazon.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/

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


[Radiant] Access to obsoleted dev wiki

2008-09-30 Thread Bill Barnard
I'm working through some code here that requires me to learn a little
bit about radius tags. I found a very useful thread in the mailing list
beginning at:

http://lists.radiantcms.org/pipermail/radiant/2007-January/002957.html

The thread contains a great explanation of how the navigation tag
works. A post late in the thread refers to a wiki write-up at:

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

When the dev site was transitioned to github the (trac?) wiki did not
also move. I suspect there may still be some useful content there that
could be merged with junebug wiki. Can anyone access the above write-up
and/or add it to the current wiki?

Thanks, Bill


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


[Radiant] Is there a trick to using Capistrano to deploy Radiant site?

2008-09-30 Thread Errol Siegel
I installed the capistrano gem and ran `capify .` (after first adding
/var/lib/gems/1.8/bin to the PATH variable).

When I try cap deploy:setup I get:

the task `deploy:setup' does not exist

I have not run into this problem trying to use Capistrano with regular
rails apps.

Is there something special I need to do?
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Is there a trick to using Capistrano to deploy Radiant site?

2008-09-30 Thread Jim Gay


On Sep 30, 2008, at 6:28 PM, Errol Siegel wrote:


I installed the capistrano gem and ran `capify .` (after first adding
/var/lib/gems/1.8/bin to the PATH variable).

When I try cap deploy:setup I get:

the task `deploy:setup' does not exist

I have not run into this problem trying to use Capistrano with regular
rails apps.

Is there something special I need to do?


No special tricks.

Is there anything different about your environment than with your  
regular rails apps? You mentioned that you had to install the gem, so  
I assume that this is some other environment.

What do you get with which cap

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


[Radiant] Extension question -- adding a photo to a page

2008-09-30 Thread Joe Van Dyk
Hi,

My client wants the ability to pick the banner (a wide image that will
be at the top of the page) for each page.  They should be able to pick
a different banner on each page, and if one's not picked, it defaults
to the parent page's banner.

What's the best approach for doing this?

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


Re: [Radiant] Extension question -- adding a photo to a page

2008-09-30 Thread Sean Cribbs
Andrew and I wrote an extension to do just that!  I'll see if he wants 
to open-source it, as it's very specific to Con-way's needs at the moment.


Sean

Joe Van Dyk wrote:

Hi,

My client wants the ability to pick the banner (a wide image that will
be at the top of the page) for each page.  They should be able to pick
a different banner on each page, and if one's not picked, it defaults
to the parent page's banner.

What's the best approach for doing this?

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

  


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


Re: [Radiant] Extension question -- adding a photo to a page

2008-09-30 Thread Jim Gay

On Sep 30, 2008, at 9:25 PM, Joe Van Dyk wrote:


Hi,

My client wants the ability to pick the banner (a wide image that will
be at the top of the page) for each page.  They should be able to pick
a different banner on each page, and if one's not picked, it defaults
to the parent page's banner.

What's the best approach for doing this?


Depends on how you are managing the images.

With plain ol' Radiant features, you can set the banner image in a  
page part called banner on the home page.
In the layout you would do r:content part=banner inherit=true /  
which would display the current page's banner part, or if none exists,  
display the parent page's banner (or parent's parent, and so on). If  
they want to use the home page image, then they don't add the banner  
part, otherwise they do.


You could also use page_attachments and have your client attach an  
image called banner and then put r:attachment name=banner / in  
the layout which would inherit it's parent's banner if none is found.


Or, if you want it to be even simpler for your client, you could write  
an extension that provides a list of images to choose from on each  
page and allows them to select the image. That would leave less room  
for them screwing it up, but in general I've found that my clients  
easily understand inheritance and page parts.
If you go that route, inheritance is simple. Take a look at the way  
it's handled in the standard_tags

http://github.com/radiant/radiant/tree/master/app/models/standard_tags.rb#L266


Jim Gay
http://www.saturnflyer.com



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


[Radiant] Re: google analytics as extension

2008-09-30 Thread Jasper Kooij
Hi Marcus,

How is the above ga tracking different from the new ga.js? That's the 
one I'm using on my wordpress where I can specify by means of a pluging 
van joost de valk.

Here is the screenshot of the settings in wordpress for example using 
the ga.js to tag:

http://screencast.com/t/l3orhxHo3wq

I'm not trying to reinvent the wheel, just measuring on a website what's 
working and what's not.

the outbound tag in 
pageTracker._trackPageview('outbound/http://davidseah.com/blog/the-printable-ceo-series/')
 
and simply be replaced by a preset or specified one. I've checked the 
analytics and the tagging works well that way.

The only thing is that the JS code needs to be loaded before the 
pageTracker is being called.

So I'm going through the tutorial in creating an extension at the summer 
reboot http://wiki.radiantcms.org/Creating_an_extension_I


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