Hi All,

I would like to do some simple stuff like change colors, add a logo image,
etc.  I think i've done everything correctly but my layout changes are not
being picked up by Radiant.

Talking with Sean Cribbs this morning in #radiantcms I created an extension
and added an application.html.haml file via:
script/generate extension ModLayout
touch vendor/extensions/mod_layout/app/views/application.html.haml

In application.html.haml i pasted the contents of Radiant's default
application.html.haml with some tweaks to the footer as a test.

Upload loading up my app i see no change in the admin.  If i load a console
i can see the following:

ActionController::Base.view_paths
=> ["/home/itch/vendor/extensions/mod_layout/app/views",
"/usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/app/views"]

ActionController::Base.layout_list
=>
["/usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/app/views/layouts/application.html.haml"]


So looks like view_paths is picking up my extension path OK, but layout_list
has nothing in there. (Sean said it should).

I'm pretty new so if anyone has suggestions or thougts on what might be
wrong i would love to hear anything.

Thanks!
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to