Re: [Radiant] Drag and drop reorder extension
Keith, I would be. Again, no offense to anyone, but I kinda liked the original one better anyways. Thanks man, -- Travis Bell Not sent from my iPhone. On 16-Jan-08, at 10:17 AM, Keith Bingman wrote: I am not sure if I am stepping on anyone's toes, but I got the old drag and drop version to work on 0.6.4 with shards. This way it plays nice with others, especially the copy_move extension. Once I clean up the rake task, I can post a svn link if anyone is interested. Keith ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Problem with navigation_tags after upgrade to radiant 0.6.4
Hey guys, Even with that changed I was never able to get r:if_self working BUT r:if_ancestor_or_self seemed to work like it used to. I mentioned that about a month ago, FYI. http://www.ruby-forum.com/topic/132705#new Cheers, -- Travis Bell Not sent from my iPhone. On 22-Dec-07, at 2:58 PM, Sean Cribbs wrote: tag.globals.actual_page was replaced with tag.globals.page in 0.6.4. Change that part of the tag and it should work as before. Cheers, Sean Ryan Heneise wrote: Christian, I haven't had a chance to test navigation_tags in 0.6.4. I'll check it out and post a fix if I find one. Meantime, if you figure something out, please send me a patch. - Ryan On Dec 22, 2007, at 1:39 PM, Christian Billen wrote: Hi again everyone, Now after upgrading i'm realizing my navigation_tags are not working anymore Here's a code example r:children:each li r:if_ancestor_or_self r:link class=active-cat / /r:if_ancestor_or_self /li /r:children:each I get this in the output when I call that page undefined method `url' for nil:NilClass It does iterate through the children since I can do r:link/ on its own This used to work with Radiant 0.6.3, I also got the latest revision of the navigation tag (r83) but same result. if I look at navigation_tags.rb this is the definition # Inspired by this thread: # http://www.mail-archive.com/radiant@lists.radiantcms.org/msg03234.html # Author: Marty Haught desc %{ Renders the contained element if the current item is an ancestor of the current page or if it is the page itself. } tag if_ancestor_or_self do |tag| Page.benchmark TAG: if_ancestor_or_self - #{tag.locals.page.url} do tag.expand if tag.globals.actual_page.url.starts_with?( tag.locals.page.url) end end I'm not a rails coder in any way so any help is appreciated Thank you Christian ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] A few sites we use Radiant for...
Hey guys, Thought I'd share a few sites we've released as of late using Radiant. I'm sure Sean and co. love to see what it's being used for. www.meticulo.com www.elkparkranch.com www.providencedevelopment.ca www.metalogger.net www.hostbrigade.com Some cool technology in some of those sites, Flash and RSS integration which really couldn't have been easier thanks to Radiant--also a client managed documents section. Also, a point to note, hostbrigade.com and metalogger.net are really just sub-site's of my primary domain, meticulo.com (thanks to the vhost extension) which I find particularly awesome. Thanks guys, not only to the core team, but extension developers for making such a clean, powerful and kick ass CMS. Cheers, -- Travis Bell Not sent from my iPhone. ___ 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] Using a dynamic sub-navigation...
Hey David, This worked with the r:if_ancestor_or_self tag but no matter what I do, I can't get it to work with the r:if_self. This is an extension bug no doubt, but I thought I would atleast share my findings. Thanks for the follow up, -- Travis Bell Not sent from my iPhone. On 26-Nov-07, at 12:06 PM, David Piehler wrote: Travis Bell wrote: Yup, sounds exactly what was happening to me. Any idea if there is a tag I can use now? The basic idea is to do a find-and-replace for all instances of 'tag.globals.actual_page' with 'tag.globals.page' in the extension's code. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Using a dynamic sub-navigation...
Hey Ryan, Yup, that is the one I am using. -- Travis Bell Not sent from my iPhone. On 28-Nov-07, at 3:20 PM, Ryan Heneise wrote: Are using my extension, or another one? http://svn.artofmission.com/svn/plugins/radiant/extensions/ navigation_tags/lib/navigation_tags.rb On Nov 28, 2007, at 3:25 PM, Travis Bell wrote: Hey David, This worked with the r:if_ancestor_or_self tag but no matter what I do, I can't get it to work with the r:if_self. This is an extension bug no doubt, but I thought I would atleast share my findings. Thanks for the follow up, -- Travis Bell Not sent from my iPhone. On 26-Nov-07, at 12:06 PM, David Piehler wrote: Travis Bell wrote: Yup, sounds exactly what was happening to me. Any idea if there is a tag I can use now? The basic idea is to do a find-and-replace for all instances of 'tag.globals.actual_page' with 'tag.globals.page' in the extension's code. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Using regex and r:find url....
Hey guys, It doesn't seem possible to use regex with the r:find url= tag. What I am trying to do is recursively find the children of a child. Ie... /projects /current -- /project-4 -- /project-3 /past -- /project-2 -- /project-1 So, in my example, return liproject 4/li liproject 3/li liproject 2/li liproject 1/li Does what I am trying to do make sense? Is there any way I can do what I want to do dynamically with some tags? Cheers, -- Travis Bell Not sent from my iPhone. ___ 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] Using a dynamic sub-navigation...
Yup, sounds exactly what was happening to me. Any idea if there is a tag I can use now? -- Travis Bell Not sent from my iPhone. On 26-Nov-07, at 9:11 AM, David Piehler wrote: Travis Bell wrote: BTW--it seems as though the r:nav / tag works fine, just not the r:if_self. For now I changed my design to accommodate, so all is well. Just an FYI. Travis -- I'm not using that extension but it sounds like the same issue I had here: http://www.ruby-forum.com/topic/131741 - Dave -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] modify date extension
This guy here has an extension that adds an area to each page allowing it's date to be modified. I'm not sure why it's not listed (atleast I don't think it) on the Radiant website, but I've been using it and it works great. http://mat.cc/dev/index.cgi Cheers, -- Travis Bell Not sent from my iPhone. On 25-Nov-07, at 9:34 AM, Johan Bichel Lindegaard wrote: I am looking for an extension that lets me modify the creation date of a page. Or another simple extension that ads a modify input to the page layout and accesses the database entries, that i can easily figure out and modify for my purpose. Thanks Johan. ___ 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] Using a dynamic sub-navigation...
BTW--it seems as though the r:nav / tag works fine, just not the r:if_self. For now I changed my design to accommodate, so all is well. Just an FYI. Cheers guys, -- Travis Bell Not sent from my iPhone. On 23-Nov-07, at 3:46 PM, Travis Bell wrote: Hey guys, I've been using the navigation tag extension for a while now ( http:// svn.artofmission.com/svn/plugins/radiant/extensions/ navigation_tags/ ) but upon trying to use it on a new, 0.6.4 gem install w/ SQLite3, the r:if_self tag just doesn't want to seem to work. r:find url=/projects/current-urban/kensington r:children:each order=desc lir:if_selfclass=selected/r:if_selfr:link //li /r:children:each /r:find In this scenario, I get the list of children, but not a one ever gets the class=selected appended to it. Nobody would happen to know if I am either doing something wrong, OR, another way to achieve what I need it to do here? Thanks in advance, -- Travis Bell Not sent from my iPhone. On 23-Aug-07, at 6:15 PM, Ryan Heneise wrote: Travis, r:nav / will automatically attach the class current to the li tag of the current page in the hierarchy: li class=currenta href=/a_page/a_sub_page/A Sub Page/a/ li Or, you could use r:if_self / like this: r:children:each lir:if_self class=current/r:if_selfr:link //li /r:children:each ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Using a dynamic sub-navigation...
Hey guys, I've been using the navigation tag extension for a while now ( http:// svn.artofmission.com/svn/plugins/radiant/extensions/ navigation_tags/ ) but upon trying to use it on a new, 0.6.4 gem install w/ SQLite3, the r:if_self tag just doesn't want to seem to work. r:find url=/projects/current-urban/kensington r:children:each order=desc lir:if_selfclass=selected/r:if_selfr:link //li /r:children:each /r:find In this scenario, I get the list of children, but not a one ever gets the class=selected appended to it. Nobody would happen to know if I am either doing something wrong, OR, another way to achieve what I need it to do here? Thanks in advance, -- Travis Bell Not sent from my iPhone. On 23-Aug-07, at 6:15 PM, Ryan Heneise wrote: Travis, r:nav / will automatically attach the class current to the li tag of the current page in the hierarchy: li class=currenta href=/a_page/a_sub_page/A Sub Page/a/li Or, you could use r:if_self / like this: r:children:each lir:if_self class=current/r:if_selfr:link //li /r:children:each ___ 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] Moving pages and have them become child items...
Hey Erik, Thanks. I hadn't noticed that extension before. In my head move and re-order were the same thing. :-\ Cheers, -- Travis Bell Not sent from my iPhone. On 22-Nov-07, at 12:10 AM, Erik van Oosten wrote: On http://wiki.radiantcms.org/Thirdparty_Extensions there is a plugin called Copy Move. Regards, Erik. Travis Bell wrote: It doesn't seem like it's currently possible to move existing pages into a new page and have it become a child item with the Seans Reorder extension. -- Erik van Oosten http://2008.rubyenrails.nl/ http://day-to-day-stuff.blogspot.com/ ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] [ANN] Simpler reorder extension
Hey Sean, Upon trying to run rake production db:migrate:extensions I am getting the following error: ## undefined method `page' for #Radiant::AdminUI:0x40804734 Any idea why? This is a gem install of version 0.6.4 with the Shards extension from the trunk installed. Thanks, -- Travis Bell Not sent from my iPhone. On 19-Nov-07, at 8:56 AM, Sean Cribbs wrote: With Adam's permission, I have replaced the reorder extension in the Radiant repository with the simpler one I developed recently. Instead of adding a separate view with drag-and-drop, it adds up/down/top/ bottom buttons to the sitemap. You can use Subversion to download it from: http://dev.radiantcms.org/svn/radiant/trunk/extensions/reorder Enjoy! Sean ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] [ANN] Simpler reorder extension
I seem to be getting an error when I try and delete pages with the Reorder extension enabled. The log reports the following: ## ActiveRecord::StatementInvalid (SQLite3::SQLException: SQL logic error or missing database: UPDATE page Any idea? The second I disable the Reorder extension, I can delete the page just fine. Thanks, -- Travis Bell Not sent from my iPhone. On 21-Nov-07, at 1:32 PM, Travis Bell wrote: Yup, that did it. Thanks, -- Travis Bell Not sent from my iPhone. On 21-Nov-07, at 1:11 PM, Sean Cribbs wrote: That generally occurs when you don't have the loading order set in config/environment.rb of your project. It should look like this: config.extensions = [:shards, :all] Alternatively, you can rename the vendor/extensions/shards directory to vendor/extensions/00_shards. Sean On Nov 21, 2007 1:50 PM, Travis Bell [EMAIL PROTECTED] wrote: Hey Sean, Upon trying to run rake production db:migrate:extensions I am getting the following error: ## undefined method `page' for #Radiant::AdminUI:0x40804734 Any idea why? This is a gem install of version 0.6.4 with the Shards extension from the trunk installed. Thanks, -- Travis Bell Not sent from my iPhone. On 19-Nov-07, at 8:56 AM, Sean Cribbs wrote: With Adam's permission, I have replaced the reorder extension in the Radiant repository with the simpler one I developed recently. Instead of adding a separate view with drag-and-drop, it adds up/down/top/ bottom buttons to the sitemap. You can use Subversion to download it from: http://dev.radiantcms.org/svn/radiant/trunk/extensions/reorder Enjoy! Sean ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Moving pages and have them become child items...
Hey guys, It doesn't seem like it's currently possible to move existing pages into a new page and have it become a child item with the Seans Reorder extension. I'm trying to convert an existing Radiant site INTO a multiple domain setup with the virtual host extension but all of my root pages need to be moved into a new top domain.com page. Anyone know how I can do this? Thanks! -- Travis Bell Not sent from my iPhone. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Does the virtual host extension work with 0.6.4?
Hey guys, I tried adding the vhost extension today on a new Radiant 0.6.4 install that I was setting up and kept getting some errors. If it's supposed to work, I can post the errors and hope someone can help but if it's a known problem than I'll hold off. Thanks, -- Travis Bell Not sent from my iPhone. ___ 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] Page admin interface bug
Seems to me Sean said they did a bunch of re-factoring with 0.6.4 and that the re-order extension needs to be tweaked. Cheers, -- Travis Bell Not sent from my iPhone. On 15-Nov-07, at 3:35 PM, David Piehler wrote: Andrew O'Brien wrote: I noticed that if I click the minus button on a page with children, it hides the children as expected but the button doesn't change back to a plus and clicking again it won't re-expand. I figured I'd ask if anyone else had this problem before investigating further. Using Radiant 0.6.4 gem, testing in Firefox. These REORDER extension-based issues seem to have cropped back up for me. Anyone else experiencing this? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Best Hosts for Radiant?
I agree with a big thumbs up for LiteSpeed. We run LiteSpeed on our production and dev environments primarily for it's ease of use with Rails. On top of that, it's fast to boot and always just works. Cheers, -- Travis Bell Not sent from my iPhone. On 8-Nov-07, at 7:22 AM, Sean Cribbs wrote: If you don't want to fiddle with Mongrel or FCGI on your VPS, I highly recommend Litespeed Web Server. The free version runs quite nicely and their LSAPI is significantly faster than FCGI. The big bonus is being able to configure your Rails apps from a web interface. When we launched kckcc.edu in January, we used Litespeed (purchased 2-cpu version) and were quite happy with it. Sean Andrew Klein wrote: Hello Ryan! Welcome to Radiant on Dreamhost! To sum it up, Dreamhost's support for Rails in general SUCKS. They run on a dynamic-count fcgi setup and they will not do anything to help you. After 2 months of back and forth with their support, they will not do ANYTHING to their default box setup. 'It's set up for a reason' attitude. Problem with Dreamhost is by default they put a cap on you for 200MB RAM usage, and as soon as you get --5-- processes running of Radiant or any slightly-heavier Rails script up, you will git that point and their process killer will ruthlessly start killing your processes; As well, I found if I got too fast of traffic with them, my CPU would spike HARD (From the dynamic fcgi launching) and it too then would kill the processes. For many sites, a fixed 2-process fcgi setup would do well, it cuts down on memory usage overall and you get some serious speed increases because you're not relaunching a process over and over (As soon as one of the 5 processes die down, it kills them too, with how DreamHost is set up) - I couldn't handle 500-600 visitors with DreamHost at all. Impossible. My site would be down for 40-50 minutes out of every hour, just because of apache taking a moment to respawn a ruthlessly-killed fcgi thread (s). I couldn't imagine trying to manage them with the 1500-2200 visitors I get daily now. Myself? I chose to host my own system. Rather than a dedicated box, I went for a VPS, which has been actually very rewarding, but let me tell you, getting a Mongrel cluster set up and optimized is a headache you may NOT want to partake in. If you don't want to manage your own hosting (As your email seems to point out) there are solutions, depending on the $ you're looking to spend. There are plenty of services, but the one that pops into my head is http://www.hostingrails.com/ - They offer cheaper fcgi (Which I likely wouldn't touch again due to the dynamic allocation issues I had on DreamHost), or starting at $9.79, you can go Mongrel or $13.98 and up for Mongrel Cluster. Just because it says 'Rails' on their features page, does NOT mean they have any clue how to run a Rails service. It's like saying 'Free diamond ring with any purchase!' and then giving you a plastic ring with a diamond chip taped to it. Anyways, hope this helps. Andrew Ryan Heneise wrote: What are your best experiences with web hosts for Radiant? Are there any hosts that are particularly Radiant-friendly? Where do you host your Radiant sites now? Are you happy with them? I'll start... I've been hosting several Radiant sites on Dreamhost, but I've been only marginally happy with the service. It tends to be pretty slow at times. I've had the best luck with my own server, which is a colocated Apple Xserve. I have full control over it, but it is a pain to manage, and I don't like being stuck with the full liability of hosting customers' sites _and_ email and all that goes with it. On the other hand, Xserve is an awesome environment for Rails/Radiant. And I'm really looking forward to trying Leopard server - it really seems ideal for this sort of thing. - Ryan ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] How do you migrate content between environments?
We've had to tackle this exact issue. Best we could do, which is by no means perfect, but does work is using the Linux version of SQLyog ( http://webyog.com/en/downloads.php ) and what we were able to do, is simply build it into all our deployment scripts so it's actually very automated for us. The part that sold me on SJA is the fact that it's very easily configurable so rolling it out across multiple servers was a breeze. Syncing between our dev and production databases works pretty damn well, only ran into a couple of issues that haven't seemed to be life or death anyways. Cheers, -- Travis Bell Not sent from my iPhone. On 30-Oct-07, at 3:29 PM, Chris Parrish wrote: Sean Cribbs wrote: Unless you can come up with a script to do it, any database content will have to be manually copied/merged Ewww. Has anyone made any progress out there on import/export? (I know it used to be in the list of core items to add to radiant). Having this basic functionality would allow someone to add on some sort of diff/sync extension that would work great for Richard here (and I suspect a *lot* of others, too). Oh, and before anyone asks, yes, I've thought about tackling it myself but I'm several projects (read months) from getting to that stage. -Chris ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Restricting user access to certain admin tabs...
Interesting little hack. I am curious, are their plans to do some basic access control stuff? Thanks! -- Travis Bell Not sent from my iPhone. On 26-Oct-07, at 7:13 AM, John W. Long wrote: Hans-Christian Fjeldberg wrote: In your extensions you can specify this by adding: admin.tabs.add tab name, /admin/path/to/tab, :visibility = :developer If you also want to change other tabs, you can add this: admin.tabs[tab name].visibility = [:developer] Or change :developer to :admin, if you only want the admin to be able to change whatever the name of the tab is, for example Pages. That will only hide the tabs. It won't prevent people from getting to the URL. He might try something like this on the controller in the activate method of an extension: Admin::ControllerName.only_allow_access_to( :index, :new, :edit, :remove, :when = [:admin], :denied_url = { :controller = 'page', :action = 'index' }, :denied_message = 'You must have admin privileges to perform this action.' ) -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Restricting user access to certain admin tabs...
Yes, an extension would be nice... maybe it's something we can look at doing. Thanks! -- Travis Bell Not sent from my iPhone. On 26-Oct-07, at 11:14 AM, John W. Long wrote: Travis Bell wrote: Interesting little hack. I am curious, are their plans to do some basic access control stuff? Beyond what we already have? Maybe. I'd love to see it extracted into a extension somehow so that the system could be replaced with whatever flavor your prefer. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Unpacking the gem?
Hey guys, We have an existing Radiant site (already in production) but would like to unpack the gem so we can make some tweaks to the routes and controllers. How can I go about doing this? I am just leery about making sure none of our existing extensions or custom stuff will be overwritten. Cheers, -- Travis Bell Not sent from my iPhone. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Restricting user access to certain admin tabs...
Hey guys, Is there a quick and dirty way I can make a certain user type (say developer) have access to certain tabs in the admin? We have some custom extensions we made that we'd like to give a customer access to but not the rest of the admin interface. Thanks, -- Travis Bell Not sent from my iPhone. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Blog tags or categories?
Hey guys, I couldn't find a definitive answer to this. Does such functionality exist with Radiant? Whether it be something I do with the Radiant tags, OR, an extension? Thanks! -- Travis Bell Not sent from my iPhone. ___ 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] Accessing sessions?
Thanks for posting this. I didn't see it before. -- Travis Bell [EMAIL PROTECTED] On 7-Sep-07, at 10:29 AM, Mark A. Yoon wrote: Edwin V.'s secure_pages extension works for me http://code.google.com/p/secure-pages/ in 0.6.2 in development mode with the cache fix as described by David Piehler http://www.ruby-forum.com/topic/116010 -- Mark A. Yoon Senior Web Applications/Software Engineer, Northwestern Radiology [EMAIL PROTECTED] On 9/5/07, John W. Long [EMAIL PROTECTED] wrote: Travis Bell wrote: This has been mentioned a couple of time it seems but we are finding it next to impossible to create and use new sessions with Radiant. Is this on purpose or something that wasn't quite realized until after the extension abilities were released? It's intentionally turned off. Radiant not really designed for Web sites that support user sessions. Several people have attempted to fix this problem, but I'm not sure of the results. I'd recommend that you search the list. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Accessing sessions?
Hey guys, This has been mentioned a couple of time it seems but we are finding it next to impossible to create and use new sessions with Radiant. Is this on purpose or something that wasn't quite realized until after the extension abilities were released? Thanks! -- Travis Bell [EMAIL PROTECTED] ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Password protect an area?
Hey guys, I am wondering if there's an extension that would allow me to setup different areas of the website that require authentication. I would be able to configure the users (and what areas are locked off and require access) in Radiant. Thanks, -- Travis Bell [EMAIL PROTECTED] ___ 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] Password protect an area?
Ya, we just wanted to have it integrated with the Admin UI, and I suppose we still could but we might end up writing one then. Thanks man, -- Travis Bell [EMAIL PROTECTED] On 4-Sep-07, at 11:11 AM, Aitor Garay-Romero wrote: I don't think so. In the past some threads on the subject suggested doing the authentication in the http server. Both apache and lighttpd allow it easily. /AITOR On 9/4/07, Travis Bell [EMAIL PROTECTED] wrote: Hey guys, I am wondering if there's an extension that would allow me to setup different areas of the website that require authentication. I would be able to configure the users (and what areas are locked off and require access) in Radiant. Thanks, -- Travis Bell [EMAIL PROTECTED] ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Using a dynamic sub-navigation...
OK, let's take a slightly different approach. Seems the best way I can get a dynamic sub-nav is by creating a new r:if_url for each section like this: r:if_url matches=/team/ r:find url=/team/ div id=subnav ul r:children:each lir:link//li /r:children:each /ul /div /r:find /r:if_url This work, albeit a little lame, but it's the best I can it seems we can do... here's one last question though... Is there a way I could add a way to detect if I'm on a selected page, then to say, add class=selected just like the r:navigation tag (the r:here option)? At first I thought it would be sweet to essentially embed the r:children tag inside the r:navigation tag (this would create a truly dynamic navigation) but it's not built to do this. Any other ideas out there? Thanks guys! -- Travis Bell [EMAIL PROTECTED] On 22-Aug-07, at 2:30 PM, Damien McKenna wrote: -Original Message- From: Travis Bell Sent: Wednesday, August 22, 2007 4:18 PM Subject: [Radiant] Using a dynamic sub-navigation... The general functionality works with r:children:each but once I go 2 pages deep, there are no sub pages so it breaks (obviously). r:find url=/articles/ ul r:children:each limit=10 order=desclir:link //li /r:children:each /ul /r:find That builds a menu of all of the children of the /articles/ page. Damien McKenna Web Developer The LIMU Company ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Markdown reference page has a typo...
Hey guys, Just noticed on the Markdown reference page, it has the syntax for H1 and H2's reversed. Heading 1 -- That will actually render an H2 tag, not an H1. LIke wise for the H2; Heading 2 That would render an H1. Cheers, -- Travis Bell [EMAIL PROTECTED] ___ 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] Using a dynamic sub-navigation...
What if, instead of having to hardcode the about page, it was possible for it to just pick up it's parent? Therefore making it truly dynamic instead of making it only dynamic for the about page? Any ideas? -- Travis Bell [EMAIL PROTECTED] On 22-Aug-07, at 2:30 PM, Damien McKenna wrote: r:find url=/articles/ ul r:children:each limit=10 order=desclir:link //li /r:children:each /ul /r:find ___ 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] Using a dynamic sub-navigation...
Heh, FYI in my last email, the hardcoded page should have been articles not about ;) My bad. -- Travis Bell [EMAIL PROTECTED] On 22-Aug-07, at 2:30 PM, Damien McKenna wrote: r:find url=/articles/ ul r:children:each limit=10 order=desclir:link //li /r:children:each /ul /r:find ___ 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] Current status of facets branch
Hey guys, Please excuse my naivety here, but what are the benefits to having facets-like modularity? Thanks, -- Travis Bell [EMAIL PROTECTED] On 20-Aug-07, at 8:33 AM, Jacob Burkhart wrote: So maybe procrastinating isn't the best word I first released this: http://dev.eyebeam.org/projects/radiant-partatts/wiki then this: http://dev.radiantcms.org/radiant/ticket/508 There's even this, demonstrating why I think we need facets-like modularity: http://demo.kupenda.org/ and http://demo.kupenda.org/admin/ (login: demo, password: radiant) This is not a trivial problem. We're talking about significant change to the inner workings of radiant to add a complete layer of view abstraction. This isn't something that is going to be submitted as a single patch, approved and just work. We need to weight in on all the possibilities and explore the benefits and drawbacks to each. So that's why I say, make some plugins. On 8/19/07, John W. Long [EMAIL PROTECTED] wrote: Jacob Burkhart wrote: I too have tried to contribute to the expansion, improvement, and re-integration of facets... twice now Really? Did you announce your updates here on the mailing list? If we miss something on trac, making a little noise about it here is helpful. What ticket are we talking about? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Current status of facets branch
Roger. -- Travis Bell [EMAIL PROTECTED] On 20-Aug-07, at 10:36 AM, Jacob Burkhart wrote: my reason for needing modularity: http://www.ruby-forum.com/topic/ 110943 On 8/20/07, Travis Bell [EMAIL PROTECTED] wrote: Hey guys, Please excuse my naivety here, but what are the benefits to having facets-like modularity? Thanks, -- Travis Bell [EMAIL PROTECTED] On 20-Aug-07, at 8:33 AM, Jacob Burkhart wrote: So maybe procrastinating isn't the best word I first released this: http://dev.eyebeam.org/projects/radiant-partatts/wiki then this: http://dev.radiantcms.org/radiant/ticket/508 There's even this, demonstrating why I think we need facets-like modularity: http://demo.kupenda.org/ and http://demo.kupenda.org/admin/ (login: demo, password: radiant) This is not a trivial problem. We're talking about significant change to the inner workings of radiant to add a complete layer of view abstraction. This isn't something that is going to be submitted as a single patch, approved and just work. We need to weight in on all the possibilities and explore the benefits and drawbacks to each. So that's why I say, make some plugins. On 8/19/07, John W. Long [EMAIL PROTECTED] wrote: Jacob Burkhart wrote: I too have tried to contribute to the expansion, improvement, and re-integration of facets... twice now Really? Did you announce your updates here on the mailing list? If we miss something on trac, making a little noise about it here is helpful. What ticket are we talking about? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] New pages and page parts...
Ya, on a small site I would use snippets as well, but we have one client in particular who's site has 50 some pages all with per custom footers and keywords... creating 100 different snippets sounds like a bit of a headache to manage :) Cheers, -- Travis Bell [EMAIL PROTECTED] On 26-Jul-07, at 2:07 PM, Kyle Daigle wrote: I accomplish most of this with snippets, but I guess in terms of having clients editing the page it would make more sense to move them into page parts. Thanks! I'd be interested in hear however anyone else is using them. On 7/26/07 1:05 PM, Travis Bell [EMAIL PROTECTED] wrote: We're using them for 2 primary reasons. 1) The obvious body and sidebar 2) For some SEO stuff... custom, per page meta keywords, footers etc... There could be other ways of doing this but this works incredibly well and have found it to be the best way our client can understand where to go to edit each element ie. keeps the body and sidebar areas pretty lean and less chance of them messing shit up :) Cheers, -- Travis Bell [EMAIL PROTECTED] On 26-Jul-07, at 1:57 PM, Kyle Daigle wrote: Could someone quench my curiosity and explain the format that would require 5 page parts (besides maybe for a custom extension)? I'm not sure I fully understand their usefullness and feel like I'm missing out. Thanks everyone. On 7/26/07 12:55 PM, Travis Bell [EMAIL PROTECTED] wrote: Hey guys, I was just wondering something about the way Radiant deals with page parts. If I create a new page, wouldn't it be nice if I could have it inherit the page above its parts? What I mean is, a project I am working on now has a solid 50 or so pages... the way this site is setup, we have 5 parts per page... going through, 1 by 1 is awfully painful. I kinda thought that's what the inherit option was for in the Layout drop-down but it doesn't seem to do this behavior. Thanks guys, -- Travis Bell [EMAIL PROTECTED] ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- Kyle Daigle DigitalWorkbox [EMAIL PROTECTED] C: 860.324.8173 ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- Kyle Daigle DigitalWorkbox [EMAIL PROTECTED] C: 860.324.8173 ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] New pages and page parts...
Hey guys, I was just wondering something about the way Radiant deals with page parts. If I create a new page, wouldn't it be nice if I could have it inherit the page above its parts? What I mean is, a project I am working on now has a solid 50 or so pages... the way this site is setup, we have 5 parts per page... going through, 1 by 1 is awfully painful. I kinda thought that's what the inherit option was for in the Layout drop-down but it doesn't seem to do this behavior. Thanks guys, -- Travis Bell [EMAIL PROTECTED] ___ 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] New pages and page parts...
Most excellent. I must have missed that tag option. Thanks, -- Travis Bell [EMAIL PROTECTED] On 26-Jul-07, at 2:05 PM, James Thompson wrote: This is possible already. In your layout call your part like this: r:content part=sidebar inherit=true contextual=false/ I do it a good deal myself. -James On Jul 26, 2007, at 3:55 PM, Travis Bell wrote: Hey guys, I was just wondering something about the way Radiant deals with page parts. If I create a new page, wouldn't it be nice if I could have it inherit the page above its parts? What I mean is, a project I am working on now has a solid 50 or so pages... the way this site is setup, we have 5 parts per page... going through, 1 by 1 is awfully painful. I kinda thought that's what the inherit option was for in the Layout drop-down but it doesn't seem to do this behavior. Thanks guys, -- Travis Bell [EMAIL PROTECTED] ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] New pages and page parts...
We're using them for 2 primary reasons. 1) The obvious body and sidebar 2) For some SEO stuff... custom, per page meta keywords, footers etc... There could be other ways of doing this but this works incredibly well and have found it to be the best way our client can understand where to go to edit each element ie. keeps the body and sidebar areas pretty lean and less chance of them messing shit up :) Cheers, -- Travis Bell [EMAIL PROTECTED] On 26-Jul-07, at 1:57 PM, Kyle Daigle wrote: Could someone quench my curiosity and explain the format that would require 5 page parts (besides maybe for a custom extension)? I'm not sure I fully understand their usefullness and feel like I'm missing out. Thanks everyone. On 7/26/07 12:55 PM, Travis Bell [EMAIL PROTECTED] wrote: Hey guys, I was just wondering something about the way Radiant deals with page parts. If I create a new page, wouldn't it be nice if I could have it inherit the page above its parts? What I mean is, a project I am working on now has a solid 50 or so pages... the way this site is setup, we have 5 parts per page... going through, 1 by 1 is awfully painful. I kinda thought that's what the inherit option was for in the Layout drop-down but it doesn't seem to do this behavior. Thanks guys, -- Travis Bell [EMAIL PROTECTED] ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- Kyle Daigle DigitalWorkbox [EMAIL PROTECTED] C: 860.324.8173 ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ 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] Question about the gallery extension...
Hi Andrea, Does it just set the inline width to the width value, or does it actually resize the image? What I am looking for is a genuine resize so that if a client uploads a 2000x2000 image, we don't have to be loading up 1.2MB every time it loads. Thanks, -- Travis Bell [EMAIL PROTECTED] On 19-Jul-07, at 6:01 AM, Andrea Franz wrote: Il giorno 19/lug/07, alle ore 02:51, Travis Bell ha scritto: Hey guys, I have a quick question about the gallery extension I was hoping someone could answer for me. Is there any way to have a resize option as well as the current crop? You can resize an image directly in you page code... If you want to resize an image with a max width of 200px you can write: r:gallery:item:thumb id=1 position=first width=200/ - Andrea Franz [EMAIL PROTECTED] http://bigchieflabs.com/blog/ http://think.bigchief.it ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Question about the gallery extension...
Hey guys, I have a quick question about the gallery extension I was hoping someone could answer for me. Is there any way to have a resize option as well as the current crop? (By the way, that ROCKS). Thanks! -- Travis Bell [EMAIL PROTECTED] ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant