[Radiant] Haml and textareas in custom extension

2008-07-13 Thread Gert Jørgensen
Hi and first - thank you for making radiant, I've used many many cms'es and this is by far the best I have used yet! I have made a custom extension and created an admin area for the models where I have a problem with a textarea. I have never used Haml so my views are all html.erb files. The probl

[Radiant] Re: Haml and textareas in custom extension

2008-07-13 Thread Gert Jørgensen
I'm on Radiant 0.6.7 gem version - is there a newer version I'm not aware about? And.. Aha!! My controller is extending the ApplicationController, is there a radiant specific controller I should be extending instead? -- Posted via http://www.ruby-forum.com/.

[Radiant] Re: Haml and textareas in custom extension

2008-07-15 Thread Gert Jørgensen
I have looked at the extension tutorial again and the controller there extends the ApplicationController like I do. Any ideas about what I could try and look at? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiant

[Radiant] Re: Haml and textareas in custom extension

2008-08-04 Thread Gert Jørgensen
Hi, just wanted to let everybody know that this is fixed in 0.6.9, maybe also in 0.6.8 but I skipped that version. Thanks again. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcm

[Radiant] Possible to disable cache for a single page?

2008-08-04 Thread Gert Jørgensen
Hi, I have a list of thumbnails and when clicked they open a larger image in a popup window. I have a page in radiant with a tag for the popup and supply an img-parameter to the page that I use in the tag that looks like this: tag 'press_image' do |tag| html = "" img = tag.globals.page.requ

[Radiant] Re: Re: Possible to disable cache for a single page?

2008-08-05 Thread Gert Jørgensen
Hi Sean, thank you for your answer, works perfectly. I made a no_cache_page.rb in my models folder for my extension and put this in it: class NoCachePage < Page def cache? false end end To activate it I just put NoCachePage in the activate method of my extension. Btw. a possible subje

[Radiant] Comments extension

2008-09-10 Thread Gert Jørgensen
Hi, I'm trying to use the comments extension found at: http://github.com/artofmission/radiant-comments/tree/master I'm following the README at: http://github.com/artofmission/radiant-comments/tree/master/README.rdoc and it seems everything works except one thing: When posting a new comment from

[Radiant] Re: Comments extension

2008-09-10 Thread Gert Jørgensen
Thank you, that works perfectly. Note to other users, I added this line: @page.request = request to the "find_page" method in vendor/extensions/comments/app/controllers/comments_controller.rb -- Posted via http://www.ruby-forum.com/. ___ Radiant mail

[Radiant] Re: Re: Comments extension

2008-09-10 Thread Gert Jørgensen
Hi - yes I'll try to write it down - have been thinking of doing something for the reboot and this might be a good start. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mai