Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.
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:
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';
Appears to be what set_params() is doing anyway.
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.
$html = $t…
Are you using CI's email method in your sendemail()?
If so, $this->email->print_debugger() may have some info.
Read this too:
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…
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?
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…