Hmmm... the issue with uninitialized constant SessionsController i
was able to resolve by moving
gem.config warden
gem.config devise
to environment.rb instead of the standard extension config block file.
Strange... but ok.
Now the issue I'm attempting to resolve is as follows:
When I attempt
the core Radiant developers on
this topic.
--
swartz
On Oct 5, 11:28 am, Wes Gamble we...@att.net wrote:
All,
I am wanting to build a fairly full featured login/registration system
for my Radiant end-users (content consumers, not authors or reviewers).
Obviously, Radiant does come with a built
Hi Wes,
Yeap pretty much.
On Oct 5, 6:36 pm, Wes Gamble we...@att.net wrote:
So you need to maintain two distinct sessions from one browser? Is
that right?
W
On 10/5/10 6:22 PM, swartz wrote:
I have a 0.9.1-based radiant install that uses a custom end-user auth-
system. It uses
I had a similar issue when I was moving extensions from dev-server to
production.
One of the issues was that I had a typo in the migration scripts and
one of the table fields was misnamed when migration was executed. So
when I attempted to retrieve data from it, it had that same error
regarding
from one auth. system when the user
logs in to the other, assuming that both logins don't need to be active
at the same time.
W
On 10/6/10 10:26 AM, swartz wrote:
Hi Wes,
Yeap pretty much.
On Oct 5, 6:36 pm, Wes Gamblewe...@att.net wrote:
So you need to maintain two distinct
Mmmm... Cocoa Butter
Goddamn spammers!
On Oct 7, 11:22 pm, Elaine Kintner elainekn...@gmail.com wrote:
Stretch marks on the stomach are a pregnant woman's worst nightmare.
Stretch marks are usually caused by a rapid stretching of the skin -
like during pregnancy or other periods of weight
I have a custom auth-system based on authlogic (based largely on
reader extension).
I have two roles: regular users and moderators.
I also have two extra pages types, one is for moderators only, the
other is for either.
Whats would be recommended way to require certain user role to access
a
Hey Wes,
Glad you got it working.
I shall be attempting to re-integrate devise into an ongoing project
as I've attempted earlier.
Just a few comments:
Step4: It now makes sense. I was not careful at looking at what gets
called and from where. This is where I gave up on my early attempt.
Thank
Hi Jim,
Thank you for your suggestions.
Forgot to mention using 0.9.1gem.
What are the changes that are going to happen in the next release?
On Oct 21, 10:23 am, Jim Gay j...@saturnflyer.com wrote:
On Wed, Oct 20, 2010 at 5:48 PM, swartz netv...@gmail.com wrote:
Anyone know what
What I've done so far is to use around_filter with process_page from
SiteController.
But I find that the login in this overwritten method is expensive as
it has to run and hit the database for every page.
Just seeing if there're better ways to do this.
I'm toying with the idea of caching the permissions, that is load them
all up and their permission from table into memory and keep them
there.
So it doesn't have to hit the database every time.
The good thing is there're only 200 pages and not 2,000.
On Nov 1, 3:53 pm, swartz netv...@gmail.com
css, js, and many others).
It's not hard, just time consuming and error prone.
My recommendation:
If you can, deploy radiant to a subdomain instead of a subdirectory.
For example to dictionary.yourdomain.com instead of yourdomain.com/
dictionary
--
swartz
On Nov 26, 12:35 am, Ahn Byungmo b
-layouts-extension
--
Swartz
On Jan 19, 9:18 pm, nx n...@nu-ex.com wrote:
I wanted to use ActionController like I always have, except render the
action with Radiant. So I wrote a gem that overrides render to take
instance variables and methods like params and flash from the
action and assign them
I recently took over support for a large website that uses Radiant.
Over 1000 pages and added/edited all the time.
The site has a sitemap page, which shows all of the available
resources.
The sitemap is generated using the navigation_tags extension:
r:nav root=/ depth=4 expand_all=true /
It
Unfortunately the site does change, almost on a daily basis.
The site averages about 5 new pages per week.
On Feb 12, 6:02 am, Mohit Sindhwani t...@onghu.com wrote:
On 11/2/2011 10:23 PM, swartz wrote:
If the site doesn't change too frequently and is managed by a very small
number of people
On Feb 11, 10:49 am, Anton J Aylward radi...@antonaylward.com wrote:
r:children:each order=asc
r:unless_content part=no-map
li
r:link /
/li
r:if_children
ul
r:snippet name=sitemapper /
/ul
/r:if_children
/li
Is there a better way to register an observer for a Radiant extension
than editing environment.rb?
I have tried adding extension_config block to my extension like so
extension_config do |config|
config.active_record.observers = :mymodel_observer
end
But that did not work.
Using Radiant 0.9.1, Ruby 1.8.7, Apache + mod_passenger in development
environment (for now).
I'm writing a simple extension, where I have a base controller class
that goes like this:
class Admin::BaseController ApplicationController
# allow only admins to the actions in this controller
18 matches
Mail list logo