GithubHelp home page GithubHelp logo

Comments (4)

upsonp avatar upsonp commented on July 19, 2024

The variables are still there, if I understand what you're refering to, they're in the dist-php/config/config.php file as $_SITE['wb_cmblang_href_en'] and $_SITE['wb_cmblang_href_fr'].

you should be able to override them in your site specific config.php file. As an example from the demos-php/config/config.php file

    //$_SITE['wb_php_root'] and $_SITE['wb_core_root'] are set in the following file
    /* **************************************
     * The config-path.php file is intended to be used with the demos-php to
     * simplify deployment to various webservers. Change the $_SITE['wb_php_root']
     * and $_SITE['wb_core_root'] variables to point to the directory where
     * the /dist-php and core /dist folders respectivly exist
     */
     $_SITE['wb_php_root'] = "/wet-boew-php/";
     $_SITE['wb_core_root'] = "/theme-gcwu-fegc/dist/"; 

    //include the standard distribution config with the default settings
    include $_SERVER['DOCUMENT_ROOT'] . $_SITE['wb_php_root'] . "/dist-php/config/config.php";

    /*  Override variables from the dist-php config files here for the specific site */

    //modify to point to your sites search implementation
    $_SITE['wb_search_file'] = $_SITE['wb_php_root'] ."/demos-php/search/search.php";

    //enable if deployed from github. Comment out if demos deployed from zip file
    $_SITE['wb_site_href_en'] = $_SITE['wb_php_root'] . "/demos-php/index-en.php"; 
    $_SITE['wb_site_href_fr'] = $_SITE['wb_php_root'] . "/demos-php/index-fr.php"; 

--> //Modify the language selection link to point to whatever script suits your 
    //site or keep the default language script
    // ** This is the default language script set in the /dist-php/config/config.php file **
    //$_SITE['wb_cmblang_href_en'] = $_SITE['wb_cmblang_href_fr'] = $_SITE['wb_php_dist_folder'] . "/langselect/lang.php";

    $_SITE['wb_terms_href_en'] = $_SITE['wb_core_dist_folder'] . "/License-en.html";
    $_SITE['wb_terms_href_fr'] = $_SITE['wb_core_dist_folder'] . "/Licence-fr.html";

from wet-boew-php.

upsonp avatar upsonp commented on July 19, 2024

@michael-milette Is this issue resovled?

from wet-boew-php.

michael-milette avatar michael-milette commented on July 19, 2024

Sorry, missed your reply. I'll download the latest and let you know.

from wet-boew-php.

upsonp avatar upsonp commented on July 19, 2024

There's been quite a bit of restructuring for the variant to support themes.
The directions given in the summary section on the wiki should work for setting it up.

from wet-boew-php.

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.