Re: [Radiant] help with the docs?

2006-10-13 Thread Dave Crossland
Hi Allen! On 11/10/06, Allen <[EMAIL PROTECTED]> wrote: > I offered to help with the documentation a couple of days ago on > radiant-docs and didn't get a reply, maybe because no one looks at that > list. Anyhow, I'd still like to help with the docs. Awesome! John asked me to take an official ro

Re: [Radiant] help with the docs?

2006-10-11 Thread Dave Crossland
On 11/10/06, Allen <[EMAIL PROTECTED]> wrote: > I offered to help with the documentation a couple of days ago on > radiant-docs and didn't get a reply, maybe because no one looks at that > list. Anyhow, I'd still like to help with the docs. Awesome! John asked me to take an official role for docu

Re: [Radiant] Presentation PDF

2006-10-06 Thread Dave Crossland
On 06/10/06, Alexander Horn <[EMAIL PROTECTED]> wrote: > > If there's a lot of call to see a live demo, I could probably put up > > the version that I currently have so that everyone could take a look > > at it. > > I second it. Me too :-) -- Regards, Dave ___

Re: [Radiant] News headline (RSS summary) behavior

2006-09-26 Thread Dave Crossland
On 26/09/06, Bryan <[EMAIL PROTECTED]> wrote: > Hi, > > How do you install this behavior in Radiant. I tried dropping the > rss_behavior.rb into vendor/plugins directory and restarting lightty. > > Do I need to place init.rb somewhere? Instructions for creating a plugin are at: http://radiantcms

Re: [Radiant] How do I install RadiantCMS with Instant Rails (windows)?

2006-09-25 Thread Dave Crossland
On 25/09/06, John W. Long <[EMAIL PROTECTED]> wrote: > John Woo wrote: > > Actually I meant how do I install RandiantCMS in Instant Rails for > > Windows. > > The easiest way is to get to a command prompt and type: Added to the wiki: http://dev.radiantcms.org/radiant/wiki/HowToInstantRailsWindows

Re: [Radiant] check for children

2006-09-25 Thread Dave Crossland
On 25/09/06, Steven Noels <[EMAIL PROTECTED]> wrote: > On 24 Sep 2006, at 22:24, Dave Crossland wrote: > > > If you could provide it as a plugin, that would be awesome! :-) > > Creating a plugin for a two-line patch for a totally trivial addition > would be overkill, n

Re: [Radiant] Manual page sorting in admin view

2006-09-24 Thread Dave Crossland
On 24/09/06, Tom von Schwerdtner <[EMAIL PROTECTED]> wrote: > generate tree-style navigation for a website ... > improve generated sitemaps ... > sort the admin view via DnD and use this ordering. Those 3 features sound awesome and very useful IMO. The Drag-n-Drop feature would be an interface ni

Re: [Radiant] check for children

2006-09-24 Thread Dave Crossland
On 24/09/06, Steven Noels <[EMAIL PROTECTED]> wrote: > > en that indeed did the trick. :-) > No idea however if this is the best way > to do this. This is exactely the way I have done it. > I can provide a (obviously) very simple patch if people > are interested. If you could provide it as a p

Re: [Radiant] check for children

2006-09-24 Thread Dave Crossland
On 24/09/06, Steven Noels <[EMAIL PROTECTED]> wrote: > In my base template, I want to output a only if some children > of the current page exist. How can I check for children of a page? You need to define a new tag like that would work like this: This is explained in more details o

Re: [Radiant] Showing 5 pages at a time

2006-09-22 Thread Dave Crossland
On 22/09/06, Keith Bingman <[EMAIL PROTECTED]> wrote: > I need to build a small archive, but not really a date based one. I > just need to show 5 Articles at a time, then the next five. I assume > a behavior would do this, but actually at the moment have no idea how > to start. Any tips and prods i

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Dave Crossland
On 20/09/06, John W. Long <[EMAIL PROTECTED]> wrote: > Giovanni Intini wrote: > > Create a layout with content type text/css and paste your css code there. > > It's probably better to create a layout with a content type of > "text/css" and put just the tag in the layout. Then create > a page, assi

Re: [Radiant] Menu and Page Menus

2006-09-21 Thread Dave Crossland
On 21/09/06, Kevin Ansfield <[EMAIL PROTECTED]> wrote: > > If anyone thinks it would be worthwhile, I can see what I can do about > packaging this up into a plugin. Yes please! :-) -- Regards, Dave ___ Radiant mailing list Post: Radiant@lists.radiant

Re: [Radiant] Radiant in a subdirectory

2006-09-19 Thread Dave Crossland
On 19/09/06, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > I have Radiant installed in a subdirectory, not the site root. It would be great if you could document this on the wiki! I've set up a link on the HowTo page and made the inital content: http://dev.radiantcms.org/radiant/wiki/HowToInstall

Re: [Radiant] Menu and Page Menus

2006-09-18 Thread Dave Crossland
On 18/09/06, Ian Gordon <[EMAIL PROTECTED]> wrote: > > Anyway, let me know if anyone thinks this is worthwhile and how I > might go about implementing it. I'd be very interested to see what you come up with for this :-) Rather than a behaviour, perhaps a 'Global Tag' is more like what you want to

Re: [Radiant] Radiant Docs Project

2006-09-18 Thread Dave Crossland
On 18/09/06, John W. Long <[EMAIL PROTECTED]> wrote: > > Would someone else be willing to take up the cause? You'll get full > access to the Radiant Web site (admin, trac, etc...) and Subversion > commit rights for documentation purposes. I'm up for this :-) -- Regards, Dave

Re: [Radiant] Dynamic pages strategies?

2006-09-18 Thread Dave Crossland
On 18/09/06, John W. Long <[EMAIL PROTECTED]> wrote: > Ian Gordon wrote: > > This is probably something I am looking for. I am looking to make it a > > bit more robust with custom CSS, proper field validation and > > authentication from spam bots. Here is the form I use on my mailer, which passes

Re: [Radiant] Submenu

2006-09-18 Thread Dave Crossland
On 18/09/06, Dave Crossland <[EMAIL PROTECTED]> wrote: > Hi, > > I have 2 snippets for my navigation. See this in action at http://uk.tug.org :-) -- Regards, Dave ___ Radiant mailing list Post: Radiant@lists.radiantcms.o

Re: [Radiant] Submenu

2006-09-18 Thread Dave Crossland
Hi, I have 2 snippets for my navigation. 1. Primary Navigation: - 8< -- Site Navigation Home Membership Events Resources Constitution Baskerville Contact About -- 8< -- 2. SecondaryNavigation -- 8< -- Breadcrumbs Child Pages → And then this 'Normal' Layout: -- 8< -- http://www.w3.o

Re: [Radiant] Outputting the content of all parts of a page

2006-09-18 Thread Dave Crossland
On 18/09/06, Giovanni Intini <[EMAIL PROTECTED]> wrote: > Glad I could help :) Okay, added to the wiki as a Recipe :-) -- Regards, Dave ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Si

[Radiant] htaccess and file/directory redirection

2006-09-15 Thread Dave Crossland
Hi, I have a site, http://uk.tug.org/ , that has some 'file' URIs such as http://uk.tug.org/activities http://uk.tug.org/baskerville and some 'directory' URIs such as http://uk.tug.org/Activities/ http://uk.tug.org/Baskerville/ Since Radiant is case sensitive, I would expect visiting http://u

Re: [Radiant] Parent tag?

2006-09-14 Thread Dave Crossland
On 14/09/06, Joseph Banks <[EMAIL PROTECTED]> wrote: > Jay Levitt wrote: > > I'm in the process of moving but will submit something this week with > > tests unless beats me to it.. > > > > Jay > > Has this been submitted? I couldn't find it after a cursory search. There's something about parents

Re: [Radiant] and page children

2006-09-14 Thread Dave Crossland
On 14/09/06, Sean Cribbs <[EMAIL PROTECTED]> wrote: > FYI Peek at the weblog... http://radiantcms.org/blog/ That is awesome! Thank you! -- Regards, Dave ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailin

Re: [Radiant] and page children

2006-09-14 Thread Dave Crossland
On 14/09/06, Sean Cribbs <[EMAIL PROTECTED]> wrote: > I've been following this thread, but haven't replied yet. The problem may > be a tag scoping issue, and maybe a custom tag is in need here. > > tag "children:random" do |tag| > children = tag.locals.children > if children.size > 0 > ind

Re: [Radiant] Recursive

2006-09-14 Thread Dave Crossland
On 14/09/06, Giovanni Intini <[EMAIL PROTECTED]> wrote: > This is the final code I used. Thanks for posting this! I've updated the wiki's HowTo section with a 'Recipies' section, as discussed on list last week, and made this the first one! :-) http://dev.radiantcms.org/radiant/wiki/HowToMakeASit

Re: [Radiant] Mailer Behavior for Radiant XHTML Bug

2006-09-13 Thread Dave Crossland
On 14/09/06, John W. Long <[EMAIL PROTECTED]> wrote: > > Dave, perhaps you could create a patch for this and send it to Matt > McCray. Plugins are pretty easy to modify. Could you point me in the direction of tutorials to do this? I'm happy to but don't know how :-) When I just changed the lib/ma

Re: [Radiant] Mailer Behavior for Radiant XHTML Bug

2006-09-13 Thread Dave Crossland
On 13/09/06, Tom von Schwerdtner <[EMAIL PROTECTED]> wrote: > > The HTTP 1.1 spec says it needs to be: > > http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.1 > > I can't imagine how that would affect validation. What is the > validation error you were/are getting? http://validator.w3.o

[Radiant] Mailer Behavior for Radiant XHTML Bug

2006-09-13 Thread Dave Crossland
Hi, While validating my XHTML pages I got an error from the Mailer Behavior: # Build the html form tag... results = %Q(http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Files on the Filesystem not managed by Radiant

2006-09-13 Thread Dave Crossland
On 13/09/06, Bodhi <[EMAIL PROTECTED]> wrote: > > Good luck! mod_rewrite is sometimes just black-magic :) Yup :-) I've tried commenting out that line and removing my specific rewrites, but it doesnt work. I suspect a system wide apache configuration with my hosting provider (www.primehosting.co.u

Re: [Radiant] Files on the Filesystem not managed by Radiant

2006-09-12 Thread Dave Crossland
On 12/09/06, John W. Long <[EMAIL PROTECTED]> wrote: > Dave Crossland wrote: > > So ideally I want Apache to serve files that exist, and any that 404 > > to pass to Radiant to serve or acutally 404. > > > > Is this possible? > > Yes. It should be worki

Re: [Radiant] Next and Previous Articles

2006-09-12 Thread Dave Crossland
On 12/09/06, Sean Santry <[EMAIL PROTECTED]> wrote: > > There was no radiant/app directory so I've created it and its > > behaviors child. I now get these errors: > > Sorry, Dave, I should have been more clear. In your Radiant > installation (wherever that is), find the app directory, in which > th

[Radiant] Case Sensitivity

2006-09-12 Thread Dave Crossland
Hi, The old site I am migrating to Radiant used mixed case URLs, and Radiant is case sensitive. I'd prefere to have all lowercase URLs (as per default slugs) Is there a way to set Radiant case insensitive? -- Regards, Dave ___ Radiant mailing list Po

Re: [Radiant] Next and Previous Articles

2006-09-12 Thread Dave Crossland
On 11/09/06, Sean Santry <[EMAIL PROTECTED]> wrote: Hi Sean, Thanks for the quick response! :-) > > If I want to use these behaviours, how do I go about that? :-) > > Create a file named "00_next_previous_behavior.rb", paste in the > code, and save it to your radiant/app/behaviors directory. The

[Radiant] Files on the Filesystem not managed by Radiant

2006-09-12 Thread Dave Crossland
Hi, I have radiant installed via gem and then executed on the directory /home/ukktug/radiant/ I then have a symlink /home/ukktug/public_html -> radiant/public/ This is then servied via Apache with FCGI to Rails (I think :-) I have a lot of older legacy files which I would like to place in the

Re: [Radiant] FileListBehavior not using path attribute

2006-09-12 Thread Dave Crossland
On 12/09/06, James MacAulay <[EMAIL PROTECTED]> wrote: > Sorry about that...my fault entirely. I forgot to update the readme > when I changed the way the attributes worked. Haha okay cool :-) Works perfectly - thank you! :-) -- Regards, Dave ___ Radia

Re: [Radiant] Next and Previous Articles

2006-09-11 Thread Dave Crossland
On 06/09/06, Sean Santry <[EMAIL PROTECTED]> wrote: > Here's the corrected version: If I want to use these behaviours, how do I go about that? :-) -- Regards, Dave ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.

Re: [Radiant] Virtual domain plugin patching

2006-09-11 Thread Dave Crossland
On 11/09/06, Paul Stadig <[EMAIL PROTECTED]> wrote: > Did you install radiant using the gem? Yes > Because when you do so the radiant > application is actually in your gem directory. You might be able to go to > the radiant gem directory and apply the patch, although that's probably a > bad idea

[Radiant] Virtual domain plugin patching

2006-09-11 Thread Dave Crossland
Hi, Following the instructions on http://theplant.jp/blog/2006/07/27/radiant-virtual-domain-plugin I have a problem with the patching stage: $ patch -p0 < vendor/plugins/virtual_domain/virtual_domain.patch can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? T

[Radiant] Password Protected Behavior plugin not authenticating

2006-09-11 Thread Dave Crossland
Hi, I'm having problems with the Password Protected Behavior plugin not authenticating. Homepage has a child 'Password' with a part labelled "body": This is my password page! and a part labelled "config": protected: realm: UKTUG error_message: Bad username or password

[Radiant] FileListBehavior not using path attribute

2006-09-11 Thread Dave Crossland
Hi, I'm having a problem with the FileListBehavior not using the path attribute specified, only the radiant/public directory... I have a child of the homepage, 'Images', with the following body part: --8< -- Here is a list of files in this directory: * "": --8< -- Filter is textile, behavi

Re: [Radiant] Roadmap?

2006-08-29 Thread Dave Crossland
On 29/08/06, John W. Long <[EMAIL PROTECTED]> wrote: > > Even the simplest way adds complexity. I haven't ruled it out (infact I > have a nice implementation in mind if it is implemented), but I'm not > sure it's worth it (at this point). Just my 2c but I think version control in a CMS for [small]

Re: [Radiant] Roadmap?

2006-08-29 Thread Dave Crossland
On 29/08/06, John W. Long <[EMAIL PROTECTED]> wrote: > >1. I'm leaning away from implementing a fine-grained permissions > system. Mainly I don't think it is very consistent with Radiant's > focus to be a CMS for small teams. I agree >2. I have recently begun to question wheth

[Radiant] New breadcrumbs tab for use in ?

2006-08-29 Thread Dave Crossland
Hi, I'm wondering how I would go about implementing a new breadcrumb Radius tag, so I can do something like ... in my XHTML layouts. -- Regards, Dave ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/l

Re: [Radiant] Another question - Entering metadata

2006-08-29 Thread Dave Crossland
On 29/08/06, Nathan Wright <[EMAIL PROTECTED]> wrote: > Let me know and I'll see if I can > work up a diff for you. I'd also be interested in this :-) -- Regards, Dave ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/ma

[Radiant] Backing Up a Radiant Site

2006-08-22 Thread Dave Crossland
Hi, I've just completed a site with Radiant, and although my little site is quite primitive, I got an amazing amount done in a very short time! So thanks to John and all the other contributers for their hard work on this excellent system! I now want to back up the site. Although I'm hosted with T

Re: [Radiant] Problems with tags

2006-08-22 Thread Dave Crossland
On 23/08/06, John W. Long <[EMAIL PROTECTED]> wrote: > Dave Crossland wrote: > > Ok, the extra new lines are the problem. Radiant tags observe whitespace > (that is, they won't trim extra newlines off for you). Instead of the > what you had, try this: > > See

Re: [Radiant] Problems with tags

2006-08-22 Thread Dave Crossland
Hi John! On 23/08/06, John W. Long <[EMAIL PROTECTED]> wrote: > Dave Crossland wrote: > > Here is the snippet: > > > > > > > src="/images/banners/ > > > > banner1 > > banner2 > > > > .jpg" /> > > > >

[Radiant] Problems with tags

2006-08-22 Thread Dave Crossland
Hi, I'm now having a problem with the tag for inserting a random image into a snippet. I've looked at http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/page_context.rb where I see: # # ... # ... # ... # # # Randomly renders one of the options specified by the 'option' t

Re: [Radiant] Effect of → in

2006-08-22 Thread Dave Crossland
On 22/08/06, Bob Showalter <[EMAIL PROTECTED]> wrote: > On 8/22/06, Dave Crossland <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm trying to use the following in a footer snippet: > > > > ← You are here > > Looks like it should be "s

[Radiant] Effect of → in

2006-08-22 Thread Dave Crossland
Hi, I'm trying to use the following in a footer snippet: ← You are here Problem is, the → is converted into a > for some reason. How can I fix this? I'm very new to Rails and Radiant. -- Regards, Dave ___ Radiant mailing list Radiant@lists.radiantcm