Questions tagged [yii2-advanced-app]

Yii 2 Advanced Application Template is a skeleton Yii 2 application best for developing complex Web applications with multiple tiers. The template includes three tiers: front end, back end, and console, each of which is a separate Yii application. The template is designed to work in a team development environment. It supports deploying the application in different environments.

##Resources

2222 questions
0
votes
0 answers

Theme Integration using composer in yii2

I have tried integrating adminlte theme in my web app using composer as the package and demonstration provided on https://github.com/dmstr/yii2-adminlte-asset. It is working fine but now I am trying to integrate Afro v1.1 - Admin Bootstrap Template.…
Ankit Singh
  • 922
  • 9
  • 16
0
votes
1 answer

load fixture data for acceptance tests - Codeception

Hope Everyone is doing great. I have a problem. I need to get my fixtures loaded in db before running acceptance test in codception in my Yii2 Application. here is teh detail for it. Target: Load fixtures in database so that I can run acceptance…
0
votes
2 answers

how to create pagination for my model index page pagination at limit 15

My pagination does not show on my index page. Can someone tell me how to create pagination for my index page with a limit of 15? public function actionIndex() { $searchModel = new EmployeeSearch(); $dataProvider =…
0
votes
1 answer

Deploy yii2 advanced on Heroku and frontend cannot find the models

I deployed a yii2 advanced and postgresql on the Heroku. The backend works well. When I visit frontend, it gives me an error. Error Class 'frontend\models\home' not found public function getHomeSource() { $query = Home::find(); …
0
votes
0 answers

Declaration of bedezign\yii2\audit\components\panels\DataStoragePanelTrait::getUrl() using yii2-audit

I am using yii2-audit extension for audit logs, I followed all steps of installation and also migrate all tables. But when I update table value then it will return error like Audit module cannot be loaded. I have place behaviors() in my model. My…
Mayank Vadiya
  • 1,437
  • 2
  • 19
  • 32
0
votes
2 answers

Yii2 dropdownlist with other option validation

I have a dropdownlist with other option have text field. now i want to validate both dropdownlist and text-field. Validation apply according to the selection i.e. dropdown or text-field. How can i apply this. Year come from dopedown. Here i have…
Bell Carson
  • 127
  • 9
0
votes
1 answer

Yii2 : how to use distinct , groupby , sum and where conditions

I want execute below query in using Yii2 syntax selection query, select distinct pfs_id, unitprice, sum(qty) from order_items where order_id= id and item_farm_id = id group By pfs_id I tried several times but still not getting luck, Please any one…
Pradeep Deepu
  • 25
  • 1
  • 3
0
votes
3 answers

How to fetch data from database based on current user login in Yii2

How to fetch data from database based on current user login? As example, when user login and open your page, it only display his/her data only.
U anurag
  • 21
  • 5
0
votes
1 answer

yii2 .htaccess subdirectory route is not working

my htaccess configuration in the root directory looks like Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_URI} ^/(assets|css|js|images|blog) RewriteRule ^assets/(.*)$ frontend/web/assets/$1 [L] RewriteRule…
Yury
  • 23
  • 7
0
votes
1 answer

japan yahoo auction my won list

I want to fetch my auction won list from yahoo auction website url api given below. on yahoo development website. I am not able to understand from where I need to get access token. Please check below ref site with code ref site :…
Anil Kumar
  • 701
  • 11
  • 28
0
votes
1 answer

Yii2: How to convert query with subquery to Actived Record?

I want to convert this very simple SQL query with a subquery to Yii Active Record (I am using PostgreSQL). SELECT totals.name, FROM ( SELECT products.id, products.name FROM "products" ) AS totals How can I convert it to…
Roby Sottini
  • 2,117
  • 6
  • 48
  • 88
0
votes
1 answer

Yii2: How to join tables with Query Builder?

I'm using the Yii2 framework for a very basic stock software. I have two tables of a very basic stock software: products = (id_product, name) movements = (id_movement, quantity, date) The products table has all the product of a supermarket. When…
Roby Sottini
  • 2,117
  • 6
  • 48
  • 88
0
votes
1 answer

Yii2 advanced with MongoDB

I'm new to Yii2. I want to use MongoDB with Yii2-advanced. For that, I have found this library: https://github.com/yiisoft/yii2-mongodb The issue is it doesn't explain much about the installation and configurations. As the read me says I have added…
Parth Vora
  • 4,073
  • 7
  • 36
  • 59
0
votes
0 answers

Records saving twice using mozilla firefox but not in google chrome - Yii2

I'm working on membership module. And, found that data saving twice for membership_record table. What I'm doing is: After calculating total amount, tax etc. I'm saving it and redirecting it to payment gateway URL. From there, response coming to my…
Nana Partykar
  • 10,556
  • 10
  • 48
  • 77
0
votes
2 answers

Custom validation in yii2 while merging two public variables

Actually I'm working on ajax validation in Yii 2. I am sending two public variables data into a column in DB. while loading a post values. How to validate custom onto that field. My Code: public $prefix; public $mobile; $model->phone =…
rehan
  • 13
  • 4
1 2 3
99
100