Hi,
Defaultly "clean" theme will be activate while installing.
I have my own theme, and
how can i activate my own theme as standard theme while installing?
Where to change the code?
Thanks in Advance
What you are aiming for is...
$CFG->theme = 'yourtheme';
...in the config. To build that into the install without changing core code you need to set up a new file called local/defaults.php
That should contain..
<?php
$defaults['moodle']['theme'] = 'yourtheme';
(see local/readme.txt)
All this without actually trying it of course
Hi Howard,
I want to activate my own theme instead of default theme "clean" while installing process.
Before installation, we don't have "config.php" file. We have "config-dist.php" instead of "config.php".
Note : Installation process successfully done with my own theme.
But, Default theme applied automatically after last step of installation process.
Unable to find where the code to be changed.
Thank in Advance.
Here....
To build that into the install without changing core code you need to set up a new file called local/defaults.php
That should contain..
<?php
$defaults['moodle']['theme'] = 'yourtheme';
(see local/readme.txt)