uding the "active" setting) has been removed from theme.config.php. See the [[development:architecture:less|LESS / S... , but it can all be configured through your local theme.config.php as needed. Additionally, links containing icons h... ls.
* More flexible Javascript configuration in theme.config.php, including better control over loading order, plu... ile, instead of through the Zend Framework module.config.php files. This makes configuration significantly les
=
The first thing you'll have to set up in a new theme is the file **theme.config.php**. This file allows you to establish your theme a... .com/vufind-org/vufind/blob/dev/themes/bootstrap3/theme.config.php|bootstrap config file]].
After establishing the basic configurati... o override some defaults, and register it in your theme's module.config.php -- or you can use the more advanced [[development... ut/layout.phtml, header.phtml, footer.phtml).
* theme.config.php - As described [[#configuring_a_theme|above]], th
eed to manually customize this and add it to your theme.config.php's mixins array in order to activate it.
==== Usa... /Factory.php
Created backup: /.../module/MyModule/config/module.config.php.1423850855.bak
Successfully updated /.../module/MyModule/config/module.config.php
Successfully updated /.../module/MyModule/config/module.config.php
</code>
==== extendservice ====
You can also use the '
at.
The most important file in this folder
is the theme.config.php. This file
tells VuFind what customizations you
w... ng to
put our customizations and we need to
tell "theme.config.php" that they exist.
So I'm going to make a "css" f... css".
You can call it whatever you like.
Then in "theme.config.php", I'm going
to tell VuFind that we want
to load t... n saying
a lot is that when you change things in
"theme.config.php" it adds those files to
every single page. This i
ollowing content in $VUFIND_HOME/themes/ThemeName/theme.config.php:
<code>
<?php
return [
'extends' => 'bootstr...
* Finally, edit $VUFIND_HOME/themes/ThemeName/theme.config.php and adjust it to look like this:
<?php
return [
'extends' => 'bootstrap3',
'helpe... m getRecordID will be available in the template as a PHP variable named $data.properties.Page Owner :
ompress. The minified files must be configured in theme.config.php and in some cases in the theme files. Just search for ".js" and replace with ".min.js". If you use LESS ... tarting with VuFind 1.0RC2, a simple command-line PHP script is available to optimize the Solr index. ... lder under your VuFind installation and run:
php optimize.php
By default the script will optimize
reated module.
==== Custom Theme ====
VuFind®'s theme is determined by [[configuration:files:config.ini]] settings. Since each instance of VuFind® has its own [[configuration:files:config.ini]] in its [[configuration:local_settings_direc... from one another, it is possible to create a base theme for shared customizations and isolate minor, dist...
If you simply create a new instance with install.php and the web-based install script, VuFind® will at
just part of the setup of the module.
Then under config there's a module.config.php file containing the modules configuration. Right ... o that we can make our custom files in our custom theme. I'm just going to bring up my config.ini file in my local configuration directory. And I'm going to comment out the boot print three theme and uncomment the tutorial theme that we set up a few months ago. Inside my theme directory, inside my t
le's namespace and register them in your module's config/module.config.php instead of inside the main VuFind® module.
====1... ['search_backend']['factories'] section of module.config.php (if you are building this in a local custom modul... gin_manager section of your local module's module.config.php (if you are building this as a local extension); ... _results'] sections of your local module's module.config.php.
====6. Create Controllers====
In order to provi
e specific to themes, I need to go into my custom theme and find the theme.config.php file there. And I just need to create a helper's ... te in this helpers. So the helper section of your theme configuration is where all the view helpers are d
ed.less (only imports bootstrap.less, included in theme.config.php)
- @import "bootstrap";
- bootstrap.less (c... )
- icons.less (FA icon overwrites, included in theme.config.php)
Make sure you have a compiled.less in your them... for LESS to work: [theme]/css/less/
Configure in theme.config.php:
"less" => array(
"active" => true/false,
... ork, as long as the files you want to compile are listed under "less" in theme.config.php.
properties.Page Owner :
====== Video Discussion: Theme Accessibility ======
This recording, from the [[community_call:minutes202... ation about the accessibility features of the new theme being designed for inclusion in VuFind release 7.... deo is available as an [[https://vufind.org/video/Theme_Accessibility_Discussion.mp4|mp4 download]] or th... e and get some feedback about the new progressive theme is what I've been calling it. The new theme that'