Wiki

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

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

Created 3 years ago by MikeTHow-tos0 comments – viewed 4,934 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 8 months ago by dariooFAQs0 comments – viewed 14,847 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,856 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 5 years ago by zeroByteHow-tos0 comments – viewed 19,348 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.

Yii2 Report Grid

Created 2 months ago by Chris BackhouseTips0 comments – viewed 3,946 times – ( +3 ) – version 2.0
There are some very advanced grids in the Yii2 community, specifically Kartik's amazing gridview extensions but they all designed for interactive screen use.
tags: GridView, report

Using the jqueryslidemenu plugin with CMenu

Created 6 years ago by Antonio RamirezHow-tos0 comments – viewed 33,420 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.

How to get SEO friendly URL using Model and new getUrl() function

Created 2 days ago by shivHow-tos0 comments – viewed 390 times – ( +1 ) – version 2.0
We all need SEO friendly URLs for our projects. its not always good to call route with params so we can generalise it for all models using a common function.

Extending CActiveForm for some form display fixes and language tweaks

Created 6 years ago by TrejderTips0 comments – viewed 17,280 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 5 years ago by maigretHow-tos0 comments – viewed 7,984 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 62,270 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