Get Jquery Reference To Links In Cjuiaccordion Headers
Hi I want all my links - except those in the accordion headers - to display a loading.gif file. $('a:not(.ui-accordion-header a)').click(function(){ $('#dvLoading').fadeIn(800); }); It works, but...
View ArticleHow Do You Exclude Item From Findallbyattributes ?
This code returns all of the right information. However, I wanted to exclude whichever product the user is currently looking at. i.e. If the user is looking at product 1 for the creator "admin" it will...
View ArticleRetrieving Related Data In View
I am busy getting to grips with Yii and AR and MVC so i will probably have a lot of questions, you don't need to give me an exact answer, a pointer to a tutorial or previous, related topic will also be...
View ArticleModel Validation Not Working
I have following action to handle register $model=new User('checkout'); if(!empty($_POST['User'])){ $model->attributes = $_POST['User']; //echo '<pre>';echo $model->username;die;...
View ArticleHow To Add Toggle Button In Yii Operations Coloumn
array( 'class' => 'CButtonColumn', 'header' => 'Operations', 'template' => '{punchin}', 'buttons'=>array( 'punchin' => array( 'label'=>'punch in', // text label of the button...
View ArticleCJSON::encode array
Hi, now the CJSON::encode-function encode an associative array to a json-object. i read the comments in the code and understand why this way was choosen. But i think it would be better to create an...
View ArticleList Of Configurable Options In Yii?
Hi, i'd like to know if theres any list of configurable options in config/main.php or how it works, I see you can configure many things from there. Thanks!!
View ArticlePhp Fatal Error: Class 'yii' Not Found In Index.php On Line 13
Ja tem uns dias que estou me deparando com este erro PHP Fatal error: Class 'Yii' not found in caminho/index.php on line 13 Linha 13 --> Yii::createWebApplication($config)->run() Todos os...
View ArticleComo Agregar Botones Dinámicos Al Menu De Yii
Hola a todos, necesito saber como es posible agregar botones dinámicos al menú de Yii.Por ejemplo necesito hacer una aplicacion en la que el webmaster pueda mediante un formulario agregar un botón en...
View ArticleYii-Booster
Ciao a tutti, dopo ver installato yii-bootstrap ed essere riuscito a far andare tutto (componente + tema) adesso ho la necessità di utilizzare un widget (select2) che però non è compreso nel pacchetto...
View ArticleCgridview Does Not Paginate After Iterating Over Cdataprovider
I have a CSqlDataProvider object that I hand to a CGridView widget. Things work just fine, except before the CGridView is displayed to the user, I need to iterate over the dataprovider to do some data...
View ArticleUrlmanager Question
I'm trying to get the UrlManager to handle me a request but I can't get it to work. Can anyone with more experience perhaps make a suggestion? What I'm trying to accomplish... My url looks like this:...
View ArticleBuilt-In Validators' Initialization And Performance
Dear all! Working on administrative section of a site I intensively used built-in CRangeValidator to check whether data provided by administrator lays within valid range of values. To be more precise,...
View ArticleEgmap How To Make Marker Focus On What I Select On My Result List Beside Or...
Hi, I have a result list(navigation sidebar) of items on right hand side and the Google map on the other side. I would like my google marker focus on what I selected an item on the result list, and...
View ArticleAccess Control/security Approach
Just wondering if this is a flaw in my application. For controller access rules I use something like this: array( 'allow', 'actions'=>array('omgWOW'), 'users'=>array('@'),...
View Article[Solucionado] Borrar Un Modelo Que Se Encuentra En La Carpeta De Una Extensión
Hola a todos! Tengo la siguiente duda: ¿Como puedo hacer un "delete()" de un modelo que no está en model, sino que está en la carpeta de modelos de una extensión? Cuando lo voy a hacer (a través de una...
View ArticleNon Mi Va L'invio Del Form Con Ajax
ho un CActiveForm $form=$this->beginWidget('CActiveForm', array( 'id'=>'comment-form', 'enableAjaxValidation'=>true, )); poi ho tutto il form (è praticamente uguale al form dei commenti del...
View ArticleDropdown List A Cascata
Ho la necessita di poter popolare una seconda dropdown list in base alla selezione di una prima dropdown centrodicosto->servizi. Ho provato ad utilizzare l'estenzione ECascadeDropDown ma non riesco...
View ArticleSito In Manutenzione
Nel file di configurazione, tra i parametri ho messo un valore booleano per la manutenzione. Mi potete spiegare come far si che quando è TRUE ogni pagina che apro mi mostri un controller/action che mi...
View Article