Just another nod for this approach, I used it to relate products to other products (and other things), EG:
public $has_many = array( 'products' => array( 'model' => array(STORE_FOLDER => 'products_model') ), 'categories' => …
Sorry, not personally, a few head starts below perhaps:
https://github.com/dwaynehale/LDAP-Auth
http://www.techrockdo.com/technology/ldap-authentication-with-codeigniter
http://php.net/manual/en/ref.ldap.php
http://ellislab.com/forums/viewthread/21…
That's odd. This is n 1.0?
Have your tried setting the public param like:
# after second load
$this->form_builder->submit_value = 'Convert';
$this->form_builder->render_divs();
Appears to be what set_params() is doing anyway.
Sorry I don't understand the problem.
I logged into the FUEL install with the link you provided, created a home and about page. All seems to be working on the link you provided.
$vars is undefined at this line:
$vars['body'] = $this->load->module_view('users', 'register',$vars, TRUE);
Seeing __fuel_marker__ happens when there's an error on the page that halts processing.
I recently had the same issue, most of my stuff is responsive. For this project I needed a mobile only approach (JQM).
I used a separate instance of FUEL under a subdomain and used the DSN property of the models to connect to the 'production' datab…
I don't think your config display_field is helping you with the label. That's used for displaying the name of the 'thing' you're editing in the fuel header and when deleting etc.
Just tested to be sure, with a numeric value as the second column and…
Have you loaded the library class with:
$this->load->library('email', array('mailtype' => 'html'));
Why are you using false to load the view? You need the view returned for use as markup/a variable for the email class.
Try:
$html = $t…
Hmm, I can't replicate that. I just changed:
<?=$post->excerpt_formatted?>
For:
<?=$post->get_excerpt_formatted(NULL, 'Boom')?>
And I still get the excerpt with a link of 'Boom'.
Are you using CI's email method in your sendemail()?
If so, $this->email->print_debugger() may have some info.
Read this too:
http://stackoverflow.com/questions/8350865/malformed-email-subject-header-when-subject-75-chars-using-codeigniter-…
To clarify, this functionality is available for fuel admin pages, not your own code/pages. Are you saying the pass forward behaviour doesn't work for you for a page such as /pages when your logged out?
The pass forward when logging in sets a redir…
You put that in your /fuel/application/config/MY_fuel.php config file. See the fuel.php in the fuel module for all the options you can potentially override.
It is used to pull in different dashboards.
First port of call will be the routes file in the config directory of the blog module.
I've only got 1.0 to hand (assuming you're on a lower version) and I can see that all blog uri's run through the base fuel/module controller.
The module.php con…
Not annyoing, don't sweat it.
The code I pasted above was an extension of method three so that goes in the Base_module_record bit of your model.
So the entire skelton of the model is:
<?php if (!defined('BASEPATH')) exit('No direct script ac…
There's no ORM. Closest to that (perhaps) is how your fuel forms are built by looking at the schema of the table. It use the field types and values (enum) to build forms.
Active record is used heavily. If there's a single file I suggest you look at…
So with that query you're wanting to get all the posts for a given category name right?
Method one:
Write the query out in full as you have. I've rewritten it to avoid the subquery.. $sql = ' select p.* from fuel_blog_posts p join f…
In your controller, you could set a flash message and redirect instead of loading a view?
$this->session->set_flashdata('error', 'No good'); redirect(current_url());
You could have your contact form as a block or straight in the layout too…