Yii extension for Foundation V2
Foundation is an easy to use, powerful, and flexible framework for building prototypes and production code on any kind of device.
Check the Foundation 3 extension
Dive into responsive prototyping with foundation
Demo ¶
Setup instructions ¶
- Download the files and extract them to you project's desired folder
Add the following code to your application configuration: ~~~ [php] ... 'preload'=>array(
..... 'foundation', // preload the foundation component
), 'components'=>array(
..... // assuming you extracted foundation under extensions 'foundation' => array("class" => "ext.foundation.components.Foundation"),
), ... ~~~
Start using it, check the documentation on using forms, and UI Components
Info: This is a work in progress, not all components of foundation are to be found in the Yii extension yet. but you can still use them as you normally would use Foundation.
Resources ¶
- Forum Discussion : for any questions or community support
- Project page : to fork and contribute
- Demo
- Foundation
Changelog ¶
0.0.4 May 20, 2012
- Added Password, File, Captcha Fields
- Scripts are now rendered using CClientScript::POS_END
- Foundation.registerJs is now public whenever you want to force the include
0.0.3 April 22, 2012
- Added NavBar and SubNav
0.0.2 April 15, 2012
- Added Breadcrumbs and Pagination
0.0.1 April 10, 2012
- Initial Release
Foundation FTW :)
Thank you for making this extension, keep up the good work ;)
Support
Does it support html5 only. Thanks right timing thinking of such feature.
great
Looks very promising! I'm definitely gonna try this. Thanks!
Awesome but there's an issue.
When you view a site made with Yii using this extension via a proxy browser, it doesn't seem to properly apply all the necessary styles and responsiveness to the layouts.
For example, use http://www.proxybrowsing.com to view http://foundation.oakwebdev.com/. You can see that the layout is all off, and also - the responsive feature is not active when you scale the browser size.
For sites that's using just Foundation without Yii, it works fine.
Any ideas?
@enyceedanny
Im seeing the site just fine using the proxy service, responsive and all. can you provide any screenshots? and please do so through the forum which is a better place to discuss this kind of things, or even better the issues page
Thanks,
Submitted issue
I posted in the issues page along with a screenshot.
Thanks
upgrade
will there be an update for foundation 3?
@wisp upgrade
I hope so, but it's not a small piece of work - it was a 'work in progress' anyway, so it'll probably take sometime to update to foundation 3. :(
Upgrade
Yes, there will be an upgrade to foundation 3. I'll work this week on it, and hopefully we will see the first version next weekend. Ill create a new extension for it, as well as a new site, so that we can keep the foundation 2 version for people still using it.
@Asgaroth
You legend :)
great job
thk u for this ext
very cool!
Still coded?
Are you still working on this extension? Or maybe work has stopped and you moved to Foundation3 instead?
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.