Yii Framework Forum: Yiiboilerplate: Access Yiibooster Components From Fe - Yii Framework Forum

Jump to content

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

Yiiboilerplate: Access Yiibooster Components From Fe accessing YB compenents from Front End Rate Topic: -----

#1 User is offline   Stefano Mtangoo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 259
  • Joined: 02-January 12
  • Location:Dar es Salaam, Tanzania

Posted 14 May 2013 - 04:17 AM

Hi,
I'm using YBPlate and it includes YiiBooster. I want to access components of YiiBooster in FE just as I can access them on Back End. I have tried anything I could including alias like common.bootstrap.widgets.TbActiveForm but I cannot find it. I get error saying

Quote

Alias "common.bootstrap.widgets.TbActiveForm" is invalid. Make sure it points to an existing PHP file and the file is readable.


I have run out of Ideas and I need help.
regards,
Stefano
And God said, Let there be science...and it was so!
Training Manager Written in Yii here
0

#2 User is offline   Stefano Mtangoo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 259
  • Joined: 02-January 12
  • Location:Dar es Salaam, Tanzania

Posted 14 May 2013 - 05:18 AM

I found it,
Just add to config in FE

 
/* load bootstrap components */
'bootstrap' => array(
    'class' => 'common.extensions.bootstrap.components.Bootstrap',
    'responsiveCss' => true,
 ),

And God said, Let there be science...and it was so!
Training Manager Written in Yii here
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