I would like to load header using fuel_block(). I tried the following
<?=fuel_block(array('view'=>'_blocks/header'))?>
But it is missing design. Please let me know how to correctly use it.
I have routing.php as follows
$route['default_controller'] = 'articles'; $route['404_override'] = 'innerpage';
I get the following error:
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: fuel/Router.php
Line…
Anyway I am individually specifying now the pages for routing instead of $route['(:any)']='innerpage/'. But the issue is that each time I add a new category I have to modify the route.php file. I tried populating these pages from database but it is …
When I used the following
$route['fuel'] = 'fuel/login';
$route['fuel/(:any)'] = 'fuel/$1';
I am getting the dashboard. But not able to access modules I have created.
Thanks for the reply. I tried both but results in failure including header files associated with the flexicart module and other errors. Found that I have to load all the libraries, helpers etc. beforehand from the controller itself before calling t…
ok, i got the issue. I compared the Session.php from an older version of codeigniter. I found that in sess_destroy() the code is trying to do the following stuff which was not in the other version of Session.php
// Kill session data
$this->userd…
The integrated Flexi cart admin goes outside the frame. I want to display within the fuel cms admin screen on the right pane. I tried to render it this way.
$this->fuel->admin->render('demo/admin_examples/dashboard_view', $vars,Fuel_admin…
Ok, I finally got it working extending pagevariables model to create a model and using that, I am able to assign the content in the view itself. Please let me know how can I set a fuel var from the view? I am trying to set keywords and meta from my…
When I render the page this way, I am logged out of my account and shows the page with CMS data. (I use ion_auth for login managing users). I would like to display the required pages without a logout. For other areas, where there is no CMS data is …