Search:
This Site
Wiki
Home
Forum
Documentation
Videos
Bug Tracker
Wiki
Login
You are here:
Wiki :: List
Twitter Feed
Xataface Maillist
Sign up to receive the Xataface news letter with weekly updates and development tips.
Email:
Export CSV
Export XML
RSS
Found 135 records
Prev
1
2
3
4
5
Next
Showing
Results per page
Page name
Page id
Page title
Content
Keywords
Language
Original page
permissions.ini_file
26
permissions.ini_file
==The permissions.ini File== [[toc]] The permissions.ini file stores custom permissions and roles that can be used by an application. It is an optional file that should be placed in the application root directory (i.e. the same directory where your
permissions.ini, getPermissions, permissions
en
0
preferences
10
preferences
==Xataface Preferences== [[toc]] Xataface preferences can be defined in 3 ways: # In the ''[_prefs]'' section of rhe [[conf.ini file]] for global static preferences. # Implementing the [[getPreferences]] method in the [[Application Delegate Clas
preferences, prefs, getPreferences
en
0
Relationship_Permissions
111
Relationship Permissions
[[toc]] ==Synopsis== As relationships are a core feature of Xataface, it is helpful to understand how to handle permissions on related records. Even if you apply permissions to every table individually, you need to take into account the relationshi
relationships, permissions, rel_relationshipname__permissions, getPermissions, permissions.ini
en
GettingStarted:relationships
78
Relationships
==Relationships== Xataface allows you to define relationships between tables using the relationships.ini file. Xataface applications without relationships between tables can be quite boring. In our FacultyOfWidgetry application, we have implicitly d
relationships
en
relationships.ini_file
20
relationships.ini_file
==relationships.ini File Reference== [[toc]] ===Overview=== The relationship.ini file is a configuration file which is associated with a single table of a database application. It provides metadata about the table's relationships to other tables
relationships.ini file, relationships
en
0
secure
88
secure fields.ini directive
[[fields.ini file]] directive used only with [[container fields]]. If this flag is set, then the field contents will be treated in a secure manner and will obey the application permissions. If this directive is not set, then uploaded files in [[containe
secure,fields.ini file
en
Selected_Records_Actions
58
Selected_Records_Actions
==Creating a Custom ''Selected Records'' Action== [[toc]] If you view the ''list'' tab in any of your Xataface applications, you'll notice that there is a checkbox next to each row of the list, and there are a number of actions listed at the bottom
en
0
sendRegistrationActivationEmail
16
sendRegistrationActivationEmail
==sendRegistrationActivationEmail() Hook== A hook that can be implemented in the [[Application Delegate Class]] or the [[Table Delegate Class]] to override the sending of an activation email to the user. ===Signature=== function sendRegistrationA
en
0
setSecurityFilters
91
setSecurityFilter() method
== Example == In the delegate class for the users table:
en
registration_form
98
Setting up User Registration
[[toc]] ===Synopsis=== Xataface optionally enables you to allow users to register for an account in your application. If your ''users'' table includes a column for email, it will also perform email validation before the account is activated. Befor
registration form, _auth, authentication
en
ShoppingCart
31
ShoppingCart
==Xataface Shopping Cart Module== [[toc]] Status: Under development Current Version: 0.2 ===Synopsis=== Add a shopping cart to your xataface application. You can treat any record as a product that can be sold. Includes Paypal connectivity,
en
0
struct
56
struct
en
0
tab
48
tab
==tab directive of the fields.ini file== [[toc]] The ''tab'' directive of the [[fields.ini file]] specifies which tab of the record edit form a field should be displayed on. Xataface supports multiple tabs on the edit form by way of this ''tab'' di
en
0
table
66
table
When using widget:type table, it will store the data as XML. So the field type must be TEXT (or varchar... but text is better). You can decide which columns you want in the table by creating sub-fields in your fields.ini file as follows: Suppose you
en
0
templates:tags:use_macro
24
templates:tags:use_macro
==use_macro Template Tag== ===Synopsis=== The use_macro tag includes another template into the current template with the option to override certain sections. ===Parameters=== {| class="listing listing2" |- ! Name ! Description ! Version |
en
0
testpage2
2
testpage2
Another test page [[testpage]]
en
0
lookup
61
The Lookup Widget
Return to [[widget:type]] page to see list of all widget types. Back to [[fields.ini file]] to see other fields.ini directives. [[toc]] ===Synopsis=== The lookup widget allows users to look a record from another table to insert into the field.
lookup widget, widget:filters, widget:-filters:limit, widget:table
en
0
reCAPTCHA_module
99
The reCAPTCHA module
[[toc]] ===Synopsis=== The Xataface reCAPTCHA module CAPTCHA support to any Xataface form that is rendered to the public (i.e. when users are not logged in). This is particularly useful for the [[registration form]] as a means of spam prevention.
captcha, registration, validation
en
relationship
68
The relationship fields.ini directive
[[fields.ini file|Return to fields.ini file directives]] [[toc]] ===Synopsis=== Certain types of widgets (e.g. grid (v1.0) and checkbox (v1.2)) support the relationship directive which allows them to effectively add/remove records from a specifie
grid widget, relationship, checkbox
en
0
_output_cache
45
The Xataface Output Cache
Note: There was a bug in the output cache affecting Xataface version 1.0 to 1.3rc1. If you are using a version of Xataface older than 1.3rc2 then you should either disable the output cache, or replace the Dataface/Outpu
output cache
en
0
timestamp
44
timestamp
Return to [[fields.ini file]] A very simple sample of this could be your table contains the table date_created as a type of date. In your fields.ini, you would include this: [date_created] timestamp=insert widget:type=hidden T
timestamp, date, datetime
en
0
GettingStarted:triggers
81
Triggers
==Triggers== Triggers are methods that can be defined to carry out custom behaviors when certain events occur in the application (e.g., when records are saved, inserted, or deleted). Triggers are generally regarded as one of the more advanced featur
triggers, beforeSave, afterSave, beforeInsert, afterInsert,sending email
en
Troubleshooting
49
Troubleshooting
==Xataface Troubleshooting== This document is intended to help Xataface developers through some of the most common issues. [[toc]] ==All I get is a blank white screen!== The most common issue mentioned in the forums is that an application come
en
0
URL_Conventions
37
URL_Conventions
==Xataface URL Conventions== [[toc]] Xataface adheres to a few simple URL conventions for all of its actions. When you understand how Xataface URLs work you begin to get far more out of your applications. By specifying the appropriate query parame
URL Conventions, GET Parameters, POST parameters, Request Parameters
en
0
Using_RecordGrid
115
Using RecordGrid
==Xataface RecordGrid Class and Template== Also see [http://lamp.weblite.ca/dataface-0.6/docs/index.php?-table=Classes&-action=browse&ClassID=30| RecordGrid in the API Doc]. [[toc collapse=0]] ===Introduction=== As we learned in '''[http://xat
RecordGrid, Dataface_RecordGrid, data in tabular form
en
GettingStarted:valuelists
77
Using Valuelists
==Using Value-lists== Value-lists serve as vocabularies that can be used for fields such as select lists, checkbox groups, and auto-complete fields. So far we have not used any enumerated fields such as select lists, checkbox groups, or auto-complet
valuelists, __sql__, select lists, checkbox options,checkbox groups,vocabularies
en
GettingStarted:using_first_app
75
Using Your First Application
==Using Your First Application== A Web Lite application, at its core, provides 4 standard operations: Add new records, edit existing records, delete records, and find records. This section gives a brief overview of how to use your first Dataface applic
"find form","edit form","delete record","user interface",ui,template,look and feel
en
validateRegistrationForm
15
validateRegistrationForm
==validateRegistrationForm() hook== A hook that validates the input into the user registration form to make sure that the input is valid. ===Signature=== function validateRegistrationForm( array $values ) : mixed ====Parameters==== {| class
en
0
validators
95
validators:NAME fields.ini directive
Return to [[fields.ini file]] [[toc]] ===Synopsis=== In the fields.ini file you can specify validation rules to be applied to any field by adding the validators:NAME directive in that field's section of the [[fields.ini file]]. ===Available Va
validation, form validation, validators,validator:name
en
validators:VALIDATOR_NAME:message
96
validators:VALIDATOR_NAME:message directive for the fields.ini file
Return to [[fields.ini file]] [[toc]] ===Synopsis=== If you want to customize the error message associated with a particular [[validator|validation rule]] you can use the validators:VALIDATOR_NAME:message directive in the fields.ini file. ===F
validation messages,error messages,form validation rules
en
Found 135 records
Prev
1
2
3
4
5
Next
Showing
Results per page
Powered by Xataface
(c) 2005-2010 All rights reserved