$posts = fuel_model('blog_posts', array('find' => 'all', 'limit' => 3, 'category'=>'announcements', 'order' => 'sticky, date_added desc', 'module' => 'blog'))
fuel_model is a wrapper for loading a model with parameters to fetch reco…
You enable that in your form_fields method, as you mentioned, setting:
$fields['attributes'] = array( 'type' => 'multi', 'mode' => 'multi', 'multiple' => true, 'sorting' => true, 'model' => array(STORE_FOLDER =&…
Not impossible by any means. I'd be happy to help if you have some clear "how the.. do I do?"
I'd suggest taking a look at the 1.0 branch if you've not done so already.
The user guide in that is better (some areas aren't yet complete), and the com…
FWIW I get the same error you see.
Changing to:
$CI->navigation_model->db->where_not_in('location', array('home','account','plan'));
Stops the error, but has no effect on the query ran by options list.
Another approach that does work:…
No worries.
The _remap was in answer to:
"we need a dynamic way to call the controller functions"
The _remap there will call a function of the same name as the $seg in your controller.
1.0 is quite stable. I have six projects in various stages o…
You may need to have a route for tools/index/$1. IE explicitly set the method to index.
Do you have this at the top of your model?
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_…
Have you a mod rewrite base in your htaccess file?
You may not need it. I usually set them up under localhost/projectx and need a rewrite base of projectx. Don't use the port.
Looking at the Zurb js, their menu isn't built to handle any more levels so the recursion above is overkill.
Also if you don't like that extra toggle markup there, it could be added dynamically with this one liner of jQuery:
$('.nav-bar .flyout').…
I just did this super quick so FAR from complete, but it works or at least the above examples:
$nav = fuel_nav(array('return_normalized' => true)); $menu = $this->menu->render($nav, NULL, NULL, 'array'); function render_links($data) …
True, classes are pain. Worse than the classes however is this extra markup:
IF the child ul didn't need the flyout class you could do this quite easily by adding 'class="has-flyout"' to the parent nav item(s) in…
I've used the the fuel_nav() with Zurb. Not the fly out yet however. Happy to look into that as it's likely to pop up for me very soon too.
Without Zurb, very easy to write a dropdown styled menu. I've used superfish in the past.
All that was nee…
You have these links created in the 'Navigation' and they are published?
I just did a quick test and this:
<?=fuel_nav(array('render_type' => 'delimited'))?>
for url http://localhost/test_project/home, outputs:
I'm on the same system as you, no problems.
Are you sure that RewriteBase is correct? Should be barbaraolive (or maybe even ~livvy/barbaraolive) no?
My paths don't look like yours though, I don't have the tilde part in mine..
It's because you're in a loop..
If your schema matches the format you want for your file you can just use:
$output = $this->dbutil->csv_from_result($query, ',');
Otherwise I'd rewrite what you have there with:
require_once('module.php'); …