[Radiant] HTML entities tag?

2007-05-13 Thread Adam Salter
I have a Title in my CMS which contains an & sign is there any way to have radiant html encode it using tags? (Because as everybody knows & signs are dangerous for validation) I can write an extension for this, but it seems overkill... I expect it would be a standard tag really... If not

[Radiant] [ANN] New Radiant Site

2007-05-13 Thread Adam Salter
A informational site that would have been much more difficult in anything other than Radiant (of course :) http://www.eastnewbritain.com Extensions: Gallery extension (widely used) - just about every image is served by gallery extension actually Page reordering ... that's about it ;) I wen

Re: [Radiant] Radiant 0.6 Lapidary

2007-04-29 Thread Adam Salter
Can someone please explain to me if there is any reason not to freeze your install to a particular version of rails? Does rails run faster if it's run from gem? or local vendor directory? I also notice it has it's own rails install... Wouldn't it be better to just run from the latest rails g

Re: [Radiant] Radiant 0.6 Lapidary

2007-04-26 Thread Adam Salter
What is the command to unpack the gem? According to the wiki "radiant --database mysql target" should unpack the gem into target directory, but it's not working. Have I got something wrong? -Adam On 24/04/2007, at 11:22 PM, Sean Cribbs wrote: Ollivier, You should switch to trunk/radiant,

Re: [Radiant] Suggestion Textile rendering

2007-04-19 Thread Adam Salter
Right, Poetry is an application I hadn't thought of, but generally with address information as well. I just find that there are no times when I encounter pre-wrapped text... so it wouldn't hurt to have it as an option. And even I myself use paragraphs close together with some semantic meanin

Re: [Radiant] Very unique idea: Extension to protect from slashdot effect?

2007-04-19 Thread Adam Salter
The new Ruby site runs on Radiant, and was slashdotted, with (absolutely) no apparent ill-effects. http://radiantcms.org/blog/2006/11/11/ra/ http://books.slashdot.org/books/06/11/08/1539259.shtml Also, Radiant already does B) as I understand it. On 19/04/2007, at 12:16 PM, Andrew Klein wrote:

[Radiant] Suggestion Textile rendering

2007-04-18 Thread Adam Salter
Could we turn on newlines to rendering in Textile filter for Radiant... It seems to me that most applications for breaks at 80 chars or whatever have long since passed. My users are constantly confused by putting breaks into their text and getting no breaks on the final page. Update: I

Re: [Radiant] Radiant Gallery extension 0.2.0 released

2007-04-17 Thread Adam Salter
Andrea, Grats on the extension. It's looking really good :) Seeya, -Adam On 17/04/2007, at 7:12 PM, Andrea Franz wrote: > Hi all..here the latest release: > > http://bigchieflabs.com/blog/2007/04/17/radiant-gallery-extension-020/ > > ..if you want try it and let me know what you think and which

Re: [Radiant] New Date Tag

2007-04-09 Thread Adam Salter
date_type or On 10/04/2007, at 6:24 AM, Sean Cribbs wrote: select? I'm up for suggestions. Sean John W. Long wrote: Sean Cribbs wrote: How about this: tag 'date' do |tag| page = tag.locals.page format = (tag.attr['format'] || '%A, %B %d, %Y') which = tag.attr['which'] ... If n

Re: [Radiant] Problem with tag.locals

2007-04-04 Thread Adam Salter
you can assign with tag.locals.item =, but not tag.locals.item.name = for example. brackets might work like: (tag.locals.item).name haven't tested that. Cheers, -Adam On 04/04/2007, at 7:36 PM, Adam Salter wrote: Keith, This didn't work. I'm going to work around it by doing

Re: [Radiant] Problem with tag.locals

2007-04-04 Thread Adam Salter
uot; 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 PROTEC

[Radiant] Problem with tag.locals

2007-04-03 Thread Adam Salter
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 < ActiveReco

[Radiant] Moving mental to 0.6 release?

2007-03-25 Thread Adam Salter
Is anything happening with this? Mental/0.6 could easily be tied to Rails 1.2.3, since I've done it with my local install... Rails isn't going to change a great deal (before 2.0) and mental isn't changing much either. Thanks, Adam ___ Radiant mailin

Re: [Radiant] Ideas for reimplementation of radiant caching

2007-02-25 Thread Adam Salter
OK. Point taken. I was really just putting my two cents in on a subject that's important to me personally... ie user variable content and ACLs. It would be nice to do something like (I haven't actually looked at the code, my bad): page = Page.new page.headers page.content = Cache.get_conte

Re: [Radiant] Ideas for reimplementation of radiant caching

2007-02-25 Thread Adam Salter
On 23/02/2007, at 1:51 PM, Daniel Sheppard wrote: to caching, isn't the major problem with implementing sessions in Radiant that the headers are cached as well? This seems to be over optimisation... Just cache the page text and let the headers be generated. Surely there isn't that large a hit i

Re: [Radiant] Ideas for reimplementation of radiant caching

2007-02-22 Thread Adam Salter
I know this is a little late (email from last month)... but in regard to caching, isn't the major problem with implementing sessions in Radiant that the headers are cached as well? This seems to be over optimisation... Just cache the page text and let the headers be generated. Surely there

Re: [Radiant] Radiant 0.6 RC1

2007-02-04 Thread Adam Salter
John, First, w00t! :) Second, I personally have been deleting the vendor/rails directory since the release of Rails 1.2.1, so would prefer not to have the rails directory, but agree it might simplify the install for newbies on shared hosting (where they don't have 1.2.1 yet). Question: Is t

Re: [Radiant] svn:externals, capistrano and extensions

2007-02-03 Thread Adam Salter
Loren, You might want to check out svk: http://svk.bestpractical.com/view/HomePage I've been looking at it for the same/similar purposes as you describe. Finding good docs is hard tho. After a while I found this note which can be tailored to fit radiant pretty easily: http://lists.samba.org/a

Re: [Radiant] Ordering of pages

2007-01-30 Thread Adam Salter
ad of lists. So far, so > good. The > server-side code still needs to be written. > > * code would test for when a page has children. drap-n-drop gets > funky when > you move pages with children (possibly using the "only" option when > setting up > the s

Re: [Radiant] Ordering of pages

2007-01-29 Thread Adam Salter
Just a suggestion on how it could be implemented... How about a concept of 'weights' for pages ranging from -9 to +9, with the default being 0. It becomes easy to order pages using this method... just assign -1 to any pages you want above the default, +1 to any below the default. Etc ad i

Re: [Radiant] What about...

2007-01-19 Thread Adam Salter
This might come across as sacrilege but I recently installed Drupal 5.0. I would suggest that everybody here do the same... It's got a lot going for it in terms of CMS functionality. I'm personally looking for something in between Radiant and Drupal... But the main point is that the configura

Re: [Radiant] Asset Manager Extension Issues

2007-01-19 Thread Adam Salter
What version of Rails is it running. Remember you have to freeze edge (although 1.2 is out now, so maybe you can just freeze 1.2). I also had trouble with acts_as_attachment, but it had to do with the changes to how modules are loaded in /vendor. I sent my updates to the maintainer Keith. I mo

Re: [Radiant] User Roles

2007-01-09 Thread Adam Salter
e -- edit but not add or > delete pages, change status from draft to published, perhaps add > snippets -- hmmm. Maybe. > > - Clayton > > On Dec 30, 2006, at 6:40 AM, Adam Salter wrote: > >> These roles are not really useful IMHO. >> Admin and developer are too close in purpo

Re: [Radiant] User Roles

2006-12-30 Thread Adam Salter
28 AM, Clayton Cafiero wrote: > Not a bad idea to have a "contributor" role -- edit but not add or > delete pages, change status from draft to published, perhaps add > snippets -- hmmm. Maybe. > > - Clayton > > On Dec 30, 2006, at 6:40 AM, Adam Salter wrote: > >&

Re: [Radiant] User Roles

2006-12-30 Thread Adam Salter
These roles are not really useful IMHO. Admin and developer are too close in purpose. User has too much access. I'd like to have individual users with access to certain parts of the site... and an Admin user(s) for control of this. Just my opinion of course. I'm not trying to start a flame war.