Yii Framework Forum: default layout path - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

default layout path Rate Topic: -----

#1 User is offline   mithereal 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 66
  • Joined: 14-April 10
  • Location:The Radioactive Desert, AZ

Posted 15 April 2010 - 10:09 PM

i need to change the default layout path globally for an application, i am using Yii User Management Module and it is pointing to /views/layout as its fallback layout, what i want to do is change the default layout to /views/front/layout.
so what method/property can i change to affect this behaviour.
0

#2 User is offline   andy_s 

  • Random Member Title
  • Yii
  • Group: Moderators
  • Posts: 1,526
  • Joined: 22-June 09
  • Location:Russia, Kostroma

Posted 16 April 2010 - 12:00 AM

You have to edit the first line of /modules/user/views/layouts/column2.php:

<?php $this->beginContent('application.views.front.layouts.main'); ?>

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users