Wiki

Articles tagged with "widget", sorted by ratingX
Displaying 1-4 of 4 result(s).

SEO-conform Multilingual URLs + Language Selector Widget (i18n)

Created about a year ago by c@cbaTutorials35 comments – viewed 19,871 times – ( +26 )
You have a multilingual application, and you want the URL of a page to be different for different languages, to account for SEO. The URL for the contact page for example should look like http://something.com/en/contact in english, and http://something.com/de/contact in german. This tutorial describes how to make it happen. Note that currently selected language is always a part of the URL, and thus available to the application through $_GET. You don't have to use sessions variables to keep track of the language if you don't want to.

How to create nice modal login widget with a CJuiDialog

Created 2 years ago by Igor IvanovicTutorials2 comments – viewed 28,499 times – ( +8 )
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Additional form data with XUpload

Created 7 months ago by AsgarothHow-tos5 comments – viewed 10,218 times – ( +5 )
In this article you'll learn how to send additional form data when uploading files using XUpload widget

Extending CJuiDialog

Created 10 months ago by dstudioHow-tos0 comments – viewed 5,211 times – ( +2 / -2 )
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution: