[Radiant] Generic CRUD extension

2010-05-06 Thread John Polling
Hi, I'm currently having to write a series of extensions for a new site I'm working on. All they are is a series of simple CRUD extensions and very repetitive. I was just wondering if there was a plugin that would cut out on this repetition? Regards John

Re: [Radiant] Page Parts extension - Passenger failing

2010-05-06 Thread John Polling
Hi Josh, Just spotted that I'm getting the following error when creating a page using your file page part example. can't modify frozen hash with the following stack trace /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:214:in `delete'

Re: [Radiant] Page Parts extension - Passenger failing

2010-05-05 Thread John Polling
Both working a treat in Production. Thanks again for resolving so quickly. Loving both extensions, exactly what RadiantCMS has been needing for quite some time. John On 5 May 2010, at 01:27, Josh French wrote: Thanks for looking into this so quickly. Will run an update first thing in

Re: [Radiant] Page Parts extension - Passenger failing

2010-05-04 Thread John Polling
what to set. Thanks John On 4 May 2010, at 17:10, John Polling wrote: Hi, I'm using the Page Parts extension for the first time. I'm running RadiantCMS on Edge, so not certain if this is the problem. I have created a file_image_page_part and placed the file in the {RAILS_ROOT}/app

Re: [Radiant] Page Parts extension - Passenger failing

2010-05-04 Thread John Polling
Hi Josh, Thanks for looking into this so quickly. Will run an update first thing in the morning. John On 4 May 2010, at 21:33, Josh French j...@digitalpulp.com wrote: Hi John, Can you update your copy of PageParts and try again? I've just pushed a change which should hopefully solve both

[Radiant] Cucumber Newbie

2010-01-10 Thread John Polling
Hi, I'm pretty new to using cucumber, and until today I've never tried it with radiant. I was hoping to build some new extensions using it, however I've come up against a road block. I'm running on the radiantcms edge and using the following gems and their dependencies cucumber 0.5.1

Re: [Radiant] Cucumber Newbie

2010-01-10 Thread John Polling
. The stories are currently broken on edge. There's a Saturday Hack Day later this month where we'll probably resolve that. Sean On 1/10/10 5:53 AM, John Polling wrote: Hi, I'm pretty new to using cucumber, and until today I've never tried it with radiant. I was hoping to build some new

[Radiant] Thinking Sphinx

2010-01-05 Thread John Polling
Hi, I've recently upgraded to the 1.3.14 gem version of Thinking Sphinx and I know get this error when both running a search and running rake ts:index You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil. I've

Re: [Radiant] Sphinx Extension help

2009-11-16 Thread John Polling
Thanks Josh, Unfortunately this hasn't resolved the issue. It's weird that it works just fine on my local machine. John On 16 Nov 2009, at 14:43, Josh French wrote: When I run a search I'm getting the following error. undefined method `constantize' for nil:NilClass Hi John, This may

Re: [Radiant] Sphinx Extension help

2009-11-15 Thread John Polling
Hi, I've just moved my site to production and the Sphinx Search seems to be giving me problems When I run a search I'm getting the following error. undefined method `constantize' for nil:NilClass Has anyone else had this? Thanks John On 2 Nov 2009, at 21:03, Josh French wrote: John,

Re: [Radiant] Sphinx Extension help

2009-10-31 Thread John Polling
Hi Josh, Thanks for the info. In regards to the stack trace this is what I'm getting undefined method `request' for #Advert:0x1064e3340 /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/vendor/rails/activerecord/ lib/active_record/attribute_methods.rb:260:in `method_missing'

Re: [Radiant] Sphinx Extension help

2009-10-31 Thread John Polling
Actually I've managed to resolve this issue. The extension uses the following code in the radius tag tag 'results:each' do |tag| tag.locals.results.collect do |result| tag.locals.page = result tag.expand end.join(\n) end the variable tag.locals.page

[Radiant] Sphinx Extension help

2009-10-29 Thread John Polling
Hi, I'm pretty new to Ruby and Radiant so please be gentle. I've installed the Sphinx Search extension for a site search facility. I need the search to include several other content models, such as NewsArticles, and not just Pages. I've so far added this to the env ironment.rb

Re: [Radiant] Views.

2009-10-14 Thread John Polling
If you want the front end stuff to be file based, look at the filesystem extension. I use it all the time so I can source control all my front end work. John On Oct 14, 2009, at 14:40, Anton Aylward anton.aylw...@rogers.com wrote: Radu Curteanu said the following on 10/14/2009 09:13

[Radiant] Site Search

2009-10-11 Thread John Polling
Hi, I've been asked to add a site search facility to our intranet site I'm working on at the moment. I'm currently wondering what my best options are. The difficulty is that quite a bit of the site content is stored in extension specific tables. Is using sphinx my best option? Thanks

Re: [Radiant] Generating graphs

2009-09-07 Thread John Polling
Hi Geoff, In terms of the google chart ruby wrapper did you have any issues with bar charts? I'm struggling with having a y axis that is larger than the actual data. The bars stretch to the full height, even though they are not the value of th top o the y axis. Thanks John Polling

[Radiant] Events Calendar - add an image

2009-09-06 Thread John Polling
Hi, I've tried adding an image to the Events Calendar extension, however if just seems to be ignoring it. I'm using Paperclip for it. has_attached_file :image, :styles = { :normal = '196x146', :thumb = '97x72' } I've done this in other extensions and it works fine, but not in the

[Radiant] Generating graphs

2009-09-02 Thread John Polling
Hi, I'm looking at writing an extension for creating graphs, and I've so far looked the scruff and gruff gems for helping with this. My worry is that they both rely on RMagick and I hear that's got memory leak issues. Can anyone recommed any other graph gems? Thanks John Polling

Re: [Radiant] Generating graphs

2009-09-02 Thread John Polling
the scruff and gruff gems for helping with this. My worry is that they both rely on RMagick and I hear that's got memory leak issues. Can anyone recommed any other graph gems? Thanks John Polling ___ Radiant mailing list Post: Radiant@radiantcms.org

Re: [Radiant] Redcloth problem

2009-08-13 Thread John Polling
Thanks for the advice Jeff. Changing the require to Redcloth did the trick. Guessing when it couldn't find the packaged version it went for the server installed gem and disliked the version. All running happily now! On Aug 13, 2009, at 14:12, Jeff Casimir j...@casimircreative.com wrote:

[Radiant] Extensions with imagery

2009-08-12 Thread John Polling
I'm currently working on a Staff Directory extension at the moment and one of the fields for the admin form requires a profile image. I'm hoping to allow admin staff to pick an image from an assets library. Is the best extension for this work the Paperclipped extension? Or should I just