Re: [Radiant] Three Steps to Ease Extensions
thumbs up to this idea +1 Sent from my iPhone On 24.04.2010, at 13:38, Jeff Casimir j...@casimircreative.com wrote: Morning All, I've been thinking about extensions on and off for the past few months. I really think installing extensions is too hard, here are three ideas to ease the process. These assume that the work Jim has done to gem-ify extensions is good and that all extensions should be distributed as gems. Sneaky Asset Management = I want to get rid of radiant:extensions:xyz:update and the Rails router does most of the hard work. Let's establish that assets for extensions are held in a place like /public/extensions/xyz/assets/. We'd need a route and controller that listened for that route, then just pull the assets from within the gem (stored in some similarly structured folder within the library). Of course a few users will want to customize the assets. So we need a radiant:extensions:xyz:unpack_assets (basically the same as the old update) that copies the assets to the same place in /public/extensions/xyz/assets. The Rails router will pickup these static files with a higher precedence than the asset-finding-in-gems route, so there is nothing complicated. Why do this? Reducing the steps and complexity for the installation. Drop the gem in, require it, and you might be ready to go. It'd be almost exactly like installing a normal gem for use in a Rails app. Explicit Migrations == Migrations, I think, need to go the other way. Rather than being hidden away they should be in plain view. I think there should be a generator that create the migration files and puts them in a normal place, like /db/migrate/9318938_radiant_xyz_add_my_secret_table. Migrations, I find, are the area most in need of debugging when issues arise with extensions. If we're moving towards the idea of Rails 3 embeddable apps, I would want to have all my migrations in one place, clearly organized, where I can understand what's going on. Interactive Install Manager = Here's the install process I'd like to see: gem install radiant-xyz-extension rake radiant:setup_extensions Welcome to the RadiantCMS Extension Management System. The following extensions are available in the system: 1. XYZ [inactive] 2. YAJ [inactive] 3. LDU [inactive] 4 OLD [active] Which extension would you like to activate / deactivate? (q to quit) 2 To activate extension YAJ I need to require the gem in your /config/environment.rb, is that ok? (Y or N) Y Gem YAJ is now required. The extension also needs to make changes to your database with migrations, would you like to generate those now? (Y or N) Y Generating migrations for extension YAJ... /db/migrate/91830_radiant_yaj_create_table_for_yaj /db/migrate/91830_radiant_yaj_modify_pages_for_yaj Migrations generated. Would you like to RUN the migrations now? (Y or N) Y (blah blah migration output) Extension YAJ has been setup. The following extensions are available in the system: 1. XYZ [inactive] 2. YAJ [active] 3. LDU [inactive] 4 OLD [active] Which extension would you like to activate / deactivate? (q to quit) == That's my brainstorm for this morning. FYI, in my head I modeled this install process after the EXCELLENT experience of installing Phusion Passenger. - Jeff --- Jeff Casimir Jumpstart Lab by Casimir Creative, LLC http://jumpstartlab.com @jumpstartlab on twitter ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] [ANN] PageFactory extension
On 31.03.2010, at 18:42, Josh French wrote: New extension on the loose: PageFactory. This is another take on content types/page templates (defining structure for your pages.) [ .. snipped .. ] See the readme for more on the goals and reasoning behind PageFactory. There's a detailed walkthrough in examples.md. http://github.com/jfrench/radiant-page_factory-extension This is really awesome stuff. you made my day :-) cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Revisiting Twitter Extension Conflict?
On 15.03.2010, at 08:14, banane wrote: If it makesyou feel better Alexis, I've replicated the error. I have a feeling it's due to both extensions setting the same constant. I'm hunting it down. This is IMHO because both define a method config I did a fix on my mailer -fork and sent out a pull request http://github.com/ehaselwanter/radiant-mailer-extension/commit/22382ab1f44d4ccc900dc29bb938dcfbfb0bb0f9 And I would like to suggest to all extension developers out there to think twice on naming methods while including them to the core page! E.g. do some name-spacing in the method name to avoid conflicts. cu edi On Sun, Mar 14, 2010 at 6:36 PM, banane ban...@gmail.com wrote: I'm going to try installing both and see if I can see the conflict. Anna On Sun, Mar 14, 2010 at 4:03 PM, Alexis Masters alexismast...@gmail.com wrote: Thanks for the suggestion, Anna. And your blog instructions are VERY clear and helpful. Loved them. Sadly, though, the good old Mailer config is not valid (see Mailer.valid_config?) was back on the form pages after the twitter extension was installed, so out it goes again until I can find a fix. DARN! I really want to use this, but on a site where forms are crucial, they must take precedence. ~ Alexis = Alexis Masters, author http://www.alexismasters.com On Mar 14, 2010, at 3:24 PM, Anna Billstrom wrote: Can you check the log and tell the detailed error message? Basically is it part of the smtp config or another setting. See troubleshooting in my blog post on actionmailee (which database mAiler uses. http://www.banane.com/2009/10/27/radiant-mailer-extension-installation-basics Sent from my iPhone On Mar 14, 2010, at 1:18 PM, Alexis Masters alexismast...@gmail.com wrote: Hi All, A little over a month ago, I inquired about what might be causing the mailer extension to fail when the twitter extension is installed. John Polling answered that he had both extensions running together. Thanks, John! I assumed the conflict might be due to the fact that my site used Radiant 0.8.1 while John's was on Radiant 9.0. I just upgraded a site from 0.8.1 to 9.0 and installed the twitter extension after the mail forms were all working optimally. Once again the dreaded Mailer config is not valid (see Mailer.valid config?) appeared, and the twitter had to come out. Now I'm wondering if the mailer extension is the culprit after all, or if the database_mailer extension is causing the conflict due to the way it is configured. So this time, I ask, does anyone have the Twitter extension running alongside Database_Mailer? ~ Alexis = On Feb 9, 2010, at 11:48 PM, John Polling wrote: Hi Alexis, I've just finished a site using both extensions and there was no problem at all. I was using Radiant 0.9 and I did tweak the Twitter extension to use the user timeline rather than the search. Not certain if that matters though Regards John Polling twitter: @pollingj On 10 Feb 2010, at 06:15, Alexis Masters alexismast...@gmail.com wrote: Hello All :-) I am working on some sites that require BOTH the Twitter and the Mailer extensions. I ran into an error, and in searching the list for that error, leaned that these two extensions didn't work together as of May 2009. Has anyone managed to get these working together or am I sunk??? ~ Alexis = ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Copy and Move extension
On 11.03.2010, at 09:14, Shaolo wrote: I tried it out, but it fails with a sql error. Trying to perform the install by hand failed with a virtual timer expired error. This is the SQL error: ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'position' in 'order clause': SELECT * FROM `pages` WHERE (`pages`.`slug` = 'styles.css') AND (`pages`.parent_id = 1) ORDER BY position ASC LIMIT 1): did you run the migration? cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Copy and Move extension
On 11.03.2010, at 10:30, Shaolo wrote: I had to upgrade from 1.8.6 to 1.8.7 and uninstall and reinstall, but now the drag order extension works. I think while re-installing you run the migration of the drag order extension. cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Anyone have Reader extension working correctly?
On 08.03.2010, at 16:55, Daniel O'Connell wrote: Anyone have Reader extension working correctly? I cannot seem to get reader to install correctly under 0.8.1 or 0.9.0rc1. When I create a reader (under 0.9.0rc1) I get back: Connection refused - connect(2) RAILS_ROOT: /Users/dev/Sites/gla1 Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `initialize' /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `open' /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `do_start' /usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' /usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `do_start' /usr/local/lib/ruby/1.8/net/smtp.rb:525:in `start' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:682:in `perform_delivery_smtp' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:523:in `__send__' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:523:in `deliver!' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:395:in `method_missing' Do you have configured ActionMailer? Seems your SMTP Host is not available .. cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Problem with Settings extension
On 25.01.2010, at 18:00, James Maskell wrote: ActionView::TemplateError (undefined method `description' for #Radiant::Config:0xb6eafb94) on line #21 of vendor/extensions/settings/app/views/admin/settings/edit.html.haml: 18: Did you run the migration for the settings extension? You miss a column in the config table named 'description' cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] A problem with the sitemapper and navigation
you c On 20.01.2010, at 15:16, Joanna Ludmiła Ryćko wrote: Hello, I have a non-trivial problem with a construction of the sitemapper (and an analogous problem with my navigation) and I wish you could help. Whereas the problem with the sitemapper is hidden and the only the w3 validator sees the problem, the problem with the navigation causes false output on the page... you could try to use the wonderful navigation_tags extension (and look at the forkes for additional functionality like excluding pages) http://github.com/derencius/navigation_tags/ cu edi -- ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] link on front-end to edit this_page if logged in
On 08.01.2010, at 19:16, Jim Gay wrote: tag 'local:if_logged_in' do |tag| tag.expand if logged_in? end That'll let you write Radius code like this: r:local:if_logged_in a href=r:local:edit_url/edit/a /r:local:if_logged_in (All these code samples are untested, but, uh, they should be pretty close!) That's cool - I learn something new all the time :) But this would require that you turn off page caching. If you attempt it, be sure to have a simple site structure and plenty of resources behind the application. what about using this on the dev host? is it possible to have caching on www.mysite.com but not on dev.mysite.com? this would allow for editing *and* viewing the unpublished pages cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Radiant Distribution
Hi there *, I just have seen your awesome effort on the radiant_platform http://github.com/spanner/radiant_platform and the radiant-multisite http://github.com/netzpirat/radiant-multisite/ I would like to join forces to a) bring this to radiant 0.9 b) integrate extensions from http://github.com/Aissac c) update both to be able to use the chronicle and reorder extension are there any plans on that? or is this a dumb idea? cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant Distribution
On 26.11.2009, at 11:49, Arthur Gunn wrote: Hi Edmund, Probably an excellent idea! I've been using many similar extensions, relevant here are: spanner/radiant-multi-site-extension spanner/radiant-reader-extension spanner/radiant-reader_group-extension spanner/radiant-reader_group-extension They're working mostly fine alongside: jgarber/radiant-chronicle-extension bright4/radiant-drag-order # beats reorder and copy_move! ah. interesting. an this one gets along with chronicle? btw. is chronicle radiant 0.9 ready? I think an extension for versioning is crucial :-) This would seem to be a very useful stack for someone providing an edit your own site service to multiple users. Another extension I find useful for this purpose is: p8/radiant-rbac_base-extension Which allows you to give users custom roles. I use this for more fine- grained control - a moderately advanced user is an asset_user, but not a layout_user which means they can see and access the former tab but not the latter. I wonder which of Aissac's extensions you had in mind? At least the ones mentioned on their blog (http://blog.aissac.ro/) • Custom Fields Extension • Database Mailer Extension • Globalize2 Extension • Globalize2 Paperclipped Extension • Member Extension • Paginate Extension • Sitemap XML Extension • Stereotype Extension • Super Export Extension • Tiny-Paper Extension • Ultrasphinx search extension what I want to achieve is multisite with globalize2, chronicle and some kind of member management (more the reader style) cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] gallery extension error
On 11.11.2009, at 10:23, Paul Ingles wrote: I just had the same problem. You need to edit your config/ environment.rb file. Inside the config.after_initialize block, add the line: Radiant::Config[gallery.storage] = s3 That fixed it for me. It basically is the storage option of attachment_fu http://wiki.github.com/technoweenie/attachment_fu options are db_file, file_system db_file, and s3 cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Thoughts on 0.9 RC1?
Hi *, On 19.10.2009, at 11:08, Keith Bingman wrote: Remember too, the RC1 release is more to give extension developers a chance to migrate everything than an actual production ready release. It is great, but breaks pretty much every extension I have tried. Most of the fixes are small, Is there a short howto on what to change to make an extension with 0.9 ? but it is going to take a while to get it all up to date. cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Problem with twitter_tags in Radiant 0.8.1
On 23.09.2009, at 23:30, Eric de Hont wrote: Dear List, After installing the extentions Twitter and Twitter_Tags and installing de ruby gem twitter I still can't get Twitter_Tags to work. they don't play nicely together. I think it would make sense to merge them. Its on which one is load first as they define the same module (IMHO) I plan on merging them and add a caching for the not so unlikely case that twitter is down ... but I;m very busy at the moment. As a intermediate solution you could try to set: config.extensions = [ :twitter_tags, :twitter , :all ] in your environment.rb cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Gorilla = Radiant
What do you want to tell us? On 11.08.2009, at 07:24, Mauricio Dulce wrote: Hi, I found this by searching on google, to my surprise offered as gorilla cms, but in reality is radiant, perhaps this is not a violation of copyright. http://www.gorilla-webdesign.be/gorillacms/ It states so here Furthermore, there is a way to donate money to the project, proved very useful to me and I think it's time to give back something Besides money it is possible to contribute code to the community http://github.com/jomz = one half of gorilla webdesign does a lot here. cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Problem unsolved: Multiple languages for content
Hi, I have another question concerning languages: On Thu, Aug 6, 2009 at 10:15 PM, john muhljohnm...@gmail.com wrote: could you just ask your snippet to give the right urls? r:if_url matches='^/de' r:navigation urls=home: /de/home | ueberuns: /de/ueber_uns/ | kontakt: /de/kontakt/ /r:if_url r:if_url matches='^/en' r:navigation urls=home: /en/home | aboutus: /en/about_us/ | contact: /en/contact/ /r:if_url Is it possible to tell a page a language for rendering r:date/ ? I tried to set a default language for the whole rails app in environment.rb (defaulting to :de) but 1) It did not change the r:date/ behaviour 2) It did break the admin area (I guess for the config option to be able to set the published date) cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] SEO question
On 23.06.2009, at 17:00, Sean Cribbs wrote: Radiant has some meta stuff built-in. You can already do: r:meta:description / r:meta:keywords / These fields are in the page-editing interface. Unfortunately they will output the tags even if you don't fill out the fields. That could be a place for enhancement. thx for your reply Sean. I already use this tags. But on a recent project it came to my mind, that as a starting point, it would be great if default values could be calculated from the content of the page. This would enhance the out-of- box SEO experience :-) edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] SEO question
On 23.06.2009, at 17:44, Jim Gay wrote: I don't believe and extension exists for that. The problem with parsing out the keywords automatically would be that Radiant has no idea from where the content comes. The layout may pull information from another page and display it somewhere and you'd need to determine if this is relevant content for your keywords. If you, or someone, built that feature, it would probably need to make an assumption such as parsing the body page part and using it's content for the keywords but allow you to add others, or add other parts to parse. If it didn't do this, you'd need to render the entire page, parse the content for keywords, then record them and do the final rendering for the meta keywords. hm. you are right. sounds like a rake task with updateing the page fields ... Jim Gay http://www.saturnflyer.com On Jun 23, 2009, at 10:12 AM, Haselwanter Edmund wrote: Hi *, I wonder if there is SEO extension which provides something like: r:meta:description_summery length=150/ r:meta:keywords/ auto generated out of the rendered pages. this would be a great deal :-) The first would not be that hard to implement, I guess. The later could be retrieved through some indexing gem/plugin. I researched a bit in that area, but did not come up with a solution ... cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Twitter Extensions
Hi, I'm having problems with the twitter gem for using the two twitter extensions. rake development radiant:extensions:twitter_tags:migrate (in /Users/ehaselwanter/NetBeansProjects/radapp) rake aborted! can't activate activesupport (= 2.1.2, runtime), already activated activesupport-2.3.2 $ gem list|grep activesupport activesupport (2.3.2, 2.1.2, 2.1.0, 1.4.4, 1.4.2) $ gem list|grep twitter twitter (0.6.6) cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Q: Is there a Newsletter extension?
Hi, Is there newsletter extension out there in Radiant land? I only found http://github.com/pilu/radiant-newsletter/tree/master but this one seems not to be 0.7.1 ready? cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Q: Is there a Newsletter extension?
On 03.04.2009, at 18:21, Haselwanter Edmund wrote: Hi, Is there newsletter extension out there in Radiant land? I only found http://github.com/pilu/radiant-newsletter/tree/master but this one seems not to be 0.7.1 ready? #radiantcms john__m:you could try renaming vendor/extensions/newsletter/app/views/ admin/page to .../pages and see what happens did the trick cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Error while creating a new child
Hi, This never happend to me before, I can't add new children anymore: recent changes: installed paperclipped editing pages does work as expected Processing Admin::PagesController#new (for 91.130.139.81 at 2009-03-30 20:22:39) [GET] Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlMjI1Yjk1MDZlYjQ5MDJiNjE5 ZWM5ZjdlNGJlYWM0MzQiDHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u dHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA ==--903de4d404a457df720647d4d65901020d2d9841 Parameters: {action=new, page_id=1, controller=admin/ pages} Rendering template within layouts/application Rendering admin/pages/new ActionView::TemplateError (undefined method `filter' for nil:NilClass) on line #25 of var/www/home/ecos-adm/gems/gems/radiant-0.7.1/app/views/ admin/pages/_popups.html.haml: 22: 23: #filter-reference-popup.popup{ :style = display:none; } 24: %h3 25: %span#filter-type= filter.filter_name 26: Reference 27: #filter-reference= filter_reference 28: %p /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/app/helpers/admin/ pages_helper.rb:10:in `filter' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/app/views/admin/ pages/_popups.html.haml:25:in ` _run_plugin_47var47www47home47ecos45adm47gems47gems47radiant45046746147app47views47admin47pages47_popups46html46haml ' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:400:in `call' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:400:in `capture_haml_with_buffer' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:257:in `capture_haml' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers/action_view_mods.rb:55:in `capture' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/helpers/capture_helper.rb:125:in `content_for' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/app/views/admin/ pages/_popups.html.haml:1:in ` _run_plugin_47var47www47home47ecos45adm47gems47gems47radiant45046746147app47views47admin47pages47_popups46html46haml ' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/base.rb:342:in `send' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/base.rb:342:in `execute' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/partial_template.rb:20:in `render' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/partial_template.rb:19:in `render' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/template.rb:22:in `render_template' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/partials.rb:110:in `render_partial' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/rails/ actionpack/lib/action_view/base.rb:277:in `render_without_haml' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers/action_view_mods.rb:5:in `render' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:57:in `non_haml' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers/action_view_mods.rb:5:in `render' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/app/views/admin/ pages/new.html.haml:8:in ` _run_plugin_47var47www47home47ecos45adm47gems47gems47radiant45046746147app47views47admin47pages47new46html46haml ' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:400:in `call' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:400:in `capture_haml_with_buffer' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:257:in `capture_haml' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers/action_view_mods.rb:55:in `capture' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/lib/radiant/ admin_ui/region_partials.rb:13:in `method_missing' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/app/views/admin/ pages/new.html.haml:7:in ` _run_plugin_47var47www47home47ecos45adm47gems47gems47radiant45046746147app47views47admin47pages47new46html46haml ' /var/www/home/ecos-adm/gems/gems/radiant-0.7.1/vendor/plugins/ haml/lib/haml/helpers.rb:400:in `call'
Re: [Radiant] [ANN] FeedReader extension (take 2)
On 18.03.2009, at 21:52, Sean Cribbs wrote: I don't know how to solve that, except that links should be absolute (in general). If you are generating RSS, make sure your guid/url elements have absolute URLs. Beyond that, there's nothing that can be done short of parsing each summary with nokogiri/hpricot/etc and absolutizing URLs, which I know from experience is very sketchy. Is there a build in way producing absolute urls in Radiant? r:find url=/de/preiser:url//r:find does not yield the desired result :-( cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] FeedReader extension (take 2)
On 10.03.2009, at 04:35, Sean Cribbs wrote: Here's the goods: http://github.com/seancribbs/radiant-feed-reader-extension great news :-) I gave it a try and to have a little issue. What about relative urls in the content or summary part? I have a radiant site up and running and want to publish its rss feed on another radiant site. This yields relative urls on the latter. But where to fix this? a) on the rss producing site (how could I have FQDN absolute urls from r:content/ ? b) on the consuming site ( substitute every relative url in the tag definition with the hostname and relative url ) this problem really drives me nuts :-( btw. in e.g. NetNewsWire the Urls in the content are fixed Make sure you read the README to get the proper installation instructions for Feedzirra - it can be a little tricky, depending on your platform. OS/X Leopard (not MacPorts) and Ubuntu 8.04 work just fine. Here's the page where I'm using the extension: http://diopa.org/news/world produces undefined method `feed_url' for 0:Fixnum in the content -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Localization
Hi, On 19.12.2008, at 08:46, Istvan Hoka wrote: The extension is in use in production on two sites so far: http://www.atp-exodus.ro , (Romanian, English, German) and http://euro5.ro (Romanian and English). The version on github is slightly outdated but I will push my local changes asap if anyone is interested. That would be great :-) cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Thank you for import_export extension
On 28.10.2008, at 02:07, Nate Turnage wrote: Thank you, Sean, et. al., for the import_export extension. It works like a champ. Not only can I develop the back end of my site on my local machine, but I can now keep my content versioned. Again, thanks. Yeah, this extension rocks!. But I'm experiencing problems with the gallery extension installed. Has any one the gallery extension installed and import_export working? cu edi -- DI Edmund Haselwanter, [EMAIL PROTECTED], http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Community Site for Radiant
Hi *, I thought about installing e.g. a community-engine (http://www.communityengine.org/ ) instance to support the radiant project. But as with any community site this just makes sense if there are are any users to expect. So what do you think? Would this be of any interest? cu edi -- DI Edmund Haselwanter, [EMAIL PROTECTED], http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Bugfix and new tag for radiant-tags-extension
Hi *, I came across a smal bug in the radiant-tags-extension. What is the recommended way to provide the bug fix? Always directly contact the author? Its in the tag_list tag when using the complex mode. the string should be splited with MetaTag::DELIMITER and not with . And i added a new tag tag_cloud_list which can be used to show all used tags (:limit = 100) in the sitebar. have a look at http://edmund.haselwanter.com/en/blog to see it in action the git diff: diff --git a/app/models/radius_tags.rb b/app/models/radius_tags.rb index 953bd48..5a25493 100644 --- a/app/models/radius_tags.rb +++ b/app/models/radius_tags.rb @@ -50,11 +50,25 @@ module RadiusTags end output += /ol end - + + desc Render a Tag list + tag tag_cloud_list do |tag| +tag_cloud = MetaTag.cloud({:limit = 100}).sort +output = ul class=\tag_cloud\ +if tag_cloud.length 0 +build_tag_cloud(tag_cloud, %w(size1 size2 size3 size4 size5 size6 size7 size8 size9)) do |tag, cloud_class, amount| +output += li class=\#{cloud_class}\a href= \#{tag_item_url(tag)}\ class=\tag\#{tag}(#{amount})/a/li +end +else +return pNo tags found./p +end +output += /ul + end + desc List the current page's tags tag tag_list do |tag| output = [] -tag.locals.page.tag_list.split( ).each {|t| output a href= \#{tag_item_url(t)}\ class=\tag\#{t}/a} +tag.locals.page.tag_list.split(MetaTag::DELIMITER).each {|t| output a href=\#{tag_item_url(t)}\ class=\tag\#{t}/a} output.join , end @@ -172,4 +186,4 @@ module RadiusTags options end -end \ No newline at end of file +end cu edi -- DI Edmund Haselwanter, [EMAIL PROTECTED], http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant