Some admin pages are stuck loading
I just installed Fuel and am every excited about its possibilities. I have installed Fuel on a site in a test directory called /test/. I am able to log in to the admin but when it loads everything loads except the dashboard area to the right just has two loading graphics sitting there. When I go to the some of the other links I get the same thing. Just a loading graphic and the page never loads. Any thoughts?
Thanks,
Mike
Comments
1. When giving a user the Manage Pages ability, is there a way to not allow them to create pages and only edit existing pages? Or at a minimum allow for their created pages to be in an unpublished status?
2. When setting up a new site what example code/files could be removed from the views directory and other areas to make it a clean install? Also, are there any required CSS, JS, etc that must he included in headers, footers? Is there is a tutorial that talks about this?If so just point me there, I couldn't seem to find it.
Thank you again!
Mike
With regards to what can be deleted from the views folder, you could potentially empty it out. However, I'd recommend leaving the following files so you can edit them for your needs and take advantage of things like layouts and blocks:
1. views/_layouts/main.php - main layout file
2. views/_blocks/header.php - your header file
3. views/_blocks/footer.php - your footer file
4. views/_variables/global.php - global variables to be passed to all pages
5. views/_fuel_preview.php - this is the preview view file you can use to customize how your previews look when you click the green checkbox in the markitup editor
With regards to the assets folders at the web root, I'd only recommend keeping the assets/js/jquery.js file (just because it's so common), however that could be removed too. The assets for the admin area are in their corresponding module folders (e.g. fuel/modules/fuel/assets).
The application/controllers/contact file can be removed (if you are using the 0.91 branch).
The helpers, libraries and hooks application folders I wouldn't remove anything... just add to them
Browser : Firefox 3.6.1
Platform : Windows : XAMPP, Firebug Installed
What can I do? It alw
1. Does your fuel/modules/fuel/config/fuel.php file have a line
'jquery/plugins/jquery.cookie',
Around line 151?2. If you view source on the page, do you see that plugin being included in the header of the page (that $.cookie jquery plugin is found in that file)?
From the source of the page there are three lines in the header that mention anything about cookie:
jqx_config.cookieDefaultPath = '/';
and the following line is listed twice
script src="/fuel/modules/fuel/assets/js/jquery/plugins/jquery.cookie.js?c=943948800" type="text/javascript" charset="utf-8
The other browsers show not error natively, I just know it isn't working because I have the spinning graphic.