Menu icon Foundation

Designer

My Posts






My Comments

Tommy McGahee commented on Tommy McGahee's post over 2 years

When did the spam start on the forums? 

Tommy McGahee commented on Tommy McGahee's post over 2 years

Bumpety bump. Does anyone have any suggestions / insight?

Tommy McGahee commented on Tommy McGahee's post over 2 years

I tried editing my post to change the code example but now it throws an error and won't republish, so here is the code:

<div class="small-12 medium-3 columns" data-sticky-container>
    <nav class="columns sticky" data-sticky data-anchor="my-channel" data-sticky-on="large">
    <ul class="vertical menu" data-magellan data-accordion-menu>
      {exp:channel:categories channel="my-channel" show_empty="no" style="linear"}
      <li>
          <a href="#{category_url_title}">{category_name}</a>
        {if count != '5' AND count != '6' AND count != '7' AND count != total_results}
        <ul class="menu vertical nested">
        {/if}
        {exp:channel:entries channel="my-channel" show_empty="no" orderby="entry_id" sort="asc" category="{category_id}" disable="member_data|pagination|trackbacks"}
            {if category_name != title AND title != ''}
          <li><a href="#{url_title}">{title}</a></li>
          {/if}
        {/exp:channel:entries}
        {if count != '5' AND count != '6' AND count != '7' AND count != total_results}
        </ul>
        {/if}
      </li>
      {/exp:channel:categories}
    </ul>
  </nav>
</div>

Tommy McGahee commented on Tommy McGahee's post almost 3 years

Edit: Found it, resolving thread.

Thanks Brian, that did the trick. We are using CodeKit to generate and manage the F6 project, and it seems to be throwing some incorrect undefined errors, which is what was confusing me at first.

Thanks for the info too on the double dip safeguard!

Is there a function to mark posts as solved?

Thanks,
Tommy

Tommy McGahee commented on Tommy McGahee's post almost 3 years

Thanks for the reply Brian! Our JS file, so far, is very simple, and we're initiating foundation with a single line:

 $(document).ready(function(){
  $(document).foundation();
});

Dumb question, but how should we structure that init and the parameter settings to work together?

I get a "Foundation is not defined" error when doing this:

$(document).foundation();
Foundation.Accordion.defaults['slideSpeed'] = 250; 

Tommy McGahee commented on Tommy McGahee's post almost 3 years

Any takers?

Tommy McGahee commented on Tommy McGahee's post almost 3 years

Nevermind, it looks like adding the new path in the SASS block is working. I didn't see the SASS errors in terminal before and it looks like the issue is due to the new way F6 handles media queries.

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Tommy McGahee's post over 2 years

When did the spam start on the forums? 

You commented on Tommy McGahee's post over 2 years

Bumpety bump. Does anyone have any suggestions / insight?

You commented on Tommy McGahee's post over 2 years

I tried editing my post to change the code example but now it throws an error and won't republish, so here is the code:

<div class="small-12 medium-3 columns" data-sticky-container>
    <nav class="columns sticky" data-sticky data-anchor="my-channel" data-sticky-on="large">
    <ul class="vertical menu" data-magellan data-accordion-menu>
      {exp:channel:categories channel="my-channel" show_empty="no" style="linear"}
      <li>
          <a href="#{category_url_title}">{category_name}</a>
        {if count != '5' AND count != '6' AND count != '7' AND count != total_results}
        <ul class="menu vertical nested">
        {/if}
        {exp:channel:entries channel="my-channel" show_empty="no" orderby="entry_id" sort="asc" category="{category_id}" disable="member_data|pagination|trackbacks"}
            {if category_name != title AND title != ''}
          <li><a href="#{url_title}">{title}</a></li>
          {/if}
        {/exp:channel:entries}
        {if count != '5' AND count != '6' AND count != '7' AND count != total_results}
        </ul>
        {/if}
      </li>
      {/exp:channel:categories}
    </ul>
  </nav>
</div>

You commented on Tommy McGahee's post almost 3 years

Edit: Found it, resolving thread.

Thanks Brian, that did the trick. We are using CodeKit to generate and manage the F6 project, and it seems to be throwing some incorrect undefined errors, which is what was confusing me at first.

Thanks for the info too on the double dip safeguard!

Is there a function to mark posts as solved?

Thanks,
Tommy

You commented on Tommy McGahee's post almost 3 years

Thanks for the reply Brian! Our JS file, so far, is very simple, and we're initiating foundation with a single line:

 $(document).ready(function(){
  $(document).foundation();
});

Dumb question, but how should we structure that init and the parameter settings to work together?

I get a "Foundation is not defined" error when doing this:

$(document).foundation();
Foundation.Accordion.defaults['slideSpeed'] = 250; 

You commented on Tommy McGahee's post almost 3 years

Any takers?

You commented on Tommy McGahee's post almost 3 years

Nevermind, it looks like adding the new path in the SASS block is working. I didn't see the SASS errors in terminal before and it looks like the issue is due to the new way F6 handles media queries.

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content