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
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
file
89
==Dynamic select boxes== To create two select boxes whose one is dependent (slave) of the other (master), we need to use some javascript with Jason. Create the valuelists.ini: ;valuelist for the slave [slaves_list] __sql__ = "select sla
en
Dynamic_select_boxes
90
==Dynamic select boxes== To create two select boxes whose one is dependent (slave) of the other (master), we need to use some javascript with Jason. Create the valuelists.ini: ;valuelist for the slave [slaves_list] __sql__ = "select sla
en
Authenticating_Against_the_Joomla!_Users_Table
93
Xataface is able to use the joomla users table to authenticate against so that, you can allow your users to log into your Xataface application using the same credentials as they use to access your joomla website. Achieving this level of integration requir
joomla authentication md5
en
field__pushValue
105
[[toc]] The field__pushValue() delegate class method can be used to transform a field value as entered in the edit form into a format that can be stored in the database.. Sometimes it is the case that we want users to be able to work with data differe
pullValue, pushValue
en
column:legend
182
en
advmultiselect
183
en
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
afterCopy
123
afterCopy Delegate class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== A delegate class method that will be executed after a record is copied using the copy set or copy selected function. All xataface copies are shallow which means that related records are
afterCopy, copy record hook
en
after_action_activate
181
after_action_activate Delegate Class Method
Return to [[Application Delegate Class]] [[toc]] The '''after_action_activate''' hook is a method that can be defined in the [[Application Delegate Class]] which is called after an account has been activated via the registration process. The full
Registration, activation, register, activate, users
en
Authenticating_Against_the_PHPBB_Users_table
92
Authenticating Against the PHPBB Users Table
Return to [[authentication]] [[toc]] Xataface is able to use the PHPBB users table to authenticate against so that, you can allow your users to log into your Xataface application using the same credentials as they use to access your PHPBB message fo
PHPBB, authentication, security, authentication modules
en
beforeAddRelatedRecord
108
beforeAddRelatedRecord Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ==Synopsis== The ''beforeAddRelatedRecord'' delegate class method can be implemented in any table's delegate class. It will be executed before any related record is added to that table's relationships
beforeAddRelatedRecord, Delegate class methods, relationship triggers
en
beforeCopy
124
beforeCopy Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== A delegate class method that will be executed before a record is copied using the copy set or copy selected function. All xataface copies are shallow which means that related records ar
beforeCopy, copy records
en
beforeHandleRequest
107
beforeHandleRequest Application Delegate Class Method
Return to [[Application Delegate Class]] [[toc]] ===Synopsis=== The beforeHandleRequest method is a very useful hook that can be implemented in an [[Application Delegate Class]] to perform some processing before every request. This hook is c
beforeHandleRequest, Application Delegate
en
beforeSave
109
beforeSave Trigger
Back to [[Delegate class methods]] [[toc]] ===Synopsis=== The beforeSave trigger can be implemented in any table's [[delegate class|Delegate Class Methods]] to perform functionality that should be run *before* a record of that table is saved.
triggers, beforeSave,
en
before_authenticate
102
before_authenticate hook
Return to [[Application Delegate Class]] The '''before_authenticate''' hook is a method that can be defined in the [[Application Delegate Class]] which is called before the authentication step occurs on '''every''' request (not just on login). It is m
authentication
en
Cached_permissions
179
Cached Permissions
==Cached Permissions== ===Introduction=== When you insert a SQL query in your getPermissions function, this will slow down the app dramatically because this function is called by each query. To resolve this problem, it is better to use cached permissi
permissions, cache, quick, query
en
calendar
100
Calendar Widget
Back to [[widget:type]] [[toc]] ===Synopsis=== The calendar widget is the default widget for editing date and datetime fields. It is javascript pop-up calendar that allows users to select date and time visually. It can be configured to allow di
calendar widget, fields.ini file, widget:type
en
Clean_the_html_for_the_export
178
Clean the HTML to export data
==Clean HTML tags and entities to export your data== #Override the display() of the field to strip the tags... but this would affect all parts of the application where the HTML fields are displayed. #Create a grafted field, then override its display to
en
Creating_Printable_Reports
82
Creating a Custom Printable Report
==Creating a Printable Report== [[toc]] It is often useful to provide your users with a printable report that is generated from your database. Although Xataface doesn't include an explicit reporting module to allow the end users to create their own
en
GettingStarted:first_application
74
Creating your First Application
==Creating Your First Application== Build a simple Xataface application. For our first Xataface application we will try to build a web site for Faculty of Widgetry (From the example in the "Why Use Xataface" page). The web site needs to store inform
htaccess first application installation
en
GettingStarted:customizing
76
Customizing Field labels, descriptions, and widgets
==Customizing Field labels, descriptions, and widgets== Using simple INI configuration files, you can customize the look and feel of your application. You can change widgets, labels, field descriptions, and more. In the previous 2 sections we learned
widget labels descriptions onclick handlers
en
Customizing_Theme_Based_on_IP_Address
103
Customizing Theme Based on IP Address
This article deals with the following topics: # Using [[field__pullValue]]/[[field__pushValue]] methods to customize how a field is edited and stored in the database. # Using [[beforeHandleRequest]] to modify the application settings based on the user
ip address, pullValue, pushValue, beforeHandleRequest
en
field__fieldname
141
Defining Calculated Fields
Return to [[Delegate class methods]] Xataface allows you to define calculated fields using the delegate class. These fields won't be visible in the UI by default, but they will be accessible to some modules (e.g. the HTML Reports Module) and they are
calculated fields, field__fieldname
en
GettingStarted:delegate_classes
80
Delegate Classes
==Delegate Classes== Use Delegate classes to add permissions, custom serialization, display filters, calculated fields, import/export functionality, and other custom functionality to your application. For many applications, the configuration files p
delegate classes,getTitle,getPermissions
en
documentation_guide
70
Documentation Guide
Xataface uses a wiki to manage its online documentation which can be edited by anyone. All you have to do is [http://xataface.com/wiki/index.php?-action=login login with your forum username and password] ([http://xataface.com/forum/profile.php?mode=regis
documentation wiki
en
fieldname__default
133
fieldname__default Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== Xataface allows you to pre-populate any particular field in a table by adding a fieldname__default method to the table's delegate class of the form: function fieldname__default(
default, initialize, populate, pre-populate, delegate class default
en
fieldname__validate
94
fieldname__validate Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== Xataface allows you to add validation on any particular field in table by adding a fieldname__validate method to the table's delegate class of the form: function myfield__valida
validate, validation, delegate class validation, custom validator
en
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
field__pullValue
104
field__pullValue delegate class method
[[toc]] The field__pullValue() delegate class method can be used to transform database from the database for use in an edit/new record form. Sometimes it is the case that we want users to be able to work with data differently than it is stored in the
pushValue, pullValue
en
Found 135 records
1
2
3
4
5
Next
Showing
Results per page
Powered by Xataface
(c) 2005-2010 All rights reserved