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
site_with_backoffice
86
==How to build a site with an optional login form== To publish a public site with data without any need to login to access, here is the code : function getPermissions(&$record){ if ( isAdmin() ) return Dataface_PermissionsTool::ALL();
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
setSecurityFilters
91
setSecurityFilter() method
== Example == In the delegate class for the users table:
en
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
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
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
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
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
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
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
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
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
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
no_access_text
59
no_access_text
Whenever the NO_ACCESS permission is given for a field, normally the text NO ACCESS appears. But we might want to display another text. Here is an example of the text subscribe is used instead of NO ACCESS whenever the NO_ACCESS permissions is given.
en
0
Module_Developers_Guide
112
Module Developers Guide
[[toc]] ==Why Write a Xataface Module?== Xataface modules are components that can be used to extend Xataface's functionality in a generic way so that it can be used on multiple applications. If you find yourself trying to add the same functionality
modules
en
modules
30
Xataface Modules
[[toc]] Xataface provides a number of hooks that allow developers to create modules to extend its functionality. This page lists a handful of the currently available modules. * [[ShoppingCart|Shopping Cart]] - Converts your application into a shopp
modules, captcha
en
0
meta:class
127
meta:class relationships.ini file directive
Return to [[relationships.ini file]] [[toc]] The ''meta:class'' directive allows you to ascribe special meaning to a relationship which Xataface can use in various parts of your application to provide enhanced capabilities. For example you can sp
en
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
loginFailed
184
loginFailed() Application Delegate Trigger
[[toc]] The loginFailed() method of the Application Delegate class is executed after a failed login attempt. '''Available since 2.0.1''' ==Example== function loginFailed($username, $userIp, $time){ error_log("Failed login for user
login permissions failed password
en
list:type
128
list:type relationships.ini file directive
Return to [[relationships.ini file]] [[toc]] The list:type directive allows you to override the default list that is used to display related records. As of Xataface 1.3 there is only one possible value that will have any effect on this directive: "
en
LDAP_or_Active_Directory
65
How to authenticate users with LDAP or Active Directory
[[toc]] It is often easier to use the existing LDAP or Active Directory to authenticate users in Xataface than to create a new password for every user in the table users. ===In the conf.ini=== In the conf.ini file, in the [auth] part, you need to
LDAP,Active Directory,Authentication
en
0
Key
83
fields.ini Directive: Key
The '''Key''' directive is used only when the table is a view and you need to explicitly define which columns are part of the primary key. For example, if we created a view on the books table to only show books in a given year as follows: create
Key, Views, MySQL Views, Create View, PRI, Primary Keys
en
Introduction_to_the_Xataface_API
101
Introduction to the Xataface API
Back to [http://xataface.com/wiki the wiki] [[toc]] ===Synopsis=== Xataface is provides an API to help in developing your own custom actions. This API includes objects and functions to more easily interact with the database (i.e. search, edit, d
xataface api, df_get_record, df_get_records_array, Dataface_Record, Editing, Saving, Loading, Searching
en
Introduction_to_RSS_Feeds_in_Xataface
40
Introduction_to_RSS_Feeds_in_Xataface
==Introduction to RSS Feeds in Xataface== [[toc]] A default Xataface application provides RSS feeds to any found set in your application. This article explains a little bit about RSS and how you can configure Xataface to give you the desired result
RSS Feeds
en
0
Internet_Media_Manager
8
Internet Media Manager
'''Manage your videos and photos all in one place''' [[toc]] ===Watch the Guided Tour (6 minutes)===
Internet Media Manager,resize photos,image gallery,photo gallery,video gallery
en
0
init
140
init() Delegate Class Method
== Synopsis == This method is called once, just after the table is loaded for the first time. It allows you to specify initialization details, such as [[setSecurityFilters|security filters]]. Note that it takes a single parameter: a Dataface_Table o
en
index_page
1
index_page
==Documentation== [[toc]] ===Introductory=== * [[about|About Xataface]] * [http://xataface.com/documentation/tutorial/getting_started Getting Started Tutorial] * [[How to build a PHP MySQL Application with 4 lines of code]] * [[Troubleshooting
en
0
http://xataface.com/documentation/how-to/site_with_backoffice_How_to_build_a_site_with_a_backoffice_
84
A site with a backoffice
==A site with a backoffice== To create a site with a backoffice for the administrator, so that the visitors do not have to log in to read the pages, you add this code in the ApplicationDelegate.php file in the conf directory : function getPerm
en
http://xataface.com/documentation/how-to/site_with_backoffice
85
How to build a site with an optional login form
==How to build a site with an optional login form== To publish a public site with data without any need to login to access, here is the code : function getPermissions(&$record){ if ( isAdmin() ) return Dataface_PermissionsTool::ALL();
en
How_to_granulate_permissions_on_each_field
63
How_to_granulate_permissions_on_each_field
==How to granulate permissions on each field== To reach this aim, there is the method fieldname__permissions to place into the delegate class of the table. ===Getting the role=== First it is necessary to know the user's role. For this, the metho
en
0
Found 135 records
Prev
1
2
3
4
5
Next
Showing
Results per page
Powered by Xataface
(c) 2005-2010 All rights reserved