[typo] multiple blogs in typo ?

Dusty Jewett dusty.jewett at gmail.com
Sun Jan 1 09:44:08 EST 2006

Is there a possibility for a patch with all of this in it?

On 12/31/05, Sean Mountcastle <smountcastle at gmail.com> wrote:
> > The only issue I ran into was with ConfigManager ... the
> > ApplicationHelper.render_file method forces the ConfigManager to be
> > initialized (which causes it to reload settings) because it needs the
> theme
> > settings when configuring the search path.  I don't have a good solution
> > for this issue yet (I'd appreciate help from anyone on the list who
> knows
> > the ConfigManager well), but the workaround I did was to comment out
> > the call to reload in ConfigManager.initialize and modified
> > ConfigManager.reload to take an account parameter.
> I resolved my issue and now have settings/configuration info separated on
> a per blog basis. I had to modify every place where config was called so
> that
> the account id was passed in as well as the setting name.  In
> application_helper I modified config_value as follows and tried to use
> that
> where ever possible:
>   def config_value(name)
>     c = config(@controller.account)
>     c[name]
>   end
> The next issue I ran into was theme support, so that each blog was able to
> use its own theme.  I had to modify ThemeController, ThemesController and
> the theme model but it's still not quite working yet (from the HTTP GET
> requests it looks like it's looking for the themes in
> public/stylesheets/theme/).  I'll send mail once I get themes working
> for multiple blogs.
> Regards,
> Sean
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20060101/61d0cbf8/attachment.htm

More information about the Typo-list mailing list