[Radiant] Test/unit-ing an extension

2010-11-08 Thread Arthur Gunn
Hi, I'm using radiant 0.8.1 and trying to write some tests for an extension of mine within a big project. I'm just writing with test/unit and have some very simple stuff in place. When it comes to running the tests though I can't figure out how. I've tried the following commands: rake

[Radiant] Radiant and Refinery

2010-11-08 Thread Anthony Bouch
Hi all - new to Radiant and have been experimenting with the main site and extensions. Am I imagining things or does Refinary look a lot like Radiant? Is Refinary a fork of Radiant? Was just curious to know what the status of Radiant was - it looks great and I'd like to use it for our site. Is

[Radiant] Javascript issus driving me nuts!

2010-11-08 Thread Jeff Casimir
Hey all, I'm struggling with a Javascript issue. I'm running vendored Radiant edge and when I view the page form, I see this: http://img.skitch.com/20101108-g75cc923u2kpxh37fk7k1d7tru.png Whatever script is supposed to hide upper details interface and overlay the tabs isn't working. Here's

[Radiant] Re: Javascript issus driving me nuts!

2010-11-08 Thread Jeff Casimir
://img.skitch.com/20101108-g75cc923u2kpxh37fk7k1d7tru.png Whatever script is supposed to hide upper details interface and overlay the tabs isn't working.  Here's the javascript error: http://img.skitch.com/20101108-xrtbj6gr443wuju9tfn2t2cfk9.png I don't know anything about Prototype, so I'm

Re: [Radiant] Displaying Recent Articles

2010-11-08 Thread Joel Oliveira
It's built in. r:find url=/news!-- or blog, articles, whatever -- ul r:children:each order=asc limit=20 li pr:link //p p class=excerptr:content part=excerpt //p /li /r:children:each /ul /r:find This is off the top of my head so I'm not 100% sure that will work. But it's

Re: [Radiant] Displaying Recent Articles

2010-11-08 Thread Joel Oliveira
You should probably look at some documentation. For starters: https://github.com/radiant/radiant/wiki/Radius-Tags http://radiantcms.org/blog/archives/2006/05/11/tag-primer/ And my example was based on the assumption you had a page part for all your articles/posts called excerpt. If you don't

Re: [Radiant] Displaying Recent Articles

2010-11-08 Thread Rachel Soma
Use a page part and call that if you want to choose the excerpt or you can use truncate https://github.com/saturnflyer/radiant-truncate-extension to take the first X characters from the article and, well, truncate them. -- Rachel On Tue, Nov 9, 2010 at 9:19 AM, Obi ezi...@gmail.com wrote:

Re: [Radiant] Displaying Recent Articles

2010-11-08 Thread Obi
Sweet, thanks Rachel, I'll definitely check out that extension. So far I've gotten the following code to do what I want: r:find url=/articles ul class=list2 r:children:each order=asc limit=20 li h3r:title //h3 p class=excerptr:content part=excerpt //p pa href=r:url /Read

[Radiant] Re: trouble running rake for custom extension

2010-11-08 Thread Guilherme Costa
Tobi, This line did the trick here: gem install rspec -v=1.3 It will install the version 1.3 of RSpec, the one needed by the spec/rake/spectask! Regards, Guilherme Costa -- Posted via http://www.ruby-forum.com/.

[Radiant] Digg alike extension?

2010-11-08 Thread ReK2GnuLinux
is there any extension to have articles/post with voting? like digg or similar? Thanks

Re: [Radiant] Pull articles from multiple sources

2010-11-08 Thread john muhl
On Mon, Nov 8, 2010 at 6:49 PM, Jordon Bedwell jor...@envygeeks.com wrote: Is there a way to pull archives from multiple urls, something like: r:aggregate urls='/a; /b; /c'.../r:aggregate check the in page tag reference for more aggregate tags (if you're on 0.8 install the radiant/aggregation

Re: [Radiant] Pull articles from multiple sources

2010-11-08 Thread Jordon Bedwell
On 11/08/2010 06:58 PM, john muhl wrote: On Mon, Nov 8, 2010 at 6:49 PM, Jordon Bedwell jor...@envygeeks.com wrote: Is there a way to pull archives from multiple urls, something like: r:aggregate urls='/a; /b; /c'.../r:aggregate check the in page tag reference for more aggregate tags

Re: [Radiant] Displaying Recent Articles

2010-11-08 Thread Rachel Soma
Either make sure that only pages you want pulled in are under the url you're pointing at (why is your contact us page under /articles ?) or look into featured pages https://github.com/saturnflyer/radiant-featured_pages-extension to select particular pages for display only. -- Rachel On Tue, Nov

Re: [Radiant] Displaying Recent Articles

2010-11-08 Thread Jim Gay
I'm about to announce a re-release of featured_pages, but that's not what you want here. I'm not sure why you have a 'contact us' page under articles, but you might have your reasons. Using featured_pages would require a lot of manual labor. What you want is for it to be automatic. Just use the

Re: [Radiant] Re: Using Devise as an authentication solution for end users with Radiant - updated

2010-11-08 Thread Enrico Teotti
Hi, thanks a lot for your post. Did you have to run: ruby script/generate devise_views or did you manage to add the views to the load path? Without those views inside the extension I am getting a Template is missing when I submit the forgot password for example. Ta, enrico