It looks like you're new here. If you want to get involved, click one of these buttons!
<h1 class="pageTitle"><?= fuel_var('page_title', '') ?></h1>
<?php if(fuel_var('page_title', '') != 'Order Online' && fuel_var('page_title', '') != 'Contact Us'):
echo "Test";
endif;
?>
$vars['page_title'] = 'Order Online';
$page_init = array('location' => 'order/orderonline_view');
$this->load->module_library(FUEL_FOLDER, 'fuel_page', $page_init);
$this->fuel_page->add_variables($vars);
$this->fuel_page->render();
// use Fuel_page to render so it will grab all opt-in variables and do any necessary parsing
$page_init = array('location' => 'contact');
$this->load->module_library(FUEL_FOLDER, 'fuel_page', $page_init);
$this->fuel_page->render();
Comments
What does work is the uri->segment.
Thanks