Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

dudel

About

Username
dudel
Joined
Visits
22
Last Active
Roles
Member

Comments

  • This is working too $rent = fuel_model('anunturi_rent', array('find' => 'all','module'=>'anunturi')); $vars=array('rent'=>$rent); $this->load->module_view('anunturi', '_blocks/rent_categories2',$vars);
  • So, I should use it somehow like this? Am I right? $CI->load->model('anunturi/rent_model','rent'); $rent=$CI->rent->find_all(); $vars=array('rent'=>$rent); $this->load->module_view('anunturi', '_blocks/rent_categories2',$vars)…
  • yeeeeee It`s working. Thank you for that. Probably I`ll have some more questions, but for now...I can go on with understanding fuel and testing what I`ve learned.
  • Just this: <?php $config['modules']['rent'] = array( 'module_name' => 'Rent', 'module_uri' => 'anunturi/rent', 'model_name' => 'rent_model', 'model_location' => 'anunturi', 'table_headers' => array( 'id', 'name', 'sl…
  • If I go to.. front end and type anunturi/rent i see the "test" . The error I got when I try to go to fuel/anunturi/rent in backend. P.S. I removed the word 'categories' from all the names of my files from the printscreen
  • and this is my controller <?php require_once(FUEL_PATH.'/libraries/Fuel_base_controller.php'); class Rent extends Fuel_base_controller { public $nav_selected = 'anunturi/rent'; public $view_location = 'rent'; function __construct() { …
  • this is my model : <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_module_model.php'); class Rent_model extends Base_module_model { public $record_class = 'Rent_category'; fu…
  • It still doesnt work.. now I got this A PHP Error was encountered Severity: Notice Message: Undefined property: Module::$model_name Filename: controllers/module.php Line Number: 79 A PHP Error was encountered Severity: Warning Message: Cann…
  • I guess it should be like this: $route[FUEL_ROUTE.'anunturi/rent_categories'] = FUEL_FOLDER.'/module'; $route[FUEL_ROUTE.'anunturi/anunturi/rent_categories/(.*)'] = FUEL_FOLDER.'/module/$1';
  • I also corrected the misspelling "s" after constant in anunturi_constant.php.
  • yes. I did
  • I can hardly wait to work with fuel cms at his fuel capacity . Thanks for your response.
  • I got 404 when i try to go to fuel/anunturi/rent_categories
  • can someone post an example of how to use fuel_block() please?
  • there was no problem at all. sorry