Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

How to get current layout name?

edited May 2014 in News & Announcements
Hi, I want to get current page's layout name. I'm using `$this->fuel->pagevars->view()` to get all the variables. But it is always return 'main' as layout name

Comments

  • edited 3:06PM
    If the page is in the CMS, you can use:
    $this->fuel->page->properties('layout')
Sign In or Register to comment.