Title of the page

edited June 2012 in Modules
Hello, I want to know if have I way to add manually the page title, like <?=$title;?>?
Because my site is half cms, half views...
This fuel_var is stopping me...

Comments

  • edited 7:49AM
    If a page is created in the CMS, the default main layout has a page_title field that you can use like so:
    <?=$page_title?>
    If you are using a static view file, you can use the the following from within the view file:
    <?=fuel_set_var('page_title', 'My Page Title')?>
  • edited 7:49AM
    just bumping to say thanks.
Sign In or Register to comment.