用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1345|回复: 0
收起左侧

有熟悉fuel cms的吗

[复制链接]
发表于 2016-4-4 16:24:13 | 显示全部楼层 |阅读模式
我按照手册, 用ci原生的方法创建了一个控制器和一个视图
  1. class About extends CI_Controller {
  2.      
  3.     function About()
  4.     {
  5.         parent::__construct();
  6.     }
  7.      
  8.     function contact()
  9.     {
  10.         // set your variables
  11.         $vars = array('page_title' => 'Contact : My Website');

  12.         //... form code goes here
  13.          
  14.         // use Fuel_page to render so it will grab all opt-in variables and do any necessary parsing
  15.         $this->fuel->pages->render('about/contact', $vars);
  16.          
  17.          
  18.     }
复制代码


但结果提示
  1. Fatal error: Call to undefined function fuel_nav()
复制代码


这个fuel_nav 函数明明是fuel自动载入的,,怎么会找不到呢?

本版积分规则