Welcome to yiianswers
This site is specially dedicated to help you answer your Yii Framework questions. You may wonder why do we need a site like this having such a great forum? Well, yiiAnswers is aimed to become an organized archive of questions and answers, this way will easy the task of searching for a solution to any doubt you may have using the framework.
Apologies: This site was hacked and we would like to apologize for the inconveniences that it may caused. I would like to tell to anybody who wishes to damage this site, that this is a personal contribution to an open source community.
Filter Questions by: Newest Unanswered The most Voted
EGMaps How to get lat and lng from dragable marker?
EGMaps How to get lat and lng from dragable marker?
I have try like this
- $marker = new EGMapMarkerWithLabel(4.21048, 100.97577, array('title' => "Cobaan"));
- $label_options = array(
- 'backgroundColor'=>'red',
- 'opacity'=>'0.75',
- 'width'=>'100px',
- 'color'=>'blue'
- );
- $dragevent = new EGMapEvent('dragend', 'marker_dragevent(dragend)', false, EGMapEvent::TYPE_EVENT_DEFAULT);
- $marker->addEvent($dragevent);
- $info_window_d = new EGMapInfoWindow($dragevent.lat(),$dragevent.lng());
- $marker->addHtmlInfoWindow($info_window_d);
- $gMap->addMarker($marker);
$marker = new EGMapMarkerWithLabel(4.21048, 100.97577, array('title' => "Cobaan"));READ MOREBy gezzeg in Extensions · Asked 5 days 21 hours 26 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
bootstrap.widgets.BootMenu add html attribute
add html attributebootstrap.widgets.BootMenuhtmlOptions
hello I’m New
i want to add html attribute to bootstrap.widgets.BootMenu
but i have no result when i use htmlOptions => array(‘id’ => ‘blablabal’) for example,
can anyone help me to solve this
By giantdut in Extensions · Asked 7 days 6 hours 55 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
how to create a pagination in yii?
how to create a pagination in yii
By infopandiyan in Controllers · Asked 9 days 19 hours 8 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
How to create own action in Controller to make mysql insert
controllerInsertLinkModelsMysql
Hi to all,
i am new to yii framework and this is also my first framework.
i am trying to implement a Intress link/button for an article (not from facebook).
So i haveREAD MORE
By keeran in Controllers · Asked 11 days 16 hours 30 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
MANY_MANY Criteria problem
hi. I have many_many relation. Categories & Articles. Just now I want create data provider for CListVeiw Articles where category id =5;(e.g) But my code gives all the Articles ((READ MORE
By eibrahimov in Active Record · Asked 22 days 7 hours 22 mins ago
Questions: 4 Accepted: 2 ( 50% ) | Reputation: 1
CGridView and Adjacent rows ordering
adjacent modelCGridVieworderingsorting
Hi all,
I have an adjacent menu tree displayed in cgridview with tree table. The Menu model has the following atributes: id, id_parent, title, position. When I change the parent rowREAD MORE
Yii::t in config/main.php
Hi,
how can I used the translation method in config/main.php?
If I have a array like
- $main = array(
- ....
- 'params' => array(
- ...
- 'default' => array(
- ...
By nitropenta in i18n · Asked 25 days 15 hours 32 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
Datepicker Problem
Hello,
I have two datepickers on my form to select a date range.
If switch between them without selecting a date, or pressing the Done button, the target datepicker doesREAD MORE
Two model form, adding group of fields with javascript
fieldsformjavascripttabular data
Hi! I’m new to yii. To keep everything simple, i have two models, events and contests. Event can contain one or more contests. While creating or updating event, i shouldREAD MORE
Yii Dynamic DB Connection according to user?
My project is on the basis of multi-talent.
I have multiple clients (companies) and each client has multiple users.
Each client has their own database, so during user authentication, I discover theREAD MORE
By gaurishpatil in DAO · Asked 31 days 14 hours 18 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
TAGS
actioncreate ( x 2 )ACTIVERECORD ( x 3 )AJAX ( x 9 )AJAXLINK ( x 2 )ajaxSubmitButton ( x 4 )cactivedataprovider ( x 2 )CActiveForm ( x 1 )cactiverecord ( x 2 )CGridView ( x 12 )CJuiAutoComplete ( x 3 )CJuiDialog ( x 7 )CListView ( x 7 )controller ( x 6 )crud ( x 2 )Css ( x 2 )CStarRating ( x 2 )CTreeView ( x 2 )database ( x 2 )dataprovider ( x 2 )dropdownlist ( x 3 )EGMaps ( x 2 )extension ( x 2 )FANCYBOX ( x 2 )file ( x 2 )form ( x 4 )Giix ( x 2 )html ( x 2 )javascript ( x 3 )many_many ( x 4 )merge ( x 2 )model ( x 3 )multilanguage ( x 2 )redirect ( x 3 )Registration ( x 2 )relations ( x 4 )renderPartial ( x 7 )session ( x 2 )sorting ( x 3 )sql ( x 3 )Update ( x 2 )url ( x 2 )urlManager ( x 2 )validation ( x 2 )yii ( x 7 )YiiAnswers Site ( x 4 )ELITE MEMBERS
This website counts 117 Questions and 317 Answers by 299 registered users.
Yii NEWS
- [Extension] googlesearch May 19, 2012
- [Extension] sina-weibo-sdk May 18, 2012
- [Extension] models May 17, 2012
- [Extension] yii-seo May 16, 2012
- [Extension] edatetimebehavior May 15, 2012
- [Wiki] Storing your images in your table's blob field and displaying that stored images. May 15, 2012
- [Wiki] Displaying image in a CGridView column. May 15, 2012
- [Extension] etagger May 13, 2012
- [Extension] jless May 11, 2012
- [Extension] japi May 11, 2012
