last day (15 days later) » 

8:35 PM
room mode changed to Public: anyone may enter and talk
 
OK Ali I am there
 
Hello, I am really sorry :) it took lots of time :)
 
No issue at all, it's fine
 
Actually I don't see the code of the picture you modified
 
I am pasting the code here once again
<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\City */
/* @var $form yii\widgets\ActiveForm */

$this->title = ('Custom City');

$this->params['breadcrumbs'][] = $this->title;
?>



<div class="row">
<div class="col-lg-3">

</div>
<div class="col-lg-5 col-lg-offset-1">
<div class="city-form">

<?php $form = ActiveForm::begin(); ?>

<?= $form->field($model, 'state_id')->DropDownList(ArrayHelper::map(State::find()->all(), 'id', 'state_name' ),
I removed some code like sidebar navigation to make it shorter
 
8:40 PM
Well, There is no $this->title here
except breadcrumbs
 
It is there on line 7
 
No, that is for breadcrumbs and above code is setting that.
In the picture you have added into your question, this is not what is showing there
 
You are right, the picture is what I am getting, I want to replace what is shown in the picture.
That's I am getting by default
 
Well, We are not on right place. The code of that image is situated in another file
 
not really, it is the same file.
 
8:45 PM
:D it is impossible
 
do you use teamviewer
 
Unfortunately no. You need to find a file which contains the code of that sidebar
as you can see, there is no Location menu, on the code
 
Ok I am pasting the whole code including the sidebar code.
<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\grid\GridView;
use yii\data\ActiveDataProvider;
use app\models\city;
use app\models\CitySearch;
use yii\helpers\ArrayHelper;
use app\models\State;
use kartik\widgets\SideNav;


/* @var $this yii\web\View */
/* @var $model app\models\City */
/* @var $form yii\widgets\ActiveForm */

$this->title = ('Custom City');

$this->params['breadcrumbs'][] = $this->title;
?>



<div class="row">
    <div class="col-lg-3">
<?php //echo SideNav::widget(['items' => $menu, 'type' => SideNav::TYPE_DEFAULT]); ?>
 
Unfortunately, this is not the right view too
there is a layout file, such as main.php or something like that
which holds the code of that title above side bar
have you checked main.php file?
 
No
 
8:52 PM
could you please check main.php ?
 
I am trying to use some other shorter file
for your reference
<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\Country */
/* @var $form yii\widgets\ActiveForm */
$this->title='my country';
?>

<div class="country-form">

<?php $form = ActiveForm::begin(); ?>

<?= $form->field($model, 'code')->textInput(['maxlength' => 2]) ?>

<?= $form->field($model, 'name')->textInput(['maxlength' => 52]) ?>

<?= $form->field($model, 'population')->textInput() ?>

<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success
this file is also showing create country and not create my country
 
hmm, I am sorry. But this is not the point. This way I can not help :(
On the other hand I like to helo
help
let me install teamviewer :)
 
That will be great, with teamviewer you can have a look yourself
 
Could you please give me your ID and password?
 
just a moment
id - 255 909 555
password - 8314
 
9:04 PM
comming
 

last day (15 days later) »