Yii Framework Forum: one more layout question. - Yii Framework Forum

Jump to content

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

one more layout question. Rate Topic: -----

#1 User is offline   genady 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 04-July 10

Posted 07 July 2010 - 11:06 PM

Back to my layout topic. Sorry, still a bit fuzzy on the subject and need some help.

I copied column2.php from main site to my admin module. The file starts with following line:

<?php $this->beginContent('//layouts/main'); ?>

This uses the main.php form main site. How do I specify that I need to use file from admin's module layouts/ folder?

I tried all kind of things and nothing seamed to work.

Thanks
0

#2 User is offline   genady 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 04-July 10

Posted 07 July 2010 - 11:27 PM

never mind! I figured it out.
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