Quantcast
Channel: Yii Framework Forum
Browsing all 18717 articles
Browse latest View live

Cgridview Doesn't Filter Inside Form

I'm using CGridView inside a form. It has selectable rows that are recorded in the database when the form is submitted. It works fine but we decided we needed to use the filtering capability of...

View Article


Crud - Wyświetlanie Większej Ilości Pól

Witam. Zaczynam przygodę z Yii i już mam problem. Utworzyłem i wygenerowałem cruda dla tabeli `users` która zawiera aż 20 pól. Gdy chcę zobaczyć listę userów, to widzę tylko pierwsze 6 pól a chciałbym...

View Article


Retrieve Submitted Information After Hybridauth Authentication

Hello, I've implemented successfully the ability to authenticate with a Facebook / Twitter account, but now I'm not sure how to achieve something, I've got some ideas but I'm wondering if there's any...

View Article

共用性質的函數該怎麼放呢?

例如 自己寫的產生 uuid() 的函數 在不同的 controler 會用到 在不同的 component 會用到 在不同的 commander 會用到 在不同的 module 會用到 這樣該寫在哪個位置呢? 以前習慣函數化的架構 來到框架內一時還真轉不過來

View Article

Cjuiautocomplete Help

I used CJuiAutoComplete and got the data from the db but I want to search the data details by clicking from the autocomplete list and go to the related view. view.php <?php...

View Article


Renaming The Protected Folder

Hi Everyone I want to rename the protected folder, so I set the $config in index.php to $config = dirname(__FILE__) . '/myprotected/config/main.php'; Everything works ok except an issue Trying to...

View Article

Desenvolvedores Em Brasília

Pessoal, Estou montando, com mais 3 sócios ao redor do mundo, um marketplace global na Internet e a ideia é usar o framework Yii no desenvolvimento da solução. Na verdade este trabalho já está em...

View Article

Image may be NSFW.
Clik here to view.

Running User Sql Commands On Dynamic Databases

Hi, I am trying to do something with dynamic databases in Yii which I could not find in the Yii discuss posts. My requirement is as follows: 1. Need to generate and dynamic databases on the fly. =>...

View Article


Warning message similar to $this->addError()

Hi all, I'm using a form that submits and validates using AJAX. Is there a method I can use that is similar to addError() except I only want to display a warning message and not prevent the form...

View Article


Javascript

< script language="Javascript"> &lt!-- function toggleDiv(id,flagit) { if (flagit=="1"){ if (document.layers) document.layers[''+id+''].visibility = "show" else if (document.all)...

View Article

CGridView Filter on Page Load

I have set a value in one of my cgridview filter fields using: .val($_GET['value']); The value appears in the search field, but I am unable to trigger the cgridview to refresh or filter. Does anyone...

View Article

Uploading Image Files. I Need Help To Make One.

I was searching this forum and stackoverflow for the best step by step solution to implement a file upload (Image) for my website but none of them work well since I don't want to use a database model...

View Article

Cgridview Filter

Hi Everyone, I have a problem in cgridview filters,when I type the sorting text in the column filter's text box the Cgidview disappears,I am totally frustrated by this issue,Any Solutions?

View Article


Image may be NSFW.
Clik here to view.

Custom Url

I'm a newbie in Yii, I'm learning it. Today I'm learning URL management. I am using path URL structure and it works correctly. But I want more. For example: I have this:...

View Article

Image may be NSFW.
Clik here to view.

Validation Rules Only For Updating Database

Hello, what is the best way of using validation rules: Just for updat.ing things in the db or also for getting records? For example: You want to get a specific entry from your database and check the...

View Article


Urlmanager Show Title Instead Of Id

Hello Yii! I've been trying to make my url more clean. What I have is: site/projects/projects/id/3.html or site/projects/projects/update/id/3.html when i am updating.. I need to show the title of my...

View Article

CGridView removes/strips HTML

Hello everyone. I'm using a CGridView with a data provider (CArrayDataProvider) and it's working fine, but, one of the columns content is a link that it's not working and I would appreciate your help...

View Article


Directory Setup For Multi Client Yii Application

So I have my first Yii app ready in a few days from now. However, as a biz owner I see prospects of different clients wanting the same software but I do not want to have to maintain x copies of the...

View Article

[Solucionado] Dropdownlist Multiples Que Se Intercambian Información (Dual...

Hola, Lo que intento hacer es una pantalla para admitir a alumnos o excluir alumnos de un curso. Para ello mi idea es hacer 2 DropDownList multiples llamados admitidos y excluidos y entre ellos dos...

View Article

Setting Default Layout For All Controllers In Module [Solved]

Hello, I have created a Module with Gii named admin. changed default controller to: class DefaultController extends CController // I have removed /protected/component/controller.php { public function...

View Article
Browsing all 18717 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>