How do I set up gem dependencies in Radiant?
When I include a config.gem 'foo' in environment.rb, I get the
following error:
/config/environment.rb:88: private method `gem' called for
#Radiant::Configuration:0x11e9870 (NoMethodError)
Manuel
___
Radiant
Hi all!
Just wanted to tell you quickly about an extension I wrote a couple of
days ago that might be useful to somebody else as well.
http://github.com/manuelmeurer/radiant-cycle-extension
It basically makes the ActionView::Helpers::TextHelper::cycle function
available through the r:cycle tag,
Manuel Meurer wrote:
Hi all!
Just wanted to tell you quickly about an extension I wrote a couple of
days ago that might be useful to somebody else as well.
http://github.com/manuelmeurer/radiant-cycle-extension
It basically makes the ActionView::Helpers::TextHelper::cycle function
available
Wow, lots of ideas here.
I will go for the acts_as_versioned plugin as Andreas suggested.
Once that is working we can think about saving incremental changes,
different published versions etc.
Tim, why would you like the git option better?
For me it seems cleaner to have all your stuff in one
Hello world.
I was thinking about creating an extension that saves the edit history
for pages, layouts, snippets etc.
That way you could go back to previous versions, perhaps make diffs
between versions etc.
Has something like that ever been done before? (Wow, what a dramatic
sounding
Hi all!
I am currently searching for a way to have a Radiant site with several
languages (on the actual site, not the back-end).
Searching on Github I found the following extensions:
http://github.com/peburrows/translator/
http://github.com/cradle/radiant-translator-extension/ (seems to be an
Hi Patrick,
Looks like a bug in the extension.
In lib/rss_reader.rb, it tries to read from the url
(http://example.com/?feed=rss2 in your case), but just looks at the
host and port (http://example.com:80 in your case) and dismisses the
url parameters.
The Github user bryanl has forked the
Hi Michael,
Could you run the rake task with --trace and post the output?
Manuel
On Wed, Nov 19, 2008 at 11:10 PM, Michael Krisher [EMAIL PROTECTED] wrote:
Hello,
I am trying deploying my first Radiant site and am running into issues when
trying to start the server/console/whatever and
Hi!
I've had a problem reoccuring in a couple of extensions and was not
sure if it was a conceptual error on my side or if something was
lacking in Radiant's tag system. I solved this problem now and wanted
to share it to get some feedback from you guys.
Take the 'url' tag from the standard tags
,
Instead of render :text = @page.render, try @page.process(request,
response); @performed_render = true.
Sean
Manuel Meurer wrote:
Hi!
I've had a problem reoccuring in a couple of extensions and was not
sure if it was a conceptual error on my side or if something was
lacking in Radiant's
Did anyone ever get the simple_captcha plugin
(http://expressica.com/simple_captcha/), or any other captcha plugin
for that matter, to work with Radiant, i.e. show a captcha from
rendering a tag?
I'm having difficulties with that, since the view helpers of the
plugin want to access the session,
Finally found the cause for this problem.
Change the file lib/dynamic_image.rb in the Dynamic Image extension:
#13 is
config = tag.attr
but should be
config = tag.attr.dup
Manuel
On Sat, Oct 4, 2008 at 4:29 PM, Manuel Meurer [EMAIL PROTECTED] wrote:
Hi!
I'm experiencing some strange behavior
Ok, you're right.
For me, r:if content exists? would not feel right, though.
Manuel
On Sat, Oct 25, 2008 at 8:35 PM, Chris Parrish
[EMAIL PROTECTED] wrote:
Manuel Meurer wrote:
I think that there is a place for these tags and I'd love it if there
was
an easy way to use this to create both
Fixed, thanks for testing.
Please grab a fresh copy from
http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/
Manuel
On Tue, Oct 21, 2008 at 12:10 PM, Simon Josi [EMAIL PROTECTED] wrote:
I've got a case where parameters to snippets are not availabe. It
occurs when I call a
I agree, Jim.
You should only see the 500 page in development mode.
In production mode, the message of the thrown error is shown directly
on the page instead of the rendered tag.
No need to poke around in page_context.rb, unless it's important for
you to have the same behavior in development mode.
Done.
Manuel
On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer [EMAIL PROTECTED] wrote:
Will do.
Manuel
On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius
[EMAIL PROTECTED] wrote:
Looks like something I could use. How does it work? Could add some examples
and explain about any limitations
will be accepted!
Sean
Manuel Meurer wrote:
Jepp, I found that out a minute ago as well.
Never used that feature, though.
It would still be possible to do something like Casper suggested, but
to do it cleanly you would have to filter out the r:var
name=../r:var part when calling r:yield
be possible or advisable
to modify the navigation tag to be smarter as to what it highlights as
being the active link?
On Fri, Oct 17, 2008 at 8:44 AM, Manuel Meurer [EMAIL PROTECTED] wrote:
I found the r:navigation tag become too limited to do that kind of stuff.
See below for an example of how
I patched Radius so that you can use tags as attributes in other tags.
(Posted to this list five days ago)
Extremely useful and only a couple of lines have to be changed actually.
If anyone is interested I can make a patch.
Manuel
On Thu, Oct 16, 2008 at 7:12 PM, Chris Parrish
[EMAIL PROTECTED]
What exactly do you mean by messes up a radiant tag?
Do you have an example?
Manuel
On Fri, Oct 17, 2008 at 7:00 PM, Joe Van Dyk [EMAIL PROTECTED] wrote:
Right now, when an editor messes up a radiant tag, a 500 page gets rendered.
Would it be possible to display the page content, except for
Here you go:
http://github.com/manuelmeurer/radius-improved/tree/master
Manuel
On Fri, Oct 17, 2008 at 10:15 PM, Joe Van Dyk [EMAIL PROTECTED] wrote:
On Sat, Oct 11, 2008 at 3:59 PM, Manuel Meurer [EMAIL PROTECTED] wrote:
I am using an extension that gives me parameterized snippets (like
UndefinedTagError.new(name)
end
Guess it's just a preference thing.
I like strong validation.
Manuel
On Fri, Oct 17, 2008 at 11:54 PM, Joe Van Dyk [EMAIL PROTECTED] wrote:
Makes sense -- why wouldn't that be that way by default?
Joe
On Fri, Oct 17, 2008 at 1:37 PM, Manuel Meurer [EMAIL
Yep, I use r:var / in my parameterized snippets extension:
http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/
The idea originates from here, though:
http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html
BTW, anyone heard anything about a r:var / Radius tag? Or
it be better to catch those errors and insert the
error message directly into page content?
Joe
On Fri, Oct 17, 2008 at 3:44 PM, Manuel Meurer [EMAIL PROTECTED] wrote:
From radius.rb #284
# Like method_missing for objects, but fired when a tag is undefined.
# Override in your own Context
I am using an extension that gives me parameterized snippets (like
here: http://www.ruby-forum.com/topic/125007#601242). Now, if I pass a
value into a snippet, I would like to be able to pass it on to a tag
as a parameter, which isn't currently possible in Radius.
E.g., I want to do this:
Page:
Hi!
I'm experiencing some strange behavior using the children:each tag and
the Dynamic Image extension
(http://github.com/narced133/radiant-dynamic-image-extension)
I have a page with, say, 3 subpages and implement the following code
in the main page:
r:children:each
r:image size=13
26 matches
Mail list logo