Did you try using $CI instead of $this to load the second_menu:
<?php $CI->load->view('_blocks/second_menu'); ?>
Alternatively, there is a CI() function for those cases where the $CI variable doesn't exists and you want to save a line …
In your case, you specifically wanted it to pull from the cms, however, it's possible to just create a contact view file and have it work too. So in short, I probably won't.
I think I see the problem. Add the following to your $page_init variable in the controller:
$page_init = array('location' => 'contact', 'render_mode' => 'cms');
Let me know if that does the trick.
The CI object isn't passed to blocks by default at the moment (just pages). Seems like a good idea to do that though, so look for that in a future GIT push.
What is the fuel_mode set to in the fuel/application/config/MY_fuel.php file set to? For a view from the admin to show up, it needs to be set to "auto" (or "cms").
So are you on a different computer looking at the other computer's site or did you do a different setup on your other computer?
Where on your server is FUEL installed? If it's at the root of your web directory then the .htaccess that comes with FUE…
Is there possibly a file (like the helper or library that is being loaded) that has a space after a closing php tag? That can sometimes cause a similar error I think.
Use the HTML "code" tag for displaying code.
Not in an obvious spot. When you mouse over the "Location" field label it says it.
Contributions are always welcome. The easiest way is to do a pull request in GitHub:
http://help.github.com/send-pull-requests/
The fuel/modules/user_guide module c…
And in your index method you echoed out something correct? Do you have this problem with just a normal CI installation?
.... function index() { echo 'test'; } ...
You can create a menu either statically by creating a nav file or in the admin using the navigation module.
If you creating a menu statically, you can add to the nav file like so:
http://www.getfuelcms.com/blog/2010/12/12/learning-fuel-cms-part-2
…
The documentation comes with FUEL in the user_guide module so if you have any changes, the best and easiest way for me (but not so much for you), is to make any changes/fixes locally and do a pull request from GitHub:
http://www.google.com/search?cl…
You could create a page and associate it to a layout that doesn't include the header and footer. Layouts can be found in the fuel/applications/views/_layouts folder.
FUEL does not have password protection on a per page basis. However, a way around that would be to create a module that the user has access to. Then in your page, merge that information in.
No... you don't need to add it to the admin. Using Fuel_page will check first to see if a page is created in the admin (if the fuel_mode is set to 'auto') and if not, will proceed to look for a view file at the uri path location. It will also gather…
If you have no page in the admin with the location of 'aboutTest' It will look for a view file that matches the location path.
Variables can come from a few places here:
1. Your $vars variable in the index controller method
2. Any variables in the …