It seems like I may have messed up something larger in trying to fix
the problem. Now the routing is not working to any of the
plugin_assets, below is the error I receiving. I haven't really
change much and I am not sure what I did to break this to this point.
Any ideas would be helpful.
Processing ApplicationController#index (for 127.0.0.1 at 2010-08-23
17:45:25) [GET]
ActionController::RoutingError (No route matches "/plugin_assets/
community_engine/stylesheets/screen.css" with {:method=>:get}):
-e:2:in `load'
-e:2
Rendering rescues/layout (not_found)
[4;35;1mSQL (0.0ms) [0m [0mSET NAMES 'utf8' [0m
[4;36;1mSQL (0.0ms) [0m [0;1mSET SQL_AUTO_IS_NULL=0 [0m
On Aug 23, 10:45 am, Chris <[email protected]> wrote:
> I was able to confirm the views are included (below is the output)
>
> >> puts ActionController::Base.view_paths
>
> themes/sipnslips_base/views
> app/views
> vendor/plugins/community_engine/app/views
> => nil
>
> Although, the issue I think I am having is the images and css files in
> the themes folder are not being included. The standard includes are
> being referenced on the page. Here is the link to the screen.css file.
>
> <link href="/stylesheets/theme/screen.css" media="screen"
> rel="stylesheet" type="text/css" />
>
> I don't know as if they are being loaded properly as this didn't work
> in Production or Development mode.
>
> Thank you for the quick response.
>
> On Aug 23, 9:36 am, Bruno Bornsztein <[email protected]>
> wrote:
>
> > CE's themes support works by adding your themes directory to
> > Rails' ActionController::Base.view_paths. You could try starting a console
> > on your server and checking that the ActionController::Base.view_paths array
> > includes your directory, i.e.:
>
> > $ ./script/console
>
> > >>puts ActionController::Base.view_paths
>
> > Make sure the output includes /themes/yourthemename.
>
> > Also, it's always good to check that your gem versions are the same on both
> > local and remote machines.
>
> > Thanks,
> > Bruno
>
> > On Mon, Aug 23, 2010 at 10:30 AM, Chris <[email protected]> wrote:
> > > I am in process of moving my hosting from Aptana to Engineyard and in
> > > the process the default theme I have created is not loading the
> > > correct files. All of the standard CE files (js, images, css) are
> > > still loading in both the development and production environments.
>
> > > Everything is working on my local machine but they fail to work on the
> > > remote server is either instance. Where do I start to look to see why
> > > the themes may not be working? I don't see any errors in the logs and
> > > I wasn't sure were to focus to see what the root cause may be.
>
> > > Any ideas?
>
> > > Thanks.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "CommunityEngine" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<communityengine%[email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/communityengine?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en.