Re: [Radiant] MissingSourceFile in Admin/membersController#index
Hi, --- On Thu, Mar 26, 2009 at 9:23 PM, Cristi Duma wrote: | MEMBERS_ROOT - all the pages that have this as parent will require member | login. \-- So, how would I go about appending more pages to this list? I have now created a child page under "members" called "articles", and after login I get redirected to "members/articles/" page using this config/initializers/member.rb: MEMBER_LOGIN_PATH = '/members' MEMBER_HOME_PATH = '/members/articles' MEMBERS_ROOT = 'articles' Thanks for your replies, SK -- Shakthi Kannan http://www.shakthimaan.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] MissingSourceFile in Admin/membersController#index
I think probably you misunderstood the configuration MEMBER_LOGIN_PATH is the URL for the login form of your website. The site user will be able to login from this page MEMBER_HOME_PATH - is the default home for logged in members. The site user will be redirected to this page after he logs in. But this page is not necessarily the site home page. MEMBERS_ROOT - all the pages that have this as parent will require member login. My advice is to create a new test project... bootstrap the project, and choose the "styled blog" option. This option we used when we created the extension. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] MissingSourceFile in Admin/membersController#index
Hi, Following the original settings from: http://blog.aissac.ro/radiant/member-extension/ MEMBER_LOGIN_PATH = '/members' MEMBER_HOME_PATH = '/articles' When I create a page (after logging as admin) 'members', I am able to open the URL as http://localhost:3000/members, and it redirects to http://localhost:3000/articles after successful login. But, where and how do I create this articles page? After creating the home page (members), the "Create New Page" link has vanished from the admin login interface. SK -- Shakthi Kannan http://www.shakthimaan.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] MissingSourceFile in Admin/membersController#index
Hi, --- On Tue, Mar 24, 2009 at 6:09 PM, Cristi Duma wrote: | no 2: need to install the "fastercsv" gem \-- Thanks! After doing "sudo gem install fastercsv", I was able to open the members page after logging in as admin, and was able to create a new user. --- | no 1: the login credentials are always email and password, even though you | create some other attributes for a member. \-- I was able to login with the new members' e-mail and password. But, it says "Page not found" for URL http://localhost:3000/articles. I had created a page with title "home" (after logging in as admin), and then renamed it to "articles". SK -- Shakthi Kannan http://www.shakthimaan.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] MissingSourceFile in Admin/membersController#index
Don't have time right now to take a closer look, but.. no 2: need to install the "fastercsv" gem no 1: the login credentials are always email and password, even though you create some other attributes for a member. will look closer a little later if you can't make it work Cristi ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] MissingSourceFile in Admin/membersController#index
Hi, I am trying to setup member-extension with ruby1.8.6, rubygems1.3.1, rails2.3.2 (installed from rubygems), and radiant0.7.1 (installed from rubygems) on Fedora 10. Radiant with mysql5.0 is setup, and admin login works. I have done: git init >From this documentation: http://blog.aissac.ro/radiant/member-extension/ I have done: git submodule add git://github.com/rails/auto_complete.git vendor/plugins/auto_complete git submodule add git://github.com/mislav/will_paginate.git vendor/plugins/will_paginate sudo gem install mislav-will_paginate --source http://gems.github.com git submodule add git://github.com/Aissac/radiant-member-extension.git vendor/extensions/member Completed the rake tasks: rake radiant:extensions:member:migrate rake radiant:extensions:member:update Created the file config/initializers/member.rb having: === member.rb === MEMBER_LOGIN_PATH = '/members' MEMBER_HOME_PATH = '/home' MEMBERS_ROOT = 'home' REST_AUTH_SITE_KEY = 'foo' REST_AUTH_DIGEST_STRETCHES = 10 === END === I have commented the following in config/environment.rb: # config.frameworks -= [ :action_mailer ] I logged in as admin and created a home page having: === home page === Log in Email Password Remember me document.observe("dom:loaded", function () { flash.show('flash', 'notice') }) document.observe("dom:loaded", function () { flash.show('flash', 'error') }) document.observe("dom:loaded", function () { flash.show('flash', 'notice') }) === END === I have created a user account by logging into the admin page. 1. When I start the server using "ruby script/server -e development", and open URL as localhost:3000 I get the form page with e-mail address and password. But, user account is created with username and password? So, how to use this example? 2. Opening "http://localhost:3000/admin/members"; gives the following error message: http://shakthimaan.com/downloads/trash/members.html Appreciate any inputs in getting member-extension up and running, Thanks! SK -- Shakthi Kannan http://www.shakthimaan.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant