[Radiant] ACLs, Filemanager
Hi there, I'm new to this list and to radiant an have some questions about some features. Until now, I only walked through some Rails Tutorials, but I realy like it and plan to do my next non profit Projekts with it. I have tested Radiant now for about a few hours. What I need is some Lightweight CMS, that is easy extendable and not floating me with 90% of Stuff I will never need (but have to deploy). But there are three things that I expect from a cms, a good Usermanagement, that allows me to only give permissions to separate parts to Users, a search/indexing function and a way to upload Files and Link them through Webinterface (to add Pictures or Downloads). Maybe I was to dumb to find these things but until now it seems, Radiant doesn't fit these needs. Do there exist some Workarounds, or did I lost sight of something? I plan to replace our existing Zope ZMS that has a realy good ACL implementation for the Backend but is a pain in the Ass if you want to add ACLs for the Frontend. Most Features must be dirty hacked into this System. Typo3 is also one of these Bulldozers. If you have chosen one direction once, it's hard to make a turn to another direction later. Greetings from germany Andre -- Ponton Consulting GmbH voice: + 49.40.69213-354 http://www.ponton-consulting.de/ fax:+ 49.40.69213-355 Dorotheenstraße 60 22301 Hamburgmailto:[EMAIL PROTECTED] Germany Ponton Consulting is a Member of C1 Group HRB 81480, AG Hamburg, Managing Director: Dr. Michael Merz Ponton Consulting is a Member of C1 Group (www.c1-group.com) ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] quickest and least expensive way to retrieve URL segment
I would like to check a url segment (in this case whether the site is /en/ or /zh/) so I can display content based on language. In Radiant what is the quickest and least expensive way to do this? Thanks! -- Posted via http://www.ruby-forum.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] Daft
I guess I'm missing how I get to data from a extension. Is there some way to map a url directly to a extension data feed? Thanks, Andrew On Sun, Apr 20, 2008 at 12:34 PM, Jim Gay [EMAIL PROTECTED] wrote: If you mean on the public content, then use Javascript however you would with any other system: link to the JS files on your server and go. If you mean on the admin side, you can install the Shards extension (read this http://wiki.radiantcms.org/Using_the_Shards_Extension) On Apr 20, 2008, at 2:28 PM, Andrew Gehring wrote: I may be daft, but I'm not finding any information on using Javascript inside Radiant CMS sites. Are there some guidelines on how to do this? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] quickest and least expensive way to retrieve URL segment
The r:if_url and r:unless_url tags probably provide what you need. Give the tags a 'matches' attribute that contains a regular expression. Here's an example: r:if_url matches=^/en/r:content part=body_en //r:if_url That would output the body_en part if the beginning of the URL matches /en/. Sean Ryan Irelan wrote: I would like to check a url segment (in this case whether the site is /en/ or /zh/) so I can display content based on language. In Radiant what is the quickest and least expensive way to do this? Thanks! ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Line Breaks in Textile
Sorry if this question doesn't belong here, but I figured one of you guys might know the answer. I just set up a fresh 0.66 installation and am using Textile to format the pages I write. Everything is working wonderfully except that line breaks do not generate br / tags. Instead, they simply make a new line in the HTML code. Example: Paragraph one. Paragraph two. ...should render: pParagraph one/p pParagraphbr /two/p ...instead, it renders: pParagraph one/p pParagraph two/p Is this a recent change in Textile or something Radiant-specific? On the Textile Tryout page (http://www.textism.com/tools/textile/index.php) it DOES insert the br / tag. However on the Textile Reference page (http://hobix.com/textile/) under Line Breaks, the author seems to say that br / is no longer part of the functionality. Have any of you guys had problems with this? -- Posted via http://www.ruby-forum.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] Line Breaks in Textile
Ben, RedCloth (the Ruby implementation of Textile) does not necessarily follow the Textism version exactly. If you need br / tags, just put them in there and it will oblige. Sean Ben Morrow wrote: Sorry if this question doesn't belong here, but I figured one of you guys might know the answer. I just set up a fresh 0.66 installation and am using Textile to format the pages I write. Everything is working wonderfully except that line breaks do not generate br / tags. Instead, they simply make a new line in the HTML code. Example: Paragraph one. Paragraph two. ...should render: pParagraph one/p pParagraphbr /two/p ...instead, it renders: pParagraph one/p pParagraph two/p Is this a recent change in Textile or something Radiant-specific? On the Textile Tryout page (http://www.textism.com/tools/textile/index.php) it DOES insert the br / tag. However on the Textile Reference page (http://hobix.com/textile/) under Line Breaks, the author seems to say that br / is no longer part of the functionality. Have any of you guys had problems with this? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Line Breaks in Textile
Ben, RedCloth is the Ruby library Radiant uses to format Textile. Unfortunately, the latest release 3.0.4 is notoriously awful. The upcoming release, 4.0, adheres to the official Textile 2 reference exactly, including the line breaks you speak of. I recommend you give the pre-release testing gem a try. $ gem install RedCloth --source http://code.whytheluckystiff.net (Note that RedCloth is camel case.) Make sure it's working by opening up irb and typing RedCloth::VERSION and noting the version number is higher than 3.0.4. That alone probably won't work for your Radiant install because Radiant includes RedCloth in the vendor directory rather than allowing it to be loaded from gems. You either have to remove that directory or, if you're using Radiant in instance mode, add this hack to the environment.rb file after the require 'boot' and before the require 'radius'. # *** hack to get RedCloth out of vendor $:.reject! {|p| p =~ /vendor\/redcloth/ } Then check that it's installed properly by starting Radiant's console: ./script/console and typing RedCloth::VERSION. RedCloth 4.0 will probably be released by May 1. Jason Garber On Apr 21, 2008, at 2:37 PM, Ben Morrow wrote: Sorry if this question doesn't belong here, but I figured one of you guys might know the answer. I just set up a fresh 0.66 installation and am using Textile to format the pages I write. Everything is working wonderfully except that line breaks do not generate br / tags. Instead, they simply make a new line in the HTML code. Example: Paragraph one. Paragraph two. ...should render: pParagraph one/p pParagraphbr /two/p ...instead, it renders: pParagraph one/p pParagraph two/p Is this a recent change in Textile or something Radiant-specific? On the Textile Tryout page (http://www.textism.com/tools/textile/index.php) it DOES insert the br / tag. However on the Textile Reference page (http://hobix.com/textile/) under Line Breaks, the author seems to say that br / is no longer part of the functionality. Have any of you guys had problems with this? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Radiant 0.6.6 - WYMeditor not working
Is anyone else having trouble with Radiant 0.6.6 and WYMeditor? I'm getting JavaScript errors on page load that are preventing the WYMeditor Filter from loading. My setup... * running in development mode on 0.6.6 gem * tested in both existing and new app (new app setup is as follows) * environment.rb setup is correct: config.extensions = [ :shards, :wym_editor_filter, :all ] * :all = the default Archive, Markdown, Textile * Shards is fresh from the SVN repository tag 0.6.6 * WYMeditor is fresh from http://www.gorilla-webdesign.be/artikel/48-WYM+on+Radiant Firebug says... prototype.js (line 3484) element has no properties var method = element.tagName.toLowerCase(); Anybody else seeing this? - Dave -- Posted via http://www.ruby-forum.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 0.6.6 - admin JavaScript issues
I found a few issues relating to the admin JavaScript file move in Radiant 0.6.6. When upgrading an existing project, the new JS files are added to public/javascripts/admin/ as expected, but their old equivalents inside public/javascripts/ are not removed. Removing these files OR creating a new project causes a JS error on the main /admin/pages screen: admin.js (line 2) SiteMap is not defined when('site-map', function(table) { new SiteMap(table) }); This problem prevents the +/- icons along the page tree from working. Adding back the old (or new) sitemap.js file to public/javascripts/ solves this problem. - Dave -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: Line Breaks in Textile
Jason, Thanks for that information! I attempted the hack, however after following your instructions, the RedCloth version still appears to be 3.04. I checked the console on a regular rails directory just to make sure I had correctly installed the newer version of the RedCloth gem... and indeed I had. That said, it's not really a time-critical app, so if 4.0 will indeed be out by the 1st, that'll work just fine. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] 0.6.6 (gem) and rel_0-6-6 tagged extensions
Hello, everyone. Should all the rel_0-6-6 tagged extensions work with the 0.6.6 (gem)? The only thing I am trying to install are shards and sass. I am using svn export to put the extensions in this way: svn export http://svn.radiantcms.org/radiant/tags/rel_0-6-6/extensions/shards vendor/extensions/shards the admin/page 'expand' javascript doesn't seem to work [+] in any browser I've searched but came to understand this should be fixed. I was thinking that shards is usually paired with other extensions. Maybe co-installation with another extension fixes this? firebug complains about 404 Not Found [http://localhost/javascripts/sitemap.js]. Before shards installation all is fine. thanks for your time. -- View this message in context: http://www.nabble.com/0.6.6-%28gem%29-and-rel_0-6-6-tagged-extensions-tp16817681p16817681.html Sent from the Radiant - User (New) mailing list archive at Nabble.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 0.6.6 - admin JavaScript issues
David, Are you using shards? The sitemap issue has not been resolved yet in shards, IIRC. Sean David Piehler wrote: I found a few issues relating to the admin JavaScript file move in Radiant 0.6.6. When upgrading an existing project, the new JS files are added to public/javascripts/admin/ as expected, but their old equivalents inside public/javascripts/ are not removed. Removing these files OR creating a new project causes a JS error on the main /admin/pages screen: admin.js (line 2) SiteMap is not defined when('site-map', function(table) { new SiteMap(table) }); This problem prevents the +/- icons along the page tree from working. Adding back the old (or new) sitemap.js file to public/javascripts/ solves this problem. - Dave ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: Radiant 0.6.6 - admin JavaScript issues
Sean Cribbs wrote: Are you using shards? The sitemap issue has not been resolved yet in shards, IIRC. Yes I am, so that makes sense. Thanks for clearing that up Sean. -- Posted via http://www.ruby-forum.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] Re: Line Breaks in Textile
Ben, Well, if it's not working with the 3.290 gem, it won't work any better with 4.0. The problem is with Radiant. I'll try it tomorrow with 0.6.6 and see what I can come up with. Jason On Apr 21, 2008, at 7:19 PM, Ben Morrow wrote: Jason, Thanks for that information! I attempted the hack, however after following your instructions, the RedCloth version still appears to be 3.04. I checked the console on a regular rails directory just to make sure I had correctly installed the newer version of the RedCloth gem... and indeed I had. That said, it's not really a time-critical app, so if 4.0 will indeed be out by the 1st, that'll work just fine. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: Line Breaks in Textile
Jason, You seem really up-to-date on the progress of RedCloth. Since it's being reimplemented in Ragel, will the code still be pure Ruby, or will it be part-Ruby, part-C? Sean Jason Garber wrote: Ben, Well, if it's not working with the 3.290 gem, it won't work any better with 4.0. The problem is with Radiant. I'll try it tomorrow with 0.6.6 and see what I can come up with. Jason On Apr 21, 2008, at 7:19 PM, Ben Morrow wrote: Jason, Thanks for that information! I attempted the hack, however after following your instructions, the RedCloth version still appears to be 3.04. I checked the console on a regular rails directory just to make sure I had correctly installed the newer version of the RedCloth gem... and indeed I had. That said, it's not really a time-critical app, so if 4.0 will indeed be out by the 1st, that'll work just fine. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] 500 errors in Admin after upgrade to 0.6.6
I have two Radiant sites that I setup a while back, with both Mongrel and Nginx in front of them. After upgrading to the 0.6.6 release today, the sites are working fine, however, the admin interface throws 500 errors when attempting to edit a page. Has anyone else had this issue? Any ideas as to where I should start looking to debug this? I'm green when it comes to Rails... ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] 500 errors in Admin after upgrade to 0.6.6
I have the same problem with the calendar extension. I cannot add a calendar. I have skipped the melee and am still on rad .64 On Apr 21, 2008, at 8:15 PM, Andy Ratike wrote: I have two Radiant sites that I setup a while back, with both Mongrel and Nginx in front of them. After upgrading to the 0.6.6 release today, the sites are working fine, however, the admin interface throws 500 errors when attempting to edit a page. Has anyone else had this issue? Any ideas as to where I should start looking to debug this? I'm green when it comes to Rails... ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant Brian Loomis [EMAIL PROTECTED] (208) 562-3944 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Anyone else having an issue when adding a new RSS feed using external_rss_feed extension?
I installed the extension and when I click New Feed from the admin layout, I get the following stack. I assume valid is a reserved keyword and is causing the error. Anyone else run into this? valid? is defined by ActiveRecord Extracted source (around line #10): 7: div class=form-area 8: p class=title 9: label for=external_rss_feed_nameName/label 10: %= text_field external_rss_feed, name, :class = 'textbox', :maxlength = 100 % 11: /p 12: p class=title 13: label for=external_rss_feed_urlURL/label It's run the following migrations: == 1 CreateExternalRssFeeds: migrating -- create_table(:external_rss_feeds) - 0.0328s == 1 CreateExternalRssFeeds: migrated (0.0330s) === == 2 AddCacheColumn: migrating -- add_column(:external_rss_feeds, :cache, :text) - 0.0052s -- add_column(:external_rss_feeds, :cache_datetime, :datetime) - 0.0060s == 2 AddCacheColumn: migrated (0.0115s) === ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant