Re: [Radiant] Big problem to install Radiant on Site 5

2007-11-16 Thread Giovanni Intini
I wrote a series of tutorials for capistrano on site5, and I wrote some recipes for radiant too. You can find the tutorials here: http://tempe.st/2007/09/a-couple-of-capistrano-2-recipes-libraries/ http://tempe.st/2007/10/more-capistrano-2-goodies-a-radiant-recipe-library/ 2007/11/16, Rails

Re: [Radiant] Extension Testing troubles

2007-11-09 Thread Giovanni Intini
When writing tests for an extension i discovered that the tests load radiant default fixtures by default. You have to change test helper so you include your extension's fixtures path. (This was on an older version of radiant) 2007/11/9, Andrew Neil [EMAIL PROTECTED]: Hi, I'm having trouble

Re: [Radiant] Extension Testing troubles

2007-11-09 Thread Giovanni Intini
2007/11/9, Andrew Neil [EMAIL PROTECTED]: I notice that it appends the extension fixture path to self.fixture_path. Could this mean that Radiant fixtures are still in place, and being used instead of mine? Should I replace the '' operator with '='? I wouldn't replace radiant's fixtures, just

Re: [Radiant] Rating, hit count Popularity

2007-11-07 Thread Giovanni Intini
I've laid down the basic structure for a rails plugin (acts_as_starrable) that does what you need. Unfortunately it's not ready yet, so if you have a bit of patience you can contact me next week and I'll hopefully be more helpful :) 2007/11/7, Mohit Sindhwani [EMAIL PROTECTED]: Hi! I'm

[Radiant] Problems with Mailer Extension

2007-11-06 Thread Giovanni Intini
I installed the mailer extension on a Radiant installation (0.6.3 running on Nginx + Mongrel), and as soon as I submit a form I get a 500 error. This is a snippet from production log, can anyone figure out what's the problem? NameError (uninitialized constant

Re: [Radiant] Help with Gallery Extension

2007-10-31 Thread Giovanni Intini
If i remember correctly when you do rake radiant:extensions:gallery:install you should have two new default pages with a sample gallery. If you don't you can create a new page and check the available tags. To upload files you should use the new tabs available in the admin console. 2007/10/30,

[Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Giovanni Intini
For the first time ever (for me :)) I set up a radiant site on a nginx + mongrel setup (http://vincenzomaiorano.it) and it works fine, but I have a problem when I update the radiant code via capistrano, adding an extension or changing some values in environment.rb: my capistrano tasks call

Re: [Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Giovanni Intini
I'm launching the mongrels via process/spawner, does it use the mongrel_cluster gem? 2007/10/8, Sean Cribbs [EMAIL PROTECTED]: Are you using the mongrel_cluster gem? If so, I would change your restart (1.4.1) or deploy:restart (2.x) task to look something like this: task :restart, :roles =

Re: [Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Giovanni Intini
The PIDs change after restart. 2007/10/8, Aitor Garay-Romero [EMAIL PROTECTED]: For debugging, check the PIDs of the relevant processes before/after the restart to check that they actually restarted correctly. /AITOR ___ Radiant mailing

Re: [Radiant] Login system

2007-10-01 Thread Giovanni Intini
Oh I see, sorry :) 2007/10/1, Aitor Garay-Romero [EMAIL PROTECTED]: I was referring to the football betting part of the webapp. /AITOR On 10/1/07, Giovanni Intini [EMAIL PROTECTED] wrote: It needed tweaking but not that much tweaking :) An older (but working) version

Re: [Radiant] Login system

2007-09-30 Thread Giovanni Intini
It needed tweaking but not that much tweaking :) An older (but working) version of the extension is here: http://darcs.bigchieflabs.com/radiant/extensions/subscriber/ 2007/9/30, Aitor Garay-Romero [EMAIL PROTECTED]: For me this looks like the task for a webapp (Rails) instead of a CMS

Re: [Radiant] How to update Gallery extension

2007-09-27 Thread Giovanni Intini
If you took it via darcs you can just update it via darcs pull. 2007/9/27, Andrea Otto [EMAIL PROTECTED]: Wich is the best way to update Gallery Extension? I can simply download a newer version and re-launch migration? Is it better deleting extension dir before? -- Posted via

[Radiant] LanguageParts Extension

2007-09-18 Thread Giovanni Intini
I wrote an extension called LanguageParts that adds a new page type MultiLanguagePage, that renders itself in different languages, depending on user browser preferences. Right now it overrides Page#render_part so that when you ask for a page_part foo what is rendered instead is foo_en or foo_de

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-06 Thread Giovanni Intini
Import-Export exports only the default rails models. I didn't change that because the production version of my app has already lots of data stored in the extensions tables and I don't want to touch it when I update (importing new version of pages, snippets and stuff). 2007/9/6, Will Green [EMAIL

Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-06 Thread Giovanni Intini
2007/9/6, Sean Cribbs [EMAIL PROTECTED]: I'm of a mind to rewrite it as Rake tasks with dependencies. That would be great Sean. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

Re: [Radiant] Extensions migrations and import_export

2007-08-03 Thread Giovanni Intini
it into trunk when it's solid. Sean Giovanni Intini wrote: Hi, I've been working (together with Andrea Franz) on a project for a client that we chose to implement with Radiant. The project makes heavy use of extensions and some extensions depend on other extensions - I also choose to deploy

[Radiant] Extensions migrations and import_export

2007-08-02 Thread Giovanni Intini
Hi, I've been working (together with Andrea Franz) on a project for a client that we chose to implement with Radiant. The project makes heavy use of extensions and some extensions depend on other extensions - I also choose to deploy with Capistrano 2. I wanted something like db:bootstrap to

[Radiant] Language Redirect Extension

2007-07-05 Thread Giovanni Intini
For those still using my extension I just applied a patch from Paolo Dona that allows to be more relaxed when using spaces and newlines :) As usual you can get it from: https://svn1.hosted-projects.com/medlar/language_redirect_extension ___ Radiant

[Radiant] Generate Extension problem

2007-07-04 Thread Giovanni Intini
I'm getting this problem, and I can't fix it, any clue? tigger:~/src/sposivip/trunk intinig$ script/generate extension_controller dummy 'admin/foo' bar The name 'admin' is reserved by Ruby on Rails. Please choose an alternative and run this generator again.

Re: [Radiant] Generate Extension problem

2007-07-04 Thread Giovanni Intini
reproduce the error. What's your system setup? Sean On 7/4/07, Giovanni Intini [EMAIL PROTECTED] wrote: Tried, same error. 2007/7/4, Sean Cribbs [EMAIL PROTECTED]: Giovanni, Try your command without the quotes on admin/foo. Sean On 7/4/07, Giovanni Intini [EMAIL

Re: [Radiant] How does Radiant help you make a living

2007-05-10 Thread Giovanni Intini
I use radiant as the standard platform for customers, mainly small businesses, who need their web presence revamped. For more specific needs I resort to developing new rails apps or to other platforms (drupal :( ) 2007/5/9, Jacob Burkhart [EMAIL PROTECTED]: Hi everybody, I've been quite busy

Re: [Radiant] Darcs tasks

2007-03-30 Thread Giovanni Intini
I think you should edit the Radiant source to do that because the code that tuns extensions rakefiles is the following: # Load any custom rakefiles from extensions [RAILS_ROOT, RADIANT_ROOT].uniq.each do |root| Dir[root + '/vendor/extensions/**/tasks/**/*.rake'].sort.each { |ext| load ext } end

Re: [Radiant] Problem with language_redirect extension

2007-03-27 Thread Giovanni Intini
Expertise doesn't really suit me, keep that word for people like John or Sean :) 2007/3/27, Nancy Carroll [EMAIL PROTECTED]: Giovanni - it works perfectly! Thanks a million for sharing your expertise. Best regards, Nancy Giovanni Intini schrieb: 302 is a redirection. I tried

Re: [Radiant] Problem with language_redirect extension

2007-03-26 Thread Giovanni Intini
I haven't looked through my code since I wrote it, but if I remember correctly config is the config page part. Try using the extension on a page with a config page part and let me know. Bye, Giovanni 2007/3/26, Nancy Carroll [EMAIL PROTECTED]: Hi Giovanni, I ran into a problem with your

Re: [Radiant] Problem with language_redirect extension

2007-03-26 Thread Giovanni Intini
. Giovanni Intini schrieb: I haven't looked through my code since I wrote it, but if I remember correctly config is the config page part. Try using the extension on a page with a config page part and let me know. Bye, Giovanni 2007/3/26, Nancy Carroll [EMAIL PROTECTED]: Hi Giovanni

Re: [Radiant] Problem with language_redirect extension

2007-03-26 Thread Giovanni Intini
Ok, I updated the extension, now it should work. Let me know :) 2007/3/26, Giovanni Intini [EMAIL PROTECTED]: I'll check the sources, maybe there are some differences between the version I wrote it for and the current release. I'll let you know asap. 2007/3/26, Nancy Carroll [EMAIL

Re: [Radiant] Problem with language_redirect extension

2007-03-26 Thread Giovanni Intini
for it from the mailer extension. I believe it's toward the top of mailer_page.rb. Sean Giovanni Intini wrote: I'll check the sources, maybe there are some differences between the version I wrote it for and the current release. I'll let you know asap. 2007/3/26, Nancy Carroll [EMAIL

Re: [Radiant] Problem with language_redirect extension

2007-03-26 Thread Giovanni Intini
John you're right, as usual, any pointers to examples of full blown extensions to get inspiration from? I stopped following the development lately (my fault) and I need some pointer to catch up. 2007/3/26, John W. Long [EMAIL PROTECTED]: Giovanni Intini wrote: That's what I did, thanks

Re: [Radiant] Problem with language_redirect extension

2007-03-26 Thread Giovanni Intini
, Nancy Giovanni Intini schrieb: Ok, I updated the extension, now it should work. Let me know :) ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org

[Radiant] Radiant + Wiki

2007-03-14 Thread Giovanni Intini
What is the best way you have seen to integrate a wiki on a radiant site? I was thinking about putting the wiki in a subdirectory and making an extension that helps making links to the wiki. Is this a correct path? ___ Radiant mailing list Post:

Re: [Radiant] Mailer Behaviour Error

2007-01-26 Thread Giovanni Intini
Same problem here, I wasn't able to make it work. 2007/1/26, Oliver Coningham [EMAIL PROTECTED]: Hi. I have just installed the Mailer behaviour for Radiant CMS. My hosting is with A Small Orange. When trying to test the form I get the error: Error encountered while trying to send email.

[Radiant] New site on mental

2007-01-26 Thread Giovanni Intini
I have finally went live with http://studiocarone.it - I had lots of problems with the mailer behaviour on 0.5.2 so I moved to mental for this site, but still wasn't able to make it work. I had to go live, so I hope my client won't notice he isn't receiving any mail until I fix this problem :)

Re: [Radiant] Language Redirect Extension

2007-01-23 Thread Giovanni Intini
/22/07, Giovanni Intini [EMAIL PROTECTED] wrote: I ported the Language Redirect Behavior to mental. You can get it from https://svn1.hosted-projects.com/medlar/language_redirect_extension The port was straightforward so I assumed no tests were necessary (wrong assumption, I know). You

Re: [Radiant] Mental + Mailer Extension

2007-01-22 Thread Giovanni Intini
else relevant in the log? Also, I think the config page part is particular about whitespace. Quoting Giovanni Intini [EMAIL PROTECTED]: I've been postponing fiddling with mental until I really needed it. My inability to work with trunk's mailer extension convinced me to try mental

[Radiant] Language Redirect Extension

2007-01-22 Thread Giovanni Intini
I ported the Language Redirect Behavior to mental. You can get it from https://svn1.hosted-projects.com/medlar/language_redirect_extension The port was straightforward so I assumed no tests were necessary (wrong assumption, I know). You can do whatever you want with it. --Giovanni

Re: [Radiant] Mental + Mailer Extension

2007-01-22 Thread Giovanni Intini
I'm on shared hosting so I don't have access to those files. 2007/1/22, Todd McGrath [EMAIL PROTECTED]: How about anything in OS logs? You know, something along the lines of /var/log/messages, /var/log/maillog Quoting Giovanni Intini [EMAIL PROTECTED]: Nothing in the log, environment

Re: [Radiant] Mental + Mailer Extension

2007-01-22 Thread Giovanni Intini
locked down so that mail can only originate from certain addresses and be addressed to certain addresses. A restriction on those might be causing the 550 error. Check with your hosting provider to see what is required. Sean Giovanni Intini wrote: I'm on shared hosting so I don't have

Re: [Radiant] Mental + Mailer Extension

2007-01-22 Thread Giovanni Intini
I already asked for sendmail, I'll let you know :) 2007/1/22, Sean Cribbs [EMAIL PROTECTED]: You might also ask them what might generate a 550 error when attempting to send. It could be something unexpected. Sean On 1/22/07, Giovanni Intini [EMAIL PROTECTED] wrote: Sean I was trying

[Radiant] Make a Google sitemap.xml with Radiant

2006-11-13 Thread Giovanni Intini
I've edited this Howto http://dev.radiantcms.org/radiant/wiki/HowToMakeASiteMap, adding a simple way to get a standards compliant sitemap.xml to submit to Google. Let me know if it works for you and feel free to edit the wiki page to make it more fluent.

Re: [Radiant] Code Highlighter Plugin and Textile?

2006-11-05 Thread Giovanni Intini
I had the same problem, I don't remember if I was able to solve it. I think I kept using HTML for the pages that needed code. Did any of you try to use the beautiful Code Highlighter Plugin bySean Cribbs in a post that uses the textile filter? The result I getis ruby code converted into div's and

Re: [Radiant] Mailer behavior...anybody have any more tips to get it working?

2006-10-12 Thread Giovanni Intini
to that file and see if I get a different result and post backto the list.Thanks for the help. On 10/10/06, Giovanni Intini [EMAIL PROTECTED] wrote: Did you setup ActionMailer in config/environments/production.rb? 2006/10/11, jsmorris [EMAIL PROTECTED]: I have scoured the list and it seems that several

Re: [Radiant] Problems with search_behavior

2006-10-05 Thread Giovanni Intini
that there is something wrongwith the setup on the server.On 10/4/06, Giovanni Intini [EMAIL PROTECTED] wrote: I installed the search behavior, ferret and acts_as_ferret but I can't get it to work on my shared host (Site5). It works fine on my mac, but when trying to launch script/server -e production I get

[Radiant] Problems with search_behavior

2006-10-04 Thread Giovanni Intini
I installed the search behavior, ferret and acts_as_ferret but I can't get it to work on my shared host (Site5). It works fine on my mac, but when trying to launch script/server -e production I get this error on the shared host: = Booting WEBrick...Load patches

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
, Giovanni Intini [EMAIL PROTECTED] wrote:How's the alias set up? And how's your radiant installation set up? 2006/9/29, Kevin Ansfield [EMAIL PROTECTED]: I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
see the draft articles on my dev domain. I'll have to do some further investigation I think. Kevhttp://www.digitalblueprint.co.uk On 9/29/06, Giovanni Intini [EMAIL PROTECTED] wrote:It's a simple regex on the hostname, are you sure you're not redirecting? 2006/9/29, Kevin Ansfield [EMAIL

Re: [Radiant] Dev and Prod radiant modes

2006-09-29 Thread Giovanni Intini
You could easily create a plugin to do this. It would need to monkeypatch the site controller, but it's definitely doable. I'll put it into my pipeline and see what I can do :) ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search:

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
I'll look into it right now and see if I'm able to fix it. Still learning my way into radiant code :)2006/9/29, John W. Long [EMAIL PROTECTED] :Giovanni Intini wrote: You don't see them in the main page, have you tried going directly to their url? Because r:children:each still doesn't catch draft

[Radiant] ml_subscribe

2006-09-29 Thread Giovanni Intini
Where can I find the ml_subscribe plugin?Thanks,Giovanni ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] ml_subscribe

2006-09-29 Thread Giovanni Intini
Thanks for the link2006/9/29, John W. Long [EMAIL PROTECTED]: Giovanni Intini wrote: Where can I find the ml_subscribe plugin?It's a pretty specific plugin for the Ruby mailing list. But the sourceis here: http://rubyidentity.org/ruby-lang.org/browser/ruby-lang.org/trunk/www/vendor/plugins/--John

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
this is what someone was referring to when he said that Radiant stretches the MVC boundaries.2006/9/29, Giovanni Intini [EMAIL PROTECTED]:I'll look into it right now and see if I'm able to fix it. Still learning my way into radiant code :) 2006/9/29, John W. Long [EMAIL PROTECTED] :Giovanni Intini wrote

Re: [Radiant] Manual page sorting in admin view

2006-09-24 Thread Giovanni Intini
I think anyone would like that (me for sure). There was some talk of dnd ordering in the list some time ago, check the archives, and it was mostly positive talking :)2006/9/24, Tom von Schwerdtner [EMAIL PROTECTED]:This in part comes from my desire (like others) to generate tree-style navigation

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Giovanni Intini
2006/9/20, John W. Long [EMAIL PROTECTED]: Giovanni Intini wrote: Create a layout with content type text/css and paste your css code there.It's probably better to create a layout with a content type oftext/css and put just the tag r:content / in the layout. Then create a page, assign the layout

[Radiant] Errors in the wiki

2006-09-18 Thread Giovanni Intini
How do I report errors in the wiki? ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Outputting the content of all parts of a page

2006-09-18 Thread Giovanni Intini
Well this my second recipe on the wiki, I'm flattered :)2006/9/18, Dave Crossland [EMAIL PROTECTED]: On 18/09/06, Giovanni Intini [EMAIL PROTECTED] wrote: Glad I could help :)Okay, added to the wiki as a Recipe :-) ___ Radiant mailing list Post

Re: [Radiant] Errors in the wiki

2006-09-18 Thread Giovanni Intini
I didn't know I could edit, I'll do that :)2006/9/18, John W. Long [EMAIL PROTECTED]: Giovanni Intini wrote: How do I report errors in the wiki?The best thing would be to just edit them yourself. But you are welcometo discuss changes here. (The only page you can't edit on the wiki is the home page

Re: [Radiant] Errors in the wiki

2006-09-18 Thread Giovanni Intini
BTW I forgot telling that the error is in the home page :)When it links to the articles on the blog about tags, the part two link doesn't work. It should point to http://radiantcms.org/blog/2006/06/15/tag-primer-2/Bye,Giovanni2006/9/18, Giovanni Intini [EMAIL PROTECTED]: I didn't know I could

Re: [Radiant] Errors in the wiki

2006-09-18 Thread Giovanni Intini
Also, I just changed the restrictions on editing the home page. Nowanyone can make changes. Hopefully the spam bots won't bother us too much. I wouldn't bet on that, but we'll cross our fingers :) ___ Radiant mailing list Post:

Re: [Radiant] Outputting the content of all parts of a page

2006-09-17 Thread Giovanni Intini
When I need to split up bigger pages I just include in the main content of the page a content tag for each extra part I have, this way in the layout I don't need to know if the page has multiple parts or just one and I can still divide the page into smaller chunks. I use this method a lot when I

Re: [Radiant] Installing Radiant on shared host

2006-09-17 Thread Giovanni Intini
If you have shell access to your server, you can just ssh into it and move away the public_html (or www) directory and link radiant/public to public_html (or www).2006/9/17, Gautam [EMAIL PROTECTED]:Thanks :-)There were many time when my friends were askin me to quit trying this and go for a

Re: [Radiant] Installing Radiant on shared host

2006-09-17 Thread Giovanni Intini
I usually have the same problem when trying to run my apps on apache fcgi the first time. I don't understand why it happens, but you have to reload often the page in the first 5 minutes or so, and then it works.There has to be a reason for this but I don't know it and I'm happy it works :)

[Radiant] Recursive children:each

2006-09-14 Thread Giovanni Intini
I wanted to generate a sitemap for my radiant powered site and used this code:ul r:find url=""> r:children:each lir:link //li /r:children:each /r:find/ulUnfortunately it doesn't work since r:children_each is non recursive. Anyone has an idea on how to make it recursive?

Re: [Radiant] Recursive children:each

2006-09-14 Thread Giovanni Intini
/r:children:eachIn the page that I want the sitemap I would do this (the find tag is optional, depending on where you want the sitemap to start): r:find url="">ul r:snippet name=sitemap //ul/r:findGood luck!Sean Cribbs seancribbs.com On 9/14/06, Giovanni Intini [EMAIL PROTECTED] wro

Re: [Radiant] Recursive children:each

2006-09-14 Thread Giovanni Intini
temap //ul/r:findGood luck!Sean Cribbs seancribbs.com On 9/14/06, Giovanni Intini [EMAIL PROTECTED] wrote: I wanted to generate a sitemap for my radiant powered site and used this code:ul r:find url=""> r:children:each lir:link //li /r:children:each /r:find/ulUnfortunately it do

Re: [Radiant] Ruby Site Live

2006-09-14 Thread Giovanni Intini
Thanks, after posting this message I asked google and he was nice enough to give me this link : http://www.degrunt.net/articles/2006/07/23/syntax-highlighting-of-code-in-radiant-cms/ I installed it and it works fine.2006/9/14, Oliver Baltzer [EMAIL PROTECTED]: On 14-Sep-2006 00:12 +0200, Giovanni

[Radiant] r:random and page children

2006-09-13 Thread Giovanni Intini
I tried to get a random child's title from a page using this code, but it doesn't work because it gives the title of the current page and not of the child. Is there a way to get a random page?r:random r:children:each r:optionr:title //r:option /r:children:each/r:random

Re: [Radiant] r:random and page children

2006-09-13 Thread Giovanni Intini
be grabbing one random title from children pages, correct?I haven't tried it myself, so I might be wrong. Erik MallinsonOn 9/13/06, Giovanni Intini [EMAIL PROTECTED] wrote: I tried to get a random child's title from a page using this code, but it doesn't work because it gives the title of the current

Re: [Radiant] r:random and page children

2006-09-13 Thread Giovanni Intini
On 9/13/06, Giovanni Intini [EMAIL PROTECTED] wrote: The code you wrote should grab the title of the first child (in a list made by all the children ordered in ascending order by published_at).2006/9/13, Erik Mallinson [EMAIL PROTECTED]:Does this work? r:children:each limit=1

Re: [Radiant] My little Radiant wishlist

2006-09-11 Thread Giovanni Intini
2006/9/11, John W. Long [EMAIL PROTECTED]: Better export and import code is in the pipeline. I'm not sure if itwill be as granular as you suggest above, but I am definitely open tothe possibility.Right now I'm just recreating the structure on the deploy server and cut'n'pasting the content. It's

Re: [Radiant] Language redirect behavior is missing

2006-09-06 Thread Giovanni Intini
2006/7/9, John W. Long [EMAIL PROTECTED]: I updated my radiant installation via SVN update and the language redirect behavior is now missing. --MYup. It's gone. I've been meaning to package it up as a plugin. It wasnever meant to be part of the distribution. We needed it for Ruby-Lang, but that