Jump to content

Sergio

Members
  • Posts

    531
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Sergio

  1. Hi all, today I finally managed to get everything working together properly. Now here is my Foundation 5 dropin template: https://github.com/gebeer/pwfoundation5. It uses Foundation 5 SCSS files. There's a quite extensive readme file with instructions. Cheers gerhard gerhard, many thanks for this updated profile! I noticed two problems on your files. First, in the readme file, the link for the new Zurb gem (version 5) is: http://foundation.zurb.com/docs/sass.html If you just run `gem install zurb-foundation` , the gem v4 will be updated instead. It's also good to mention the new upgrade instructions: http://foundation.zurb.com/docs/upgrading.html The other problem is in config.php. ProcessWire's 2.4 has change this file a lot. I kept this new version and changed the lines 50 and 58 to make your profile work: /** * prependTemplateFile: PHP file in /site/templates/ that will be loaded before each page's template file * * Uncomment and edit to enable. * */ $config->prependTemplateFile = '_init.php'; /** * appendTemplateFile: PHP file in /site/templates/ that will be loaded after each page's template file * * Uncomment and edit to enable. * */ $config->appendTemplateFile = '_main.php'; Cheers!
×
×
  • Create New...