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

RowboTony’s picture

I'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

; Uncomment to use any of the theme scripts below. By default, they are turned off.
;scripts[] = javascripts/foundation/jquery.foundation.magellan.js
;scripts[] = javascripts/foundation/jquery.foundation.reveal.js
scripts[] = javascripts/foundation/jquery.foundation.clearing.js
;scripts[] = javascripts/foundation/jquery.foundation.joyride.js

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

abelb’s picture

Assigned: Unassigned » abelb
Status: Active » Fixed

fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.