Re: [Radiant] Caching of CSS files

2006-08-22 Thread Jay Levitt
Nathan Donaldson wrote: Hi all, I have been looking at my logs as I am testing radiant and have noticed that the CSS files seem to take longer to generate than the HTML files. Am I doing something wrong? Do you have a filter defined on the CSS page? Maybe Textile is spending lots of

Re: [Radiant] Stylesheets

2006-08-03 Thread Jay Levitt
on the client side. Have you tried taking that static HTML page and putting it in a single Radiant page - no filter, no behavior, no snippets or layout - and seeing how it renders? Jay Levitt Here is part of my layout:- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

Re: [Radiant] Proposal: Exception handling in container classes

2006-07-31 Thread Jay Levitt
John W. Long wrote: Jay Levitt wrote: Jay Levitt wrote: I understand the intent, but I wonder if there's a less intrusive way to accomplish it, while still allowing outer tags to rescue their own exceptions. What if that rescue were executed only on the outermost tags? Would that break

Re: [Radiant] Proposal: Exception handling in container classes

2006-07-30 Thread Jay Levitt
Jay Levitt wrote: I understand the intent, but I wonder if there's a less intrusive way to accomplish it, while still allowing outer tags to rescue their own exceptions. What if that rescue were executed only on the outermost tags? Would that break anything? I've submitted a patch

[Radiant] Parent tag?

2006-07-30 Thread Jay Levitt
Any reason this shouldn't be part of page_context? It's incredibly handy for nav. define_tag 'parent' do |tag| tag.locals.page = page.parent tag.expand end ___ Radiant mailing list Radiant@lists.radiantcms.org

Re: [Radiant] Behavior vs. Context

2006-07-28 Thread Jay Levitt
Sean Cribbs wrote: I've been doing this via a plugin, as follows: class Behavior::Base define_tags do tag slicktabs do |tag| slicktab = SlickTabs.new(tag) slicktab.output end ...other tags... end end

Re: [Radiant] Dynamic Menu

2006-07-25 Thread Jay Levitt
, and the rollovers are coming soon. It may be too much for your purpose, but let me know if you want to alpha-test it. Jay Levitt ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Page Parts as Attachments, Tags, Images, Events, etc.

2006-07-24 Thread Jay Levitt
Keith Bingman wrote: I just noticed a bug in this: when deleting a page part, while it give a confrimation, deletes the attached file/image/whatever, the page part is still there when the page is reloaded. This is true of any page part, not just attachments. I will try to see what is going

[Radiant] Rspec?

2006-07-24 Thread Jay Levitt
Has anyone here tried modifying the behavior_helper to work with rspec rather than Test::Unit? I looove me some rspec. Jay Levitt ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Rspec?

2006-07-24 Thread Jay Levitt
John W. Long wrote: Jay Levitt wrote: Has anyone here tried modifying the behavior_helper to work with rspec rather than Test::Unit? I looove me some rspec. I'm not quite sure what you mean. I'm familiar with rspec, but I'm not familiar with the behavior_helper. Ermm.. sorry, I meant

Re: [Radiant] Rspec?

2006-07-24 Thread Jay Levitt
John W. Long wrote: There's a nice class method in test_helper.rb which makes it easy to throw a bunch of methods in a module and include them with the syntax: test_helper :module_name I was just playing with that! Haven't brought rspec into the picture, but meanwhile I've got

Re: [Radiant] Early Radiant translation

2006-07-20 Thread Jay Levitt
Dean Strelau wrote: On 7/20/06, *James MacAulay* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The only problem I see with doing text on static images is that, in the long term, some translations may be quite a bit longer or shorter than others. I guess the translation

Re: [Radiant] ActionView helpers in a behavior - I think I got it!

2006-07-18 Thread Jay Levitt
John W. Long wrote: Jay Levitt wrote: That'd be really nice, actually. I think that's what I was (unknowingly) asking for last month, when I got the advice to create a dummy controller. John, do you think it might be possible to get at the current ActionController from a behavior? I'm

[Radiant] ActionView helpers in a behavior - I think I got it!

2006-07-17 Thread Jay Levitt
Here's the relevant parts of a navigation-tab plugin I'm in the process of hacking together... and I have just successfully called image_path from it. Hope this helps someone. class Behavior::Base define_tags do tag navtab do |tag| tab = NavTab.new(tag.attr['label'], @request)

[Radiant] Sortability - status?

2006-07-16 Thread Jay Levitt
(small site) but silly. Jay Levitt ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] First draft of the Using Radiant page of the Handbook

2006-07-16 Thread Jay Levitt
the main page, other than modesty? Relatedly: I don't really know what this wiki's rules are; should we be getting permission from John first before making edits, or just diving in and editing it like a community wiki? I'd love to contribute as I learn Radiant. Jay Levitt

Re: [Radiant] First draft of the Using Radiant page of the Handbook

2006-07-16 Thread Jay Levitt
Jay Levitt wrote: Andrew Hodgkinson wrote: In an effort to learn more about Radiant, I've just completed a first draft of the Using Radiant page of the Handbook within the Radiant Wiki at: This is great! Considering that the existing handbook is, er, nonexistent, any reason

[Radiant] Access to dummy ActionController?

2006-07-04 Thread Jay Levitt
) @@controller.url_for(options) if @@controller end end Any chance SiteController could do this for us? Jay Levitt ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant