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

Cmenu

Модель public static function menu() { $categories = self::model()->findAll(); $array = array(); foreach ($categories as $category) { $count = Film::model()->count('category_id =...

View Article


Step Form Validation

I'm creating a form that is split up into 5 steps. By the way this is just one form - and not 5 separate forms. I have a continue button on each step, which is just an image button - when you click on...

View Article


Api Google

ciao a tutti, vorrei provare a configurare le API di google. ma ho un errore che non riesco a capire, ho inserito nel controller: Yii::import('application.vendors.*'); require_once...

View Article

Image may be NSFW.
Clik here to view.

Cactivedataprovider Column Not Found

Hi, I'm a bit confused about the different behaviour between ::model() and CActiveDataProvider. Using the same criteria object: $crit = new CDbCriteria(); $crit->with = array( 'categoryHasLanguages'...

View Article

Creating Authorization Roles

Lots of newbies will face the problem with creating roles as i did... This might help all of them. 1. There are two methods of storing in DB and in File I cracked storing in DB using console script and...

View Article


Problem Creating A Role

Hey, I have this RbacCommand.php file under the commands/shell directory: public function run($args) { if (($this->_authManager = Yii::app()->authManager) === null) { echo "Error executing the...

View Article

Image may be NSFW.
Clik here to view.

Useraccess

Hi All, I am developing a site for a tour and travel company. Site defines various roles like admin, agent, members. I want to give access to modules based on the role type. Pl i need urgent help. what...

View Article

Image may be NSFW.
Clik here to view.

Cdetailview - Imie I Nazwisko Zamiast Id

Witam. view DzieckoHasRodzic <h1>View DzieckoHasRodzic #<?php echo $model->dziecko_id; ?></h1> <?php $this->widget('zii.widgets.CDetailView', array( 'data'=>$model,...

View Article


Authorization Hierarchy Code

Hi All, Every Forum topic and/or doc or blog on authorization heirarchy say: Run following code once in by placing it an any executabel file of your yii web app: $auth=Yii::app()->authManager;...

View Article


Image may be NSFW.
Clik here to view.

Yii geinteresseerden/developers in Nederland

Hallo mede NL'ers.. wij (inSided, Social CRM startup) zoeken Yii devvers in Amsterdam: http://bit.ly/insided-backend Big data, nieuwe technieken (o.a. Amazon Web Services) en een leuk jong groeiend...

View Article

Use yii's RBAC

I am trying to use yii's RBAC. Therefor I am following this document here. I set up the following in the main config file: 'authManager'=>array( 'class'=>'CPhpAuthManager', ), The auth.php is...

View Article

checkAccess failure

Hi, I've honestly exhausted a search on a possible explanation for this before posting, so please your help will be appreciated. I'm trying something as simple as using checkAccess to see if user is...

View Article

[EXTENSION] NordCms

Hello All, This is the discussion thread for our Cms extension. What is NordCms? NordCms is a stand-alone module developed by Nord Software Ltd. The extension provides the core content management...

View Article


Yii Bootstrap

Какой путь прописать в конфиге? ВРоде все по гайду сделал, но выдает ошибку: include(Controller.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file...

View Article

[EXTENSION] Bootstrap

Hello, This is the discussion thread for my latest extension, Bootstrap. What is Bootstrap? Bootstrap is a toolkit to kickstart development of web applications. It includes base CSS and HTML for...

View Article


Image may be NSFW.
Clik here to view.

Cdetailview - 2 Columns Instead Of Id

Hello. view DzieckoHasRodzic <h1>View DzieckoHasRodzic #<?php echo $model->dziecko_id; ?></h1> <?php $this->widget('zii.widgets.CDetailView', array( 'data'=>$model,...

View Article

Image may be NSFW.
Clik here to view.

MSSQL (dblib): Driver does not support this function

Hi all I would like to connect to a remote MS-SQL Server with the pdo_dblib driver (freetds) on CentOS 5.5. After some minor problems with the OS configuration, I finally got the connection working...

View Article


Determine Whether We Are In Create Or Edit Mode

How in _form.php to determine whether we are in create or edit mode? (I need to make a filed not editable after the object was created.) By the way would you suggest anything about how to implement...

View Article

Struttura Sito Con Amministrazione

Sto creando un sito, la parte pubblica è già fatta, e mi manca da fare l'amministrazione. La struttura che uso al momento è quella base: quella con framework, protected, themes, assets e index.php...

View Article

Get / Post Question On Custom Cgridview Button

Hi I have been using the POST button described in this wiki. At the top of my controller, I have the following public function filters() { return array( 'accessControl', 'postOnly + email', // access...

View Article
Browsing all 18717 articles
Browse latest View live


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