jeFgButtonPlugin - 1.0.0

Helpers to build fg button with jquery css framework

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

jeFgButton

Overview

Helper to build fg button on top of jquery css framework (full detail)

Example of the definition for the dependancy

<?php use_stylesheet('http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css')   ?>
<?php use_javascript('http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js')         ?>
<?php use_stylesheet('/jeFgButtonPlugin/css/fg-ui.css') ?>
<?php use_javascript('/jeFgButtonPlugin/js/fg-ui.js')       ?>

The most basic fg_button

<?php echo fg_button('Simple Example') )    ?>

A fg_button_to toward an absolute url

<?php echo fg_button_to('goto sf.org', 'http://www.symfony-project.org')    ?>

A fg_button_to toward an internal url

<?php echo fg_button_to('goto sf.org', '@homepage') ?>

As usual the plugin contains a demo module to play with in

plugins/jeFgButtonPlugin/modules/jeFgButtonPluginDemo

Just symlink/copy it in /apps/frontend/modules and you are done

TODO

  • Improve the documentation

License

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.