Code Monkey home page Code Monkey logo

Comments (7)

davidtim avatar davidtim commented on June 12, 2024

from dotplant2.

hdushku avatar hdushku commented on June 12, 2024

web install
followed the manual in here:
http://docs.dotplant.ru/en/install.html

from dotplant2.

davidtim avatar davidtim commented on June 12, 2024

from dotplant2.

hdushku avatar hdushku commented on June 12, 2024

I have typed this domain:
https://dotplant2-myusernameinc9.c9users.io/

from dotplant2.

davidtim avatar davidtim commented on June 12, 2024

from dotplant2.

hdushku avatar hdushku commented on June 12, 2024

I checked , it was the same.
Somehow it is now working
I removed the https:// part .
Thanks!

from dotplant2.

rossaddison avatar rossaddison commented on June 12, 2024

Yes on wampserver I adjusted the following file located at:
C:\wamp64\www\dotplant2\web\theme\views\modules\basic\layouts\main.php

and changed the https to http so that it could be tested locally on my wampserver.

<base href="https://<?= Yii::$app->getModule('core')->getBaseUrl() ?>">

and this is my dotplant2/config/web.php ... defaulttheme setting.

'DefaultTheme' => [
'class' => 'app\extensions\DefaultTheme\Module',
],

Also worth changing, in case you get missing fontawesome icons using the backend/dashboard route, ....(after assigning the role 'admin' to user_id 1 in the auth_assignment table directly by inserting in phpmyadmin because I could not get access to the backend)... , is the following file:

dotplant2/assets/AppAsset.php

<?php

namespace app\assets;

use yii\web\AssetBundle;

/**
 * Default DotPlant2 asset bundle for frontend.
 * You can use your own, but don't forget to include CMS js and css files.
 *
 * @package app\assets
 */
class AppAsset extends AssetBundle
{

    public $sourcePath = '@app/assets/app';
    public $css = [
        'css/dotplant.css',
        '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css',    <---- INSERT!!        
    ];
    public $js = [
        'js/main.js',
    ];
    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapAsset',
        'yii\bootstrap\BootstrapPluginAsset',
        'yii\web\JqueryAsset',
        'yii\validators\ValidationAsset',
        'yii\widgets\ActiveFormAsset',
        
        //'\kartik\icons\FontAwesomeAsset',**    <-----  REMOVE!!
    ];
}  

from dotplant2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.