Re: [Radiant] Counting Articles

2009-02-04 Thread Andrew Neil
On Wed, Feb 4, 2009 at 5:07 AM, Sean Cribbs wrote: > should use the default find options for page children, > which is to exclude virtual pages. Just to be sure, add virtual="false" and > see if you get a different result. Are you sure? Looking at the code for the r:children:count tag[1], it

[Radiant] Default Page Type

2009-02-04 Thread Keith Bingman
Has anyone tred to set a default page type, similar to the default parts extension? I would like to set a parent so that all of its children have a specific page type... TIA Keith Bingman ___ Radiant mailing list Post: Radiant@radiantcms.org Sear

Re: [Radiant] Which "Ba" ?

2009-02-04 Thread Anton Aylward
john muhl said the following on 02/03/2009 08:28 PM: > http://github.com/aslakhellesoy/ba/network > > looks like while there are some other forks their either not active or > get merged with the aslakhellesoy repository regularly. > > On Tue, Feb 3, 2009 at 3:06 PM, Anton Aylward

Re: [Radiant] Which "Ba" ?

2009-02-04 Thread Saša Babić
Anton Aylward wrote: I don't want to blow away my current application. I'm curious why do you find blowing it away such a problem? Can't you replicate the setup? Just branch* the application (you do use a repository, don't you?), clone the database, and you're set. -- * or copy the radiant

Re: [Radiant] Which "Ba" ?

2009-02-04 Thread Anton Aylward
Saša Babić said the following on 02/04/2009 09:38 AM: > Anton Aylward wrote: >> I don't want to blow away my current application. > > I'm curious why do you find blowing it away such a problem? I'm curious as to why someone supplied it as an extension and others didn't, but the one that didn't i

Re: [Radiant] Which "Ba" ?

2009-02-04 Thread Sean Cribbs
I think it's great that Aslak chose to fork Radiant rather than to just create extensions. At some point, you need to consider whether the monkey-patches are worth it, or whether it's better to use Radiant as the base. That said, at times when I've tried Ba, setup from a blank database was di

Re: [Radiant] if_content not working as expected

2009-02-04 Thread John Toups
FYI, This is also true of the "Continue reading..." code block for the Blog style template. In order to not get a "Continue Reading..." link on any entry which is complete in the main tab I must delete the extended tab. Code block from the Articles page define: Continue Read

Re: [Radiant] Counting Articles

2009-02-04 Thread Steven Southard
My version 7rc2 doesn't seem to have this option either. Adding virtual="false" has no effect. Replacing children with Drew's tag 'children' do |tag| tag.locals.filter_attributes = tag.attr tag.locals.options = children_find_options(tag) tag.locals.children = tag.locals.page.chil

Re: [Radiant] Counting Articles

2009-02-04 Thread Andrew Neil
Steven, Replacing children with Drew's tag 'children' do |tag| tag.locals.filter_attributes = tag.attr tag.locals.options = children_find_options(tag) tag.locals.children = tag.locals.page.children tag.locals.children_filtered = tag.locals.page.children.find(:all, tag.locals.optio

Re: [Radiant] Counting Articles

2009-02-04 Thread Steven Southard
Okay that works great. It totally cut out the archive month index and the draft articles. Thanks for the extra instructions they were helpful. On Feb 4, 2009, at 5:30 PM, Andrew Neil wrote: Steven, Replacing children with Drew's tag 'children' do |tag| tag.locals.filter_attributes =

Re: [Radiant] Counting Articles

2009-02-04 Thread Steven Southard
Actually replacing the whole file worked great for the counting but not so good for the articles. I get undefined method `merge' for nil:NilClass on the month index page. On Feb 5, 2009, at 12:21 AM, Steven Southard wrote: Okay that works great. It totally cut out the archive month index