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
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
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
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
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
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
, 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
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
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
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
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
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
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
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)
(small
site) but silly.
Jay Levitt
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant
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
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
)
@@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
18 matches
Mail list logo