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

Has_Many Like A Has_One

Hello, I have the following database tables (models): USER id name GAME id name BET id user_id game_id value date I have a view where all games are listed, using: $games = Game::model()->findAll()...

View Article


Newbie Here

I've recently started using Yii. My question is how do you automatically point your website to the default login page created by the yiic command?

View Article


Problems With Many_Many Relations

Hi I've run into a little problem regarding Many_Many relation. 3 tables +----------------+ +----------------+ +----------------+ | Address | | AddressRel | | Company | +----------------+...

View Article

Yii::t() In Urlmanager Or I18N In Urls

Hello all, I am trying to translate url in urlManager in config file. 'urlManager'=>array( 'urlFormat'=>'path', 'showScriptName'=>false, 'rules'=>array(...

View Article

Alias "ext.backtotop.backtotop" Is Invalid. Make Sure It Points To An...

hi i'm newer on yii when i attach theme for my fresh application .i edit config.php like this 'theme'=>'theme_name', i done this several time but now if i do this it display like this error...

View Article


Uwierzytelniony widzi jedynie swoje dane (posty, newsy, userów)

Witam. To mój pierwszy post na forum. Od kilku tygodni przyglądam się Yii i bardzo mi się spodobał. Przeszedłem przez lekturę 'Przewodnika' i 'zaimplementowałem' bloga ;-) W ramach dalszej nauki...

View Article

Hiding Parts Of A Model

Hi all, I would like to hide a few attributes in a view from the authenticated user and show them to an admin user. <div class="row"> <?php echo $form->labelEx($model,'riderPassword');...

View Article

Inner Join Relation Without Together

hello, i am trying to filter products by category using a scope and i do that by inner joining the categories the problem is it only works when i turn together on, which messes up pagination i recall...

View Article


How Use Two Layouts For Two Different Languages?

Hi, I'm creating a multi-language website.Primary language is English but I need to use different layouts for left-to-right languages. How ?

View Article


3 Tables With An Intermediate Table

i have 3 tables: action(ID,Name), cycle(ID,Name) and category(ID,Name). these 3 tables are related with an intermediate table actCycleCat(actionID, cycleID, categoryID). is there any way to express the...

View Article

[EXTENSION] EMultiSelect

Extension: http://www.yiiframework.com/extension/emultiselect/

View Article

Date Picker

Hi I have added a date picker: <div class="row"> <?php echo $form->labelEx($model,'bookdate'); ?> <?php $this->widget('zii.widgets.jui.CJuiDatePicker', array(...

View Article

Pikachoose Image Slider

I was wondering if anyone has gotten the pikachoose slider to work with Yii? I installed it and it shows the slider, but it doesn't actual slide the images. The next/previous links and arrows don't do...

View Article


Cgridview Filter With Multiple Models

Hello every1, i don't know if some of you have met a problem, when they have a CGridView with Models, that have a HAS_MANY relationship and you need to select 1 of this MANY objects. I would like just...

View Article

Autocomplete, Convert Space(%) To + In Link

Hiii I have an autocomplete script which search for merchants in my system, and sends the user to a new page.. View: <?php $this->widget('ext.myAutoComplete', array( 'name' => 'merchantName',...

View Article


Yii User Extension

hi, I am using yii-user and right extensions. I cannot deny access to view list of access. i am using return array( array('allow', // allow only admin and user roles to perform 'index' and 'view'...

View Article

provenienza

chissà che non possa tornare utile. ad usare un framework mvc php-based siamo veramente in pochi. Legnano (MI)

View Article


Export to Excel or CSV from CGridView

Is there a way to export the data from a CGridView to either .xls or .csv? I would like to be able to filter and sort on a CGridView, then export my results. I have tried the csvout extension, which...

View Article

Ei18n Translation Module

I have just released a translation module: Ei18n. Description Ei18 is a translation module to allow Yii’ers to easily manage missing translations on application pages. It is heavily inspired by...

View Article

Image may be NSFW.
Clik here to view.

Problem Loading Extension Resources From External Cdn

Hello, I'm using the JColorBox extension from time ago (but the problem is extended in general to all widgets or extensions). Last day I I did changed the resources location to load from a CDN instead...

View Article
Browsing all 18717 articles
Browse latest View live


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