Questions tagged [yii-booster]

YiiBooster is a collection of widgets that will ease the task of developing Yii applications, as well as, giving an application a little boost.

YiiBooster is a collection of widgets that will ease the task of developing Yii applications, as well as, giving an application a little boost. Basically, YiiBooster tackles the most common challenges that Yii developers face while trying to enhance their applications.

Information from: http://yiibooster.clevertech.biz/

92 questions
0
votes
1 answer

Yiibooster TBSelect2 not displayed

In my view I have this code: echo $form->select2Row($model, 'Zustelladresse', array( 'asDropDownList' => false, 'options' => array( 'placeholder' => "Zustelladresse", 'width' => '100%', …
toredo
  • 51
  • 3
0
votes
1 answer

How to turn off sortable rows in Yiibooster gridview

I'm pretty new to Yii with Yii-bootstrap and I can't figure out why my table is still sortable. I have an almost clean installation of Yii and I follow the instructions on the Yiibooster website for installing the booster. To kickoff my application…
Thomas Croonen
  • 168
  • 1
  • 2
  • 11
0
votes
0 answers

how to force TbToggleColumn to use validation rules?

I'm using TbExtendedGridView from Yii Booster. My 'status' column is defined as TbToggleColumn. array( 'name'=>'status', 'class'=>'bootstrap.widgets.TbToggleColumn', 'toggleAction' => 'Artykul/toggle' ), In my model…
jantom
  • 21
  • 1
  • 3
0
votes
1 answer

custom yii navbar keeps login out

i am trying to add a custom bootstrap navbar to my site using yii-booster. But instead of using the yii-booster api to generate a navbar, i just used the basic bootstrap framework way. which visually works fine, but for some reason everytime i try…
user2636556
  • 1,905
  • 4
  • 32
  • 61
0
votes
1 answer

Getting the value of TbSelect2

how to get the value of bootstrap.widgets.TbSelect2 display in array.. heres my code: $employees = Employee::model()->findAll(); $ctr = 0; $emp = ''; foreach($employees as $emps){ $emp[$ctr]=$emps['id'].". ".$emps['lastname']."…
Daphnne
  • 116
  • 1
  • 1
  • 12
0
votes
1 answer

Create New row using bootstrap widgets TbSelect2

Hello I am using bootstrap.widgets.TbSelect2 in Yii. You can see this link to check my form. https://www.diigo.com/item/p/qoaqepdzbsbbaqeqdzbcbrsdpa/bc91ebd999371bef68737b8320afed91 How to add the data in TbSelect2? thank you.
Daphnne
  • 116
  • 1
  • 1
  • 12
0
votes
0 answers

add badge to TbMenu in yiibooster

i want to add extra static html tag in TbMenu in NavBar Like This : $this->widget('bootstrap.widgets.TbNavbar', array( 'type' => 'inverse', 'brand' => 'company', 'brandUrl' => Yii::app()->getHomeUrl(), 'collapse' => true, 'items' => array( …
Araz Jafaripur
  • 927
  • 2
  • 12
  • 32
0
votes
1 answer

Rename label in YiiBooster ckEditorRow

How do I rename a ckEditorRow panel as highlighted below. I guess its taking the name from the passed in value (in this case 'subject'). I'm trying things like below but getting nowhere $form->ckEditorRow($subject,'subject',array('options' =>…
giles
  • 823
  • 3
  • 12
  • 25
0
votes
0 answers

Javascript Not Working in Modal Window With Render Partial (Yii)

I implemented a modal with its content rendered using renderPartial(). However, when I try to call a script inside the modal window (e.g $.blockUI), it doesn't work at all. No errors though. This is how I rendered the content: echo…
jackeblagare
  • 407
  • 7
  • 21
0
votes
1 answer

Yii populate a dropdown on select of another

I have a dropdown that I want to populate when an item in another dropdown is selected. Both the dropdown are tied to data/model passed on from controller. and the first dropdown is populated from DB by calling a function in the model. Heres' the…
redGREENblue
  • 3,076
  • 8
  • 39
  • 57
0
votes
1 answer

YiiBooster TbMenu adding the class active dynamicaly

I've created Yii Bootstrap TbMenu.How can I dynamically add the active class? $this->widget('bootstrap.widgets.TbMenu', array( 'type' => 'list', 'items' => array( array( 'label' => 'Home', …
Arash K
  • 13
  • 1
  • 8
0
votes
2 answers

Readmore link in GridView

I am using gridview to display a set of data. Everything works fine except I don't have any clue on how to implement a read more link within the gridview. Below is the code for the view, I am using Yiibooster TbGridView, but code should be almost…
redGREENblue
  • 3,076
  • 8
  • 39
  • 57
0
votes
2 answers

yii booster checkbox doesn't show boxes to check

I add the checkbox functionality from the yii-booster. But the widget renders the model view without the needed boxes. What's wrong? Widjet code in…
Igor Savinkin
  • 5,669
  • 8
  • 37
  • 69
0
votes
1 answer

Anchor links inside table widget

Using yii-booster, I want to create a pretty simple table. The data is completely valid and works just fine using this: $gridDataProvider = new CArrayDataProvider($model->results); $gridColumns = array( array('name'=>'score',…
rannmann
  • 308
  • 2
  • 8
-1
votes
1 answer

Jquery Model dialog close

How is it possible to force the jquery popup box to close only when CLOSE button is clicked? Here is the code. jQuery('#myModal').modal({'show':false}); Now its also closing when clicking outside of the Model Box. Extension :…
dev1234
  • 5,376
  • 15
  • 56
  • 115