actually I wanted to use multiple image on same field with comma seperated value. so I needed to upload multiple images and get the names of uploaded images and change the values.
all is done except the name to be stored on database.
I will try othe…
$this->debug_query();
shows the query 3 times.
On first query it does correctly and switched between yes and no of archived
on other two query it always shows archived=no
this also didn't worked. may be there is something else misconfigured.
Can you please check it from here
http://dl.dropbox.com/u/15106116/modules_invoice.rar
there are two modules:
-> group_access
-> invoice // this is mine module where the …
I have seen the navigation module but I cant do filter according to that.
I think I have to explain on detail:
I have orders which have field archived with datatype enum('yes','no')
by default on fuel cms on list_items it shows all data with optio…
ok thanks but that is not actually what I was asking.
I have edited my post and removed the code so that you won't confuse.
I am wanting to filter data of list_items on different methods as specified above.
I figured it out. The problem was solved using _remap. Here is what I have done incase other come to this difficulties.
here is the code:
public function _remap($method, $params = array())
{
if (method_exists($this, $method))
{
return cal…
yes. I have added "invoice" on config array
for temporary solution I added a method on modules/fuel/controllers/module.php
function print_item($id = NULL){
// actions here
}
still I am waiting for permanent solution on advanced custom mo…
I have done same like this and it gives 404 when 'PRINT' => fuel_url('invoice/orders/print_order/{id}')
but if I use: 'PRINT' => fuel_url('invoice/orders/print_order')
it works fine.
I am giving the whole structure of my site:
controller:…
Ok. I have now converted my module as advanced module and now I have problem on route.
I have added a route on my module as so: $route[FUEL_ROUTE.'invoice/orders/print_order'] = 'invoice/orders/print_order';
$route[FUEL_ROUTE.'invoice/orders/print…
I want to first add users on on_before_save hook of profiles_model and then take the inserted id and insert or update to profile table using foreign key user_id. $posted = $_POST
if (!empty($posted['profile']) AND !empty($values['id']))
{
$this->…
Thanks, it worked.
need a small help what i want to do is:
retrieve data from profile form and insert part of it to users form for login_name and password first and
take the insert id of users table and put it into profile table as user_id.
$_POST is $data, I have retrived data from a form and processed on controller so that it is on the format column = array key, value = array values.
on codeigniter there is a method which inserts such data with insert_batch.
now I only need to do i…
Ya I realize that and finally I found out a solution.
I added ajax_combo method on model and defined path by var path = jqx.config.fuelPath + '/education/students/ajax/combo/';
on myController.js
Thank you for your time.
FUEL cms is great.
I did this but it gives an error: The configuration file development/students.php and students.php do not exist.
on page: http://osms.kml/fuel/education/students/
and 404 not found error on http://osms.kml/fuel/education/
May be the problem is…
My controller students.php looks like this
<?php
require_once(EDUCATION_PATH.'/libraries/Education_base_controller.php');
class Students extends Education_base_controller {
function __construct()
{
parent::__construct();
}
function …
I have the same problem but i can't figure out.
I get this error:
Fatal error: Call to undefined method stdClass::save() in E:\wamp\www\project\fuel\application\core\MY_Model.php on line 1134
my classes_model.php
function form_fields($values = arra…