Wiki articles

Showing 41-60 of 822 items.

Yiistrap TbHtml::navbarSearchForm

Created 10 years ago by Patrice, updated 10 years ago by CeBe.

Hi all,

0 0
3 followers
Viewed: 18 363 times
Version: 1.1
Category: Tips

A universal model attribute for its synthetic representation

Created 7 years ago by Alexandre Rodichevski, updated 7 years ago by Alexandre Rodichevski.

It is convenient to use the same identification attribute, say info, in all of the active records of your application. It should be a virtual read-only attribute defined by a getter method, its label being the model name.

0 0
3 followers
Viewed: 14 614 times
Version: 2.0
Category: Tips

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

Created 7 years ago by Scott_Huang, updated 7 years ago by Scott_Huang.

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 follower
Viewed: 22 670 times
Version: 1.1
Category: How-tos

REST API and null values in XML

Created 7 years ago by marko60, updated 7 years ago by marko60.

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 follower
Viewed: 19 534 times
Version: 2.0
Category: Tips
Tags: null, REST, XML

Interactive mode command-line command for Yii1

Created 7 years ago by Trejder, updated 7 years ago by Trejder.

For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.

0 0
1 follower
Viewed: 19 023 times
Version: 1.1
Category: How-tos

Working with relational removals by yii2

Created 7 years ago by AndroideLP, updated 6 years ago by Jairus Martin.

This tutorial shows you how to safely remove records between relationships.

0 0
2 followers
Viewed: 35 394 times
Version: 2.0
Category: Tutorials

ACL and RBAC

Created 11 years ago by zeroByte, updated 11 years ago by kevinkorb.

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 followers
Viewed: 29 687 times
Version: 1.1
Category: How-tos

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 10 years ago by ruderbytes, updated 9 years ago by ruderbytes.

Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

0 2
7 followers
Viewed: 41 706 times
Version: 1.1
Category: How-tos

Use non Gmail/Gsuite on Gcloud projects

Created 6 years ago by Luis Armando, updated 5 years ago by Maurizio Domba Cerin.

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 followers
Viewed: 15 779 times
Version: 2.0
Category: How-tos

default csrf security and ajax post in one controller

Created 10 years ago by jasonban, updated 10 years ago by CeBe.

Hello Yii friends

0 3
8 followers
Viewed: 27 287 times
Version: 1.1
Category: Tutorials

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 10 years ago by toph, updated 7 years ago by toph.

This is a shortcut for adding a text search for multiple values i.e.

0 0
5 followers
Viewed: 54 422 times
Version: 1.1
Category: How-tos

Database Driven CMenu

Created 10 years ago by Preacher, updated 10 years ago by CeBe.

Purpose

0 0
4 followers
Viewed: 7 819 times
Version: 1.1
Category: Tutorials
Tags:

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

Created 11 years ago by mrkmg, updated 11 years ago by mrkmg.

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 followers
Viewed: 17 912 times
Version: 1.1
Category: Tips

Cambiando el diseño de JuiWidgets

Created 13 years ago by Luis Lobo Borobia, updated 13 years ago by Ivan Wilhelm.

Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

0 0
4 followers
Viewed: 15 458 times
Version: 1.1
Category: Tutorials
Tags:

How to implement magento cron on yii

Created 10 years ago by Ankit Modi, updated 10 years ago by CeBe.

Hi Friends, First I would to say sorry but I am not very familiar to magento so after a 1 week spend I will implement the magneto cron functionality on yii I hope it's may be some helpful.

0 0
3 followers
Viewed: 20 704 times
Version: 1.1
Category: How-tos

Email by YiiMailer, Call Outlook, IMAP

Created 10 years ago by Scott_Huang, updated 10 years ago by CeBe.

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 followers
Viewed: 19 416 times
Version: 1.1
Category: How-tos

How to create a simple logout link in the view?

Created 10 years ago by mi.sarah, updated 10 years ago by CeBe.

Here you learn to create and set a simple ahref-link to logout the current user.

0 2
1 follower
Viewed: 47 363 times
Version: 1.1
Category: How-tos

belajar AR : part 1 (learn AR : part 1)

Created 13 years ago by rianday, updated 13 years ago by rianday.

hai teman yii... apa kabar.. kembali lagi bersama catatan saya..

0 0
1 follower
Viewed: 17 764 times
Version: 1.1
Category: Tutorials
Tags: indonesia

Update Gridview with Dropdown Selection

Created 9 years ago by lgastmans, updated 9 years ago by lgastmans.

I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum...

0 0
4 followers
Viewed: 16 969 times
Version: 1.1
Category: Tips

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 9 years ago by realtebo, updated 8 years ago by realtebo.

Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 27 966 times
Version: 2.0
Category: Tutorials