I'm looking for a token field (or token input) to use with Foundation 5 project. I did not find any on their website.
Bootstrap has one for e.g.: http://sliptree.github.io/bootstrap-tokenfield/
and jQuery too: http://loopj.com/jquery-tokeninput/
I there a plugin for foundation somewhere?
Related
I use django and swagger. I write doc string in my django function like this :
/?first_name__icontains=saeed&age__gte=20.
But swagger show them like this
how can I escape characters like & in django and swagger?
Edit:
My code in docstring of a django view
Result in Swagger
& being rendered as & in code blocks is a bug in Swagger UI 2.x which was fixed in UI 3.3.0:
https://github.com/swagger-api/swagger-ui/issues/2700
You need to update your Swagger UI version.
Is angular required to use foundation-apps? I don't want to use angular, but get an error in foundation-apps.js when i run without it.
Same as Twitter Bootstrap's Js components were built using the jQuery framework, Foundation for apps team did choose the angularJs framework to build their Js components. without it none of those should work :
- Panels
- Action-Sheet
- Off-canvas Menu
- Modal
- Notification
- Accordion
- Interchange
- Popup
- Tabs
- templates caching
- the built-in routing
- ...
If you don't want to use angular I would recommand using Foundation for Sites 6 instead as it uses jQuery, flex box, basically similar naming classes, grids and similar or even more components.
I am new to Foundation for Apps and am trying to get deep linking to work with the zf-tabs directive. Basically, I have a view with tabs and I am trying to use $state.go in my controller to navigate to the view and activate a particular tab. I have gotten the URL to write correctly with the hash but the tab doesn't activate. I see a lot of discussion on how to do this in the other foundation frameworks but there is zero info on this for Foundation For Apps.
I have a single page app using ajax to load pages. I'm using Foundation 5 as the framework. My question is why don't the foundation components load when a new page is loaded to the dom?
For example, I'm using several components like Reveal, Alert, Abide and Tooltip. I was able to get the alert component to fire by adding this:
<script>
$(document).foundation('alert','events');
</script>
But how do I just get everything to fire?
I need to use Zurb Foundation front-end framework and Kentico CMS v7's portal engine development model. When I import the framework CSS into the CMS and apply the Foundation style sheet to a Page Template, the CMS styles and Foundation styles step on each other making the Design tab pretty much useless for the user:
No style applied:
Style applied:
I am wondering if I need to prefix styles in the Foundation CSS classes to try to prevent conflict, however my initial quick attempts didn't seem to have much affect.
Is there a way to include the Foundation CSS in a way that doesn't prevent portal engine development?
Only thing i can think of now is to add the CSS conditionally.
Put
<%= CMS.CMSHelper.CMSContext.ViewMode != CMS.PortalEngine.ViewModeEnum.Design ? #"<link rel=""stylesheet"" href=""http://www.zurb.com/assets/foundation.top-bar.css"">" : "" %>
into a page layout. I tried to add this to layout of master page (Root document -> Master page -> Edit template properties -> Layout) and it works fine. But it will add the CSS to the . Unfortunately this code does not get resolved in head section of master page.