Showing 41-60 of 826 items.

How to customize your grid columns visible and order by user themselves

Created 9 years ago by Scott_Huang Scott_Huang, updated 9 years ago by Scott_Huang Scott_Huang. 0 comments

The export to excel function will affected by the final resorted columns in case you use my export grid to excel extends hzlexportgrid too, Since that export extention just depends on the grid columns configs, and that columns been customized by user themselves just now.

0 0
1
Viewed: 28 221 times
Version: 1.1
Category: How-tos

REST API and null values in XML

Created 9 years ago by marko60 marko60, updated 9 years ago by marko60 marko60. 0 comments

I have been working on a REST API using the excellent tools provided by Yii2. My problem was that I have to differentiate between empty values and null values. In other words, <elem></elem> is different from null as it represents an empty string. Also, although some use <elem/> to represent a null value it should still be interpreted as an empty string. In other cases, the absence of the eleme...

0 0
0
Viewed: 26 135 times
Version: 2.0
Category: Tips

ACL and RBAC

Created 14 years ago by zeroByte zeroByte, updated 14 years ago by kevinkorb kevinkorb. 0 comments

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 obs...

0 0
3
Viewed: 36 731 times
Version: 1.1
Category: How-tos

Use non Gmail/Gsuite on Gcloud projects

Created 8 years ago by Luis Armando Luis Armando, updated 8 years ago by Maurizio Domba Cerin Maurizio Domba Cerin. 0 comments

Small companies and startups use cheap email services or even Cpanel's mail services which are less secure and compete directly with bigger email providers like Microsoft with Outlook and Google with Gmail. This creates a problem when you try to use their services to send/receive emails from this cheap services. <img width="750" src="https://static.techspot.com/fileshost/newspics3/2017/google-clo...

0 0
3
Viewed: 22 412 times
Version: 2.0
Category: How-tos

Yii behind a reverse proxy, SSL support and correct IP logging

Created 14 years ago by mrkmg mrkmg, updated 14 years ago by mrkmg mrkmg. 0 comments

If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php

0 0
2
Viewed: 21 289 times
Version: 1.1
Category: Tips

Email by YiiMailer, Call Outlook, IMAP

Created 12 years ago by Scott_Huang Scott_Huang, updated 12 years ago by CeBe CeBe. 0 comments

In Yii community we have lots of extention can send emails, such as YiiMailer and Swift and so on, or even IMAPI, thanks for team contribution. However, sometimes, in the intranet enviroment, the program cannot run successfully since SMTP /IMAP port been banded. So you need to seek other ways. The most simple way is call outlook as COM.

0 0
6
Viewed: 26 165 times
Version: 1.1
Category: How-tos

Using phpseclib with Yii

Created 13 years ago by nkd nkd, updated 13 years ago by nkd nkd. 9 comments

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6
Viewed: 23 119 times
Version: 1.1
Category: How-tos