Skip to content

Commit

Permalink
Added how to create settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
themefuse committed Jun 24, 2015
1 parent 7e9734d commit 4745bac
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions helpers/php.rst
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,8 @@ A convenient way to create forms. You can create a form class instance and give
.. _fw-form-customize-errors:

.. rubric:: Customize errors
Customize errors
^^^^^^^^^^^^^^^^

By default the errors are displayed right before the ``<form>`` tag.
You can display the errors in your own way and cancel the default display.
Expand Down Expand Up @@ -646,7 +647,8 @@ Before the errors are displayed, an action is fired so you can use it:
.. _fw-form-ajax-submit:

.. rubric:: Ajax submit
Ajax submit
^^^^^^^^^^^

You can use `this script <https://github.com/ThemeFuse/Unyson/blob/master/framework/static/js/fw-form-helpers.js>`__ to make ``FW_Form`` ajax submittable.

Expand Down Expand Up @@ -677,6 +679,14 @@ Run the initialization script:
});
});
.. _fw-form-settings-page:

Create Settings Page
^^^^^^^^^^^^^^^^^^^^

If you want to create a settings page similar to Theme Settings,
`this <http://sourcebox.io/d3fe4eed474c30ec71edef7a6a4f039c/php>`__ will help you getting started.

.. _fw-flash-messages:

FW_Flash_Messages
Expand Down

0 comments on commit 4745bac

Please sign in to comment.