Wiki

Sorted by commentsX
Displaying 681-690 of 784 result(s).

Using Apostle.io to send formatted, trackable emails from Yii applications

Created 3 years ago by MikeTHow-tos0 comments – viewed 4,684 times – ( +1 / -1 ) – version 1.1
Apostle provides a nifty facility for sending app-generated, transactional emails from your application including Wordpress-like mail formatting and full tracking (delivery, opening, clicking etc.) of all emails sent. No need to set up email facilities on your app server!
tags: email, mail

Show raw SQL query

Created 4 months ago by dariooFAQs0 comments – viewed 7,550 times – ( +2 / -1 ) – version 2.0
Here's a quick tip to dump the SQL for query.

Using the jamselect widget with min and max values

Created 6 years ago by got 2 doodleHow-tos0 comments – viewed 10,546 times – ( +2 / -1 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

ACL and RBAC

Created 4 years ago by zeroByteHow-tos0 comments – viewed 18,795 times – ( -1 ) – version 1.1
This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obscure the fact that the underlying system is still ACL-based. In fact, the Business-Rules are just another layer in the permission-check plan.

How to make UrlManager createAbsoluteUrl work with sub-domains

Created about a month ago by Wade ShulerHow-tos0 comments – viewed 2,131 times – ( +1 / -1 ) – version 2.0
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.

Using the jqueryslidemenu plugin with CMenu

Created 6 years ago by Antonio RamirezHow-tos0 comments – viewed 32,926 times – ( +18 / -2 ) – version 1.1
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.

Extending CActiveForm for some form display fixes and language tweaks

Created 6 years ago by TrejderTips0 comments – viewed 16,961 times – ( +5 / -1 ) – version 1.1
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.

Alternative wildcard characters CDbCriteria

Created 4 years ago by maigretHow-tos0 comments – viewed 7,786 times – ( +3 / -1 ) – version 1.1
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $wildcard_chars to the method addSearchCondition to replace them if needed with standard SQL characters:

Yii and XAMPP server on Windows

Created 6 years ago by TrejderTutorials0 comments – viewed 60,838 times – ( +3 / -1 ) – version 1.1
This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.
tags: windows, xampp, server

Database Driven CMenu

Created 3 years ago by PreacherTutorials0 comments – viewed 4,555 times – ( -1 ) – version 1.1
Purpose