Re: [Radiant] Drag and drop reorder extension

2008-01-26 Thread Mario T. Lanza
> Would you mind posting a link instead, please? No problem. http://www.ruby-forum.com/attachment/1309/reorder.zip -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mai

[Radiant] Helper code for logging loaded extensions

2008-01-20 Thread Mario T. Lanza
I am working on a custom project and developing my own extensions and plugins. Additionally, I am integrating third party extensions into my Radiant site. Periodically, these custom or third party extensions have issues that prevent the application from properly loading, particularly when uploadi

Re: [Radiant] Drag and drop reorder extension

2008-01-16 Thread Mario T. Lanza
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 > interes

Re: [Radiant] Reorder extension - buggy?

2008-01-15 Thread Mario T. Lanza
Hi Naohiro, Actually, I preferred the former reorder extension with the drag and drop interface. I modified it to work with the shards extension. Mario Attachments: http://www.ruby-forum.com/attachment/1309/reorder.zip -- Posted via http://www.ruby-forum.com/. ___

[Radiant] Reorder extension - buggy?

2008-01-12 Thread Mario T. Lanza
I am having trouble with the recent version of the Reorder extension. The one that uses the 4 icons via shards. The old, drag-and-drop version was working fine. Has anyone else noted this as an issue? When I try to move a page, it has unpredictable results. They don't seem to properly relocate.

Re: [Radiant] Overriding login route?

2008-01-12 Thread Mario T. Lanza
> What about defining your own user_login_url method on LoginSystem? That's exactly what I did. See the top of the thread. What I'm trying to avoid is substituting an entire method override for "authenticate" in my extension. I didn't actually modify the LoginSystem file that comes with radi

Re: [Radiant] Overriding login route?

2008-01-12 Thread Mario T. Lanza
The obvious approach didn't work... define_routes do |map| map.login 'user/login', :controller => 'user', :action => 'login' end -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://rad

[Radiant] Overriding login route?

2008-01-12 Thread Mario T. Lanza
I want to substitute my own login screen to the user so that upon a failed page access the user doesn't get redirected to the admin/login screen. I don't want the user to see the radiant backend. To do so, and it works, I overrode the LoginSystem in the following fashion: module LoginSystem prot

Re: [Radiant] Partial Caching - Extension Idea

2008-01-11 Thread Mario T. Lanza
Good points, Sean. As I have time I will investigate your suggestions. Thanks for the feedback! -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ S

Re: [Radiant] Standard Rake Install/Uninstall Tasks for Extensions

2008-01-11 Thread Mario T. Lanza
> Why not put those tasks in the generated Rakefile and just have them > do nothing by default? My sentiment exactly. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/

Re: [Radiant] Standard Rake Install/Uninstall Tasks for Extensions

2008-01-11 Thread Mario T. Lanza
> > task :install => [:migrate, :update] > > task :uninstall => :cleanup do > ENV['VERSION'] = 0 > migrate > end Additionally, the cleanup should handle removing the files copied to public. If the files are indeed copied and not moved, then programmatically reversing this should be a cinc

[Radiant] Partial Caching - Extension Idea

2008-01-10 Thread Mario T. Lanza
In the Radiant-based application I'm developing, it is necessary to dynamically generate pages rather than allow for caching. The frustrating part of this is that for most pages the majority of the page is static content. Only bits of the page are dynamic. Nevertheless, this requirement necessit

Re: [Radiant] Standard Rake Install/Uninstall Tasks for Extensions

2008-01-10 Thread Mario T. Lanza
Added a tiny section called "Standard Rake Tasks" to: http://wiki.radiantcms.org/Creating_Radiant_Extensions -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-lis

Re: [Radiant] Woes of read-the-code documentation

2008-01-09 Thread Mario T. Lanza
I've spent a little time with Netbeans 6.0 and it is definitely looking sharp. The best Ruby environment I've seen. Very nice interface that's not too busy. Debugging support looks great at first glance. -- Posted via http://www.ruby-forum.com/. __

[Radiant] Easy extension installs

2008-01-09 Thread Mario T. Lanza
I'm relatively new here, so I'm just throwing out an idea. But I note that lots of extensions have a task for moving their public files to the relative locations in the public folder as part of the install process. I guess I'm wondering if simplifying this by dropping a symlink (or a copy if syml

[Radiant] Standard Rake Install/Uninstall Tasks for Extensions

2008-01-09 Thread Mario T. Lanza
I considered adding a recommendation to the Creating Extensions Tutorial, but not wanting to offend, I thought I might run the idea past people first. I'm wondering if developers think it's useful to have standard rake tasks for installing/uninstalling extensions. For example: :radiant:extension

[Radiant] Frog

2008-01-07 Thread Mario T. Lanza
I'm surprised to see no mention of Radiant's PHP counterpart: Frog. Anyway, compliments again to John. Radiant is obviously "good stuff" to warrant a port. I look forward to seeing how Frog develops and the PHP gang will probably have some good ideas too. http://www.madebyfrog.com/ -- Posted vi

Re: [Radiant] Woes of read-the-code documentation

2008-01-07 Thread Mario T. Lanza
> Have you tried Netbeans 6? It's as good as Visual Studio given the > limitations of a dynamically-typed language. The last time I checked Netbeans wasn't ready, but that was a while ago. I'll soon look at it again, thanks. -- Posted via http://www.ruby-forum.com/. __

Re: [Radiant] Woes of read-the-code documentation

2008-01-05 Thread Mario T. Lanza
I apologize for coming across a little harsh. No disrespect intended to anyone. :) -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http:

[Radiant] Woes of read-the-code documentation

2008-01-04 Thread Mario T. Lanza
Recently I ran into an terrible bug. While working in my Radiant site on my local machine and navigating thru my Radiant site, suddenly the after one click too many the styling of the site went away. After a few minutes I discovered that the contents of my entire "public" folder were deleted. Th

[Radiant] How to: Dynamic Pages

2007-08-08 Thread Mario T. Lanza
I've seen a few people ask about creating dynamic pages. Usually, this comes into play with custom extensions whereby the goal is generate user-specific pages. That is, the page is different each time a person visits it. I'm relatively new to Rails/Radiant/Ruby, but I am attempting to build a ch

Re: [Radiant] caching

2007-08-08 Thread Mario T. Lanza
> On every consequent page request ResponseCache is created again, but > with original defaults as specified in > radiant-0.6.2/app/models/response_cache.rb. I avoided this by adding this line to the "activate" def of a custom extension: ResponseCache.defaults[:perform_caching] = false

Re: [Radiant] Installation issue

2007-07-16 Thread Mario T. Lanza
Are people continuing to have this issue? I am getting the same error. I have installed Radiant at least 4 times on my machine over the past few months and have not gotten this issue until recently. Now I am completely frustrated by it. Create the admin user (press enter for defaults). Name (

Re: [Radiant] Radiant integration with another Rails app?

2007-05-30 Thread Mario T. Lanza
> I'm also very interested in allowing Rails pages to leverage Radiant > layouts, and that is the next thing I plan to work on. I'm very happy to see this project forming. After tossing around many ideas for integrating custom Rails views within a Radiant site, I've formulated a pattern. I sim

Re: [Radiant] RecordTags extension

2007-05-30 Thread Mario T. Lanza
Thanks, Luca. I will investigate this for integration for the next release (when time permits). Mario -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/sea

Re: [Radiant] RecordTags extension

2007-05-21 Thread Mario T. Lanza
Note: minor updates will be forthcoming. I you are using this extension, check back for the latest version. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-l

Re: [Radiant] Front-end Extensions?? need help

2007-05-20 Thread Mario T. Lanza
John, I really do get Radiant's intended use--that it's a CMS for designers and developers and nothing complex like Drupal and Zope. I'm a huge proponent for simple, non-bloated software. I hate when the base install of anything has dozens more features than I ever intend on using. (For exam

Re: [Radiant] Front-end Extensions?? need help

2007-05-20 Thread Mario T. Lanza
I totally get your positions and I like that Radiant is geared toward those camps. It's just that those are the people who are seemingly wanting to combine it with custom Rails pages and are asking about the best practices concerning it. One there is a model way for accomplishing this, the sk

Re: [Radiant] Using Plugins in Extensions

2007-05-19 Thread Mario T. Lanza
I'm still a relative Ruby/Rails/Radiant rookie; however, that's what I've been doing. I basically ask myself, "Do I want this plugin affecting all Radiant instances or just the one instance?" That answer determines where I put it. Using the root helps with staying DRY. -- Posted via http://

Re: [Radiant] Front-end Extensions?? need help

2007-05-18 Thread Mario T. Lanza
That is good to hear! I worried that Radiant might be left in the CMS-only camp. Even though a majority of the sites I are content at heart there are inevitably custom needs that beckon Rails to step in. At the same time, it's a little troubling to have to leave Radiant behind since it provid

Re: [Radiant] Front-end Extensions?? need help

2007-05-18 Thread Mario T. Lanza
Ok... so I've figured out that creating front-end extensions isn't really too difficult. There's just one missing piece. Grabbing a Radiant layout and plugging it with my view. If this could easily be done I think many people's problems would be answered, mine included. Any ideas for pulling

Re: [Radiant] Front-end Extensions?? need help

2007-05-18 Thread Mario T. Lanza
Minutes later I discovered all I needed to add was "no_login_required" to the UserController. Nevertheless, I'm sure I'll have other issues... :) -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org

[Radiant] Front-end Extensions?? need help

2007-05-18 Thread Mario T. Lanza
I have started with an extension that defines a route that is supposed to be visible only from the front-end of my Radiant site. It provides a user authentication screen much like the back-end authentication screen and saves the user in a session. (Already disabled SiteController "sessions :off"

Re: [Radiant] Using Radiant to handle part of a site?

2007-05-18 Thread Mario T. Lanza
Dan, Thanks for the direction. I'll see what I can do... still relatively green with Radiant/Rails/Ruby. Mario -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailin

Re: [Radiant] accessing params[] inside a tag

2007-05-18 Thread Mario T. Lanza
I have made my extension available. See: http://www.ruby-forum.com/topic/108491#247243 -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: ht

[Radiant] RecordTags extension

2007-05-18 Thread Mario T. Lanza
Some of you had indicated an interest in my not-yet-mature extension for rendering models. Basically, it allows you to use Radius tags to display records from your Radiant database. Obviously, this is most useful if you've created custom models and the back-end interface (an extension) to maintai

Re: [Radiant] Page attributes extensions problem with installation

2007-05-17 Thread Mario T. Lanza
I also tried to make use of the page_attributes extension and ran into issues. I will look forward to the port. :) ~Mario -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantc