Re: [Radiant] if_url matches

2010-09-13 Thread Martin Stabenfeldt
here? > I kknow for sure that this does not work on "galleries". You could use some > gallery specific tags. > > btw. > > a super-duper ruby regexp checker is at http://rubular.com/ > > On 13.09.2010, at 09:56, Martin Stabenfeldt wrote: > > Thanks for the tips, bu

Re: [Radiant] if_url matches

2010-09-13 Thread Martin Stabenfeldt
Thanks for the tips, but it does not work I´m afraid. #1 Should only match /blog # MATCHES /blog AND /blog/dssp #2 Should only match /blog/dssp # NEVER MATCHES /blog/dssp NOR /blog 2010/9/13 Steven Southard > > On Sep 13, 2010, at 12:15 AM, Martin Stabe

[Radiant] if_url matches

2010-09-12 Thread Martin Stabenfeldt
only contains one if_url. ROOT GALLERY # Matches site.com/blog AND site.com/blog/dssp CHILD GALLERY # Does not match site.com/blog nor site.com/blog/dssp DSSP # Does not match site.com/blog nor site.com/blog/dssp What am I missing out? -- Martin Stabenfeldt Tlf: +47

[Radiant] Howto create custom helpers

2010-08-11 Thread Martin Stabenfeldt
nt/vendor/extensions/base64_encoder/base64_encoder_extension.rb:19:in `activate': undefined method `helper' for # (NoMethodError) from /opt/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/lib/radiant/extension.rb:86:in `activate' How do I get the base64_encode helper available in my

Re: [Radiant] rake radiant:extensions:gallery:install fails with radiant-0.9.1

2010-08-02 Thread Martin Stabenfeldt
Hi Chris, 2010/7/31 Chris Boone > On Sat, Jul 31, 2010 at 2:14 AM, Martin Stabenfeldt > wrote: > > > > Have any other experienced problems installing the gallery extension > > with Radiant 0.9.1 ? > > [snipp..] > Looks like you're checking out the wrong ta

[Radiant] rake radiant:extensions:gallery:install fails with radiant-0.9.1

2010-07-31 Thread Martin Stabenfeldt
extensions/gallery/gallery_extension.rb:54:in `class_eval' /Users/martin/Work/christianbielke.no/vendor/extensions/gallery/gallery_extension.rb:54:in `init' /Users/martin/Work/christianbielke.no/vendor/extensions/gallery/gallery_extension.rb:38:in `activate' /opt/local/lib/ruby

Re: [Radiant] radiant-settings broken with Radiant 0.9.1 and trunk

2010-07-30 Thread Martin Stabenfeldt
Hi, 2010/7/30 Martin Stabenfeldt > Looks like I better get them migrations running. :-) > Do you know how I run the migrations manually? I guess I could copy them to [RADIANT_ROOT]/db/migrate, but I guess this isn´t the best way? Never mind, I found directions in vendor/extensions/se

Re: [Radiant] radiant-settings broken with Radiant 0.9.1 and trunk

2010-07-30 Thread Martin Stabenfeldt
Hi Edmund, > > 2010/7/30 Haselwanter Edmund > > > On 30.07.2010, at 10:27, Martin Stabenfeldt wrote: > > > I´m running the Radiant 0.9.1 gem without any modifications. > > > > > > When clicking the Settings-tab in the admin interface this happen: >

[Radiant] radiant-settings broken with Radiant 0.9.1 and trunk

2010-07-30 Thread Martin Stabenfeldt
Hi, I´m running the Radiant 0.9.1 gem without any modifications. rake db:bootstrap, that´s all. The same happens when running Radiant edge. Installed with: ./script/extension install settings When clicking the Settings-tab in the admin interface this happen: ActionView::TemplateError (You have