Yiibooster

Hey Felipe…

Yeah, I am truly sorry for not including TbExtendedFilter on version 1.0.4, but I would like to write proper documentation for such widget, if not used properly, then it could lead into issues so I cannot just dropped there and I do not have much time nowadays really… very, very busy.

About your ideas, I would be more than please to check your proposals through a Pull Request in the github repository… looks like a nice one.

Best regards and I promise to include TbExtendedFilter in version 1.0.5. The work in progress branch should have it by today (no docs yet)

Antonio,

I am not sure if using a TbEditableColumn will work in my situation as I have a column for attributes which has a one-to-many relationship between the current row and the specific attributes for that type of row (of which the number of attributes will vary)

I have attached a example screenshot. 3542

Attributes.PNG

Any ideas?

David

I see your issue, this is what i would do: include the initialization of your TbEditableField into the afterAjaxUpdate property of the grid, that will also solve the problem.

@Antonio

want to know if widgets can include the CMultiFileUpload widget as a TbInput ,or should we manually layout this one :lol:

Antonio,

Any chance you could provide an brief example of what you mean? Also any plans to update editable to use X-Editables in a future release.

Thanks

David

I will implement the new X-Editable into Booster as soon as i have some free time…

Antonio,

i cant wait

great work as always

Hi.

Can somebody help me on this one?

Using a TbDatePicker, setting the display format for the date is easy.

But how to set the value format when it’s posted to the server?

Example: I want TdDatePicker to show the date as dd/mm/yyyy, but I want the date to be posted as YYYY-MM-DD.

Any ideas?

Thank you!

You can use AfterFind and BeforeSave methods from ActiveRecord models. Something like this, so you do the format conversions in the model code.

Thank you. I already played with that, but i wanted something more like CJuiDatePicker, which allows you to define a second hidden field with alternative format. I’ll use CJuiDatePicker instead.

I also tried ‘altFormat’ option of CJuiDatePicker but I couldn’t get it to work at that time. If you manage to get it working, would you please share the solution? and perhaps we can continue discussing the issue in this related topic, so we don’t go offtopic here.

Nevertheless, it would be a great addition for the TbDatePicker to include a ‘displayFormat’-like property (perhaps with a hidden field under the hood) to accomplish this task. I like the UI of the TbDatePicker more than that of CJuiDatePicker :) Who is the original developer so we can make the suggestion on this upstream component of YiiBooster?

Greets.

Tomsea, I commented something in the thread you mentioned.

[ENHANCEMENT REQUEST]: TbDatePicker Populate alternate field.

Add "altField/altFormat" feature to TbDatePicker.

JQuery datepicker has a nice feature that can be used to send database formatted dates to the server, so no matter which date format you’re using to show the date on the frontend, you always send the same date format to the backend, making handling of dates sent bby the frontend easier.

It consists on adding the altField/altFormat options to the config of the widget. The behaviour is as follows:

Every time the widget updates its field content, it also updates a second, hidden field with the date formatted as altFormat definition or if not defined, as the widget’s format.

I’m not very proficient on JavaScript programming, so I can’t help on developing this one. But I can help on doing testing.

Regards and good work!

TbBox actions dropdown button looks smaller then the "actions" button.

Tested in FF and Chrome.

Any guidance?

3554

CapturFiles-201212337_231264.png

Yes! make sure your document is of HTML5… try this





<!DOCTYPE html>

<html>

  <head>

...



Will do my best

Cool!

Thank you.

I would like to submit some contribution to the code.

How should I do that? Do you have a guide or instructions?

Thank you!

Would love to see your proposals: github.com/clevertech/yiibooster

Cheers

Hi! Many thanks for the great work with this one (obviously also to Chris)!

I’m trying to use the new form builder implementation (added abt. 1 month ago), but running into trouble there. I have a normal CForm setup, which works the way it should, but changing CForm to TbForm produces an error:

"CActiveForm and its behaviors do not have a method or closure named "textFieldRow".

Tried to track this one down, but still a little too newbie with Yii. :frowning:

One tip if anyone else is experimenting with the form builder, in your view you have to use


<?php echo( $form->render() ); ?>

instead of the tutorial suggested


<?php echo( $form ); ?>

Many thanks,

Timo