I need to add piwik tracking code to each phabricator page, and also some custom html to provide a top menu on every page. How can I do that?
Didn't find any doc on theming / templating.
Thanks !
I need to add piwik tracking code to each phabricator page, and also some custom html to provide a top menu on every page. How can I do that?
Didn't find any doc on theming / templating.
Thanks !
We don't have any current plans around skinning, though we will progress to allowing some minor branding replacement over time.
If you need this functionality sooner, we'd recommend maintaining a fork (which many installs pursue). The place to start for page generation is here: https://secure.phabricator.com/diffusion/P/browse/master/src/view/page/PhabricatorStandardPageView.php
For others, we managed to add piwik code by changing the getHead function (https://secure.phabricator.com/diffusion/P/browse/master/src/view/page/PhabricatorStandardPageView.php;c8977d580ef14897a96b34ea52dfafc603f366ce$298) like documented here : http://pastebin.com/1A4GP3ks