Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I've been using Foundation 3 outside of Drupal, so I was aware of this, but some people who are new to Zoundation may not know.
This is a request to add a comment to the STARTERKIT.info
file that, in order to use Magellan or Clearing javascripts, lines 17-18 must be un-commented from javascripts/foundation/app.js
in addition to un-comenting //scripts[] = javascripts/foundation/app.js
in the STARTERKIT.info
file.
// $.fn.foundationMagellan ? $doc.foundationMagellan() : null;
// $.fn.foundationClearing ? $doc.foundationClearing() : null;
I don't think it's necessary to alter any of the Foundation app.js code, just a .info comment should suffice.
Thanks!
--Tony
Comments
Comment #1
RowboTony CreditAttribution: RowboTony commentedI'm building another new Zoundation based site today and have realized today that Clearing is included with zoundation_support as zoundation_clearing.
So there are two steps to get Clearing working in your Zoundation based sub-theme
1) un-comment the line in the .info
2) Enabled the zoundation_clearing sub-module that is included with zoundation_support
This is a smart way to include and enable these features for use with the Zoundation theme, as the source code of Foundation remains un-altered in the Drupal theme and modules. This is mostly just a documentation issue to understand what module provides what Foundation feature. Hopefully my notes will help anyone else who runs into this issue.
--Tony
Comment #2
abelb CreditAttribution: abelb commentedfixed