Re: [Radiant] tags, ActionView::Helpers, caching: trying to make a shop extension

2007-04-23 Thread Sean Cribbs
Yes, this is a weakness of Radius. I guess you could try to use include to put the ActionView helper modules into your tag module, but you may have to read a lot of the Rails internals code to figure out how to make them work properly. In an extension I'm working on, I started including them

Re: [Radiant] Question about Virtual Domain extension

2007-04-23 Thread Thijs Jacobs
Great Keita! Worked like a charm; only got an error on patching. But it created all the patched perfectly. WKR> Thijs Op 23-apr-2007, om 21:49 heeft keita het volgende geschreven: Hi, I made a patch. This works fine in my environment. diff -urN -x .svn -x '*~' virtual_domain-1.2.1.orig/

[Radiant] tags, ActionView::Helpers, caching: trying to make a shop extension

2007-04-23 Thread kozy
Hello everybody, Using the 'mental' branche: I'm trying to make a shop extension with the help of the well know book 'agile web development...' and of course after alot of reading at the lists and the radiant site. I've succesfully used tags to have make a nice block and now I want to have a f

Re: [Radiant] Flash in a tag module

2007-04-23 Thread John W. Long
Sean Cribbs wrote: > Tags exist in the Page model (or a subclass) when processing, so they > really only have access to the model layer. *However*, the Page model > has available to it the request and response objects. There are other > ways to tackle the problem, but you could try getting the

Re: [Radiant] Flash in a tag module

2007-04-23 Thread Sean Cribbs
Tags exist in the Page model (or a subclass) when processing, so they really only have access to the model layer. *However*, the Page model has available to it the request and response objects. There are other ways to tackle the problem, but you could try getting the information from the resp

[Radiant] Flash in a tag module

2007-04-23 Thread Matthew Beale
Hi all, I'm doing some work on an extension, and I'm run into an issue. I'd like to pass validation errors on a form back to the tag that draws the form. ala: module FormTags include Radiant::Taggable desc %{ Displays the form } tag "form" do |tag| form = '' if flash[:erro

Re: [Radiant] Radiant on A Small Orange

2007-04-23 Thread Chris Boone
On 4/21/07, Keith Bingman <[EMAIL PROTECTED]> wrote: > 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

[Radiant] Chaching and getting id from url

2007-04-23 Thread Fabrizio Taddei
Hi everybody, I've developed an extension that display a list of links, taken from a database table, in a page of my site called links. By clickking on the title of a link a "singlelink" page will be opened. In this page is displayed a description of the link. To select the si

Re: [Radiant] Using tags for blog items

2007-04-23 Thread Sean Cribbs
I believe there are several "tag" extensions available, please check out the Wiki on dev.radiantcms.org to see them. 0.7 will also have an official tag extension. Cheers, Sean Oliver Coningham wrote: Hi - I'm just finishing off the latest design of my web site and using Radiant CMS as the

[Radiant] Using tags for blog items

2007-04-23 Thread Oliver Coningham
Hi -I'm just finishing off the latest design of my web site and using Radiant CMS as the backend, primarilyfor the content management and also to run a blog.Is it possible to add tags to your articles so users could just click a tag to view similar articles, andthe archives would be sorted by ta

Re: [Radiant] Question about Virtual Domain extension

2007-04-23 Thread keita
Hi, I made a patch. This works fine in my environment. diff -urN -x .svn -x '*~' virtual_domain-1.2.1.orig/lib/virtual_domain_tags.rb virtual_domain/lib/virtual_domain_tags.rb --- virtual_domain-1.2.1.orig/lib/virtual_domain_tags.rb1970-01-01 09:00:00.0 +0900 +++ virtual_domain/li