About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:code_generators

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
development:code_generators [2017/08/02 16:15] demiankatzdevelopment:code_generators [2017/08/02 17:58] demiankatz
Line 46: Line 46:
 cd $VUFIND_HOME cd $VUFIND_HOME
 php public/index.php generate theme MyTheme php public/index.php generate theme MyTheme
 +</code>
 +
 +
 +===== Creating Theme Mix-ins =====
 +
 +Starting with VuFind 4.1, a generator is available to create an example [[development:architecture:user_interface#mix-ins|theme mix-in]] for you to customize. The generator creates a new mix-in directory with an example configuration and script; you will need to manually customize this and add it to your theme.config.php's mixins array in order to activate it.
 +
 +==== Usage ====
 +<code bash>
 +cd $VUFIND_HOME
 +php public/index.php generate thememixin MyMixin
 </code> </code>
  
development/code_generators.txt · Last modified: 2023/11/09 21:19 by demiankatz