Yes, of course you can. But keep in mind that this is not the point of the yii playground project and the right menu is only a way to keep the information organized in a ordered way.. so as I wrote:

Quote

imho, this makes the user interface "feature complete".. so now we can focus on contents

so feel free to join and provide some examples if you like; it doesn't takes a big amount of time. For me it took time to make the i18n example cause I had to create a component to handle some aspects that I didn't knew how to handle in other ways or it took some time for the right menu too (by the way.. note that this was also a css3 experiment so it won't look as good on internet explorer) but now that we have this things up, creating a small / simple example is a matter a few minutes once you get confident with the playground app. Then of course the app itself can be improved but right now is time to push on contents imho, and I've not a big amount of free time to put on this too so I can't make it "alone" and I hope that more people will join and actively provide small updates to this project. But of course also feedbacks and ideas are welcome. And by the way, thanks to guys who already helped and also scoob junior is going to provide a new example soon

samdark, on 23 July 2010 - 03:41 AM, said:

Virtual DarKness
RightMenu is a bit funny. Try moving mouse around it and it will keep sliding right and left for some time.

yep, I was aware of this but right now is not my priority anyway is quick to fix as is just a matter of setting a flag variable to check if the animation is running before starting the next animation / show-hide action. Anyway thanks for reporting this

PrplHaz4, on 23 July 2010 - 04:56 PM, said:

I'm not seeing this behavior in chrome 5.0.375...maybe a "standards" issue?

You can see it if you enable the auto hide of the menu and then move in and out the mouse over it

After upgrading Yiiplayground to Yii 1.1.3 and setting up the new widgetfactory property (default global prefs), our DatePicker example stopped showing the custom theme and always show the theme defined in the global prefs

$this->widget('zii.widgets.jui.CJuiDatePicker',
array(
...
/* optional: change visual
* themeUrl: "where the themes for this widget are located?"
* theme: theme name. Note that there must be a folder under themeUrl with the theme name
* cssFile: specifies the css file name under the theme folder. You may specify a
* single filename or an array of filenames
* try http://jqueryui.com/themeroller/
*/
'themeUrl' => Yii::app()->baseUrl.'/css/jui' ,
'theme'=>'pool', //try 'bee' also to see the changes
'cssFile'=>array('jquery-ui.css' /*,anotherfile.css, etc.css*/),
....

The reason for this is the rendered HTML code, which inserts both the global and custom css files in the view:

Hello all, I've just created and committed to repository a new demo about JuiProgressBar.. But it's still a very basic one though...
For the next step, I am intend to make it animated. Hope this can be helpful

“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

You are welcome and thanks for the video...
Yesterday, I just put the animated one... It's not something very complex actually. It just a progress bar with animated gif But I personally think this one is cool although we just apply a simple css to the widget...

Oh yes. by the way I've committed a CJuiDraggable too...
but it's still buggy for some reason...
1. Opera not working perfectly => It seems Jquery-UI draggable doesn't work perfectly on Opera itself. So that is not Yii's fault nor my fault
2. In second example, the box is supposed to be only draggable inside the gray box. But if I insist to drag it to the bottom of the page, it somehow can get out from the box

can anybody explain why the second one become like that? My code is like this :

You are welcome Giovanni..
About your problem, I've never used CArrayDataProvider yet but I can help to research for you...

Oh yeah, now I am intend to put a new demo for security topics. It's going about CHtmlPurifier, which is useful to prevent XSS (as has been explained in guide). Surely it's not a problem right if I start a new topic in the project (since the Security category still empty)?

“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Hi,
it's not a problem at all, you're welcome too And CHtmlPurifier is an interesting topic!

You should create a new module for it (for example "security").

Thanks a lot for your help.. the project is getting new life and I'm sure it will get even better as other new users will actively contribute! I really think this can be a big plus to help yii framework gain popularity and grow and also to attract new users as I don't remember other frameworks having a similar resource available

Because I want to try it(personally haven't try the CHtmlPurifier). So after post the last one. I've begun to make the demo.
After the demo is done, I thought why not commit it first. If there is something wrong we can still delete it
So that's why I've committed it~

“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

seems like must do some little hack in CArrayDataProvider in order it's sort function works. Maybe we must wait for next version (1.1.5) to hope it work normally. There is someone post their modified CArrayDataProvider at here : http://code.google.c.../detail?id=1653

By the way, I've just added CJuiSortable. As usual this is only the most basic sortable function. Hope somebody can add more advance demos.

“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein