=== custom tables ===
Contributors: Stefan M.
Donate link: http://blog.murawski.ch/2011/07/custom-tables-wordpress-plugin-tester-gesucht/
Tags: custom tables, tables, databases, custom databases
Requires at least: 3.2
Tested up to: 3.2.1
Stable tag: trunk

Create Tables and show on a page/article. Usable for all kind of diffrent databases. Freely definable fields for any purpose.

== Description ==

With this Plugin, the Admin can very simply create an new Table in the Database.
The Table can filled in manually over the WordPress Admin Menu with new entries, or he can choose the way over Excel for MultiEditing all lines and reimport the data as CSV File.
The Plugin will create diffrent Shortcodes to add this Tables to the WordPress sites.

The Demo Table can be added with `[wctable id="1"]` or `[wctable]` to the page as example.
All Tables are full supprting HTML Code, therefor its not problem to add pictures or links to any specific Article or Page.
Also it supports search and sort orders and caching functionalities for all output of the plugin to have a high performance on the WordPress installation.
Instructions are added in the plugin itself, including pictures and demo db to see how everything is working!

You can add Search form `[wctsearch felder="id,name"]` and Filters `[wctselect id="1" field="name"]` or also the artcile archive with `[wctdate]` and `[wctarchive]`

As example, you can create an index list of all restaurants of a region and people can then search in the table for a restaurant by the city and click on the entry to get more detail on the separate page / article.
And of corse you cannot only add one table, you can add as much as diffrent tables as you want without any limitation! So, create your own lists for whatever you want.

If you have questions or problems, please do not hesitate to contact us: [web updates kmu](http://blog.murawski.ch/2011/07/custom-tables-wordpress-plugin-tester-gesucht/ "web updates kmu")

== Installation ==

1. Extract the content of the `custom-tables.zip`
2. Upload the extracted content to the `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Configure the Plugin on the `Custom Tables` page
5. If needed, edit the Plugin `styles.css` file for your design

== Screenshots ==

1. Screenshot of the Page how the Table is look like
2. Demo of the Overlay function which shows up, if the mousecurser move over an Entry (on/off switchable)
3. You can modify your table as much as you want. Complete DB functionality behind
4. You can modify, add or delete all Entries in the list Online with this option
5. Import and Export of the table is possible. Export it, Edit the Excel sheet and import it again. Simply!
6. Setup of how the Table should be shown, which fields aso.

== Frequently Asked Questions ==

== Multilanguage Support ==

This plugin is supporting multilanguage with the [qtranslate](http://www.qianqin.de/qtranslate/download/ "qtranslate") plugin. 
You need to create complete Table View Setup and not per field:

Example:
`<!--:de--><td>de [date]</td><td><b>[title_de]</b></td><td>[description_de]</td><!--:-->
<!--:en--><td>en [date]</td><td><b>[titel_en]</b></td><td>[description_en]</td><!--:-->`

== Known Bugs ==

= the_editor() modifications =
Plugins which will modify the standard editor, such as qtranslate are in general not compatible with this plugin.
The problem is that you cannot see the editor textfield in all view setup areas, bacause of the conflict.

qtranslate plugin is the only plugin which is supported for this plugin.
If you find a incompatible plugin, please rapport this and it will be fixed (is a 5 Min fix / plugin).

== Changelog ==

= 1.1.4 =
* Many fixes in generating URLs for Permalink, multisite and normal installations

= 1.1.3 (broken) =
* Filter $_SERVER[REQUEST_URI] with basename() for multisite installations

= 1.1.2 =
* Replaced WP_SITEURL with get_site_url()

= 1.1.1 =
* Small HTML Code correction in Settings
* Multi language Overlay and Entry View fixed
* Multi language Entry Editor need WordPress 3.2 (Requirement)
* Field buttons in Setup Editors added again

= 1.1.0 =
* Initial sorting of the table (field and ASC, DESC) added
* Database revision check added
* page_id was missing by Search Form, preg_match corrected
* Small HTML Code correction in Changelog

= 1.0.5 =
* Inputbutton for wordtext to textarea
* Rename of text fields wasn't visible
* editor fixes by disable_wysiwyg()
* Fix for WordPress < v2.2 with missing WP_SITEURL

= 1.0.4 =
* Table sort by show_table and editcontent by field 'id'
* CSS possibilities list added
* Import Bug fixed about HTML Entities
* New Fielddefinition added with varchar(128)
* Field definition can be changed now

= 1.0.3 =
* overlay max-width added for better view
* CSS definitions will not be lost after update
* CSV import supports more filetypes
* Cache of Selectfild corrected
* stripslashes() corrections on entry_page
* replace newlines with HTML code on all show functions
* Problem with Space in Select fields
* Overlays cannot fall out of monitor after page anymore

= 1.0.2 =
* Link by e_setup fixed unter the table

= 1.0.1 =
* New strings translated
* Removed Beta Texts from Readme
* Fix for Java problems after Code cleanup

= 1.0.0 =
* Filter for categories added by Smarttag (SQL Code)
* In Tablesetup HTML Code was a </div> missing
* Readded Web Updates KMU Ad
* Removed 15 days limit of Beta Version
* Multilanguage Headerline fixed

= 0.6.5 Beta =
* Smarttags in readme file corrected and new ons added
* No LINK is supported by leaving 'Entry Setup' blank

= 0.6.4 Beta =
* Changelog: Bugfix and Consolidation

= 0.6.3 Beta =
* Fixing 2 Activation problems

= 0.6.2 Beta =
* Public release on wordpress.org for testing purposes
* Plugin renamed from custom_tables to custom-tables for WordPress.org
* Category dropdown as Smarttag added
* Category filtering in Text and Headerline enabled
* Texts in Table View Setup can now include Smarttags
* Headerline Filds can include special characters now

= 0.6.1 Beta =
* Rich edit disabled while plugin is on a setup page
* Cachefunctionality by 'Article Archive' and 'Date Selector' added
* New menu added by Table Setup
* Spelling conflict in a Javacode corrected
* Bugfix in update_options()
* New texts in Article Archive, style corrected
* Upcoming releases and Beta Changelog extracted -> smaller readme
* Creation of Indexes for the search in extrem big tables possible

= 0.6.0 Beta =
* Archive User Role Management added
* Table for the Archive for all articles, which will be automatically up-to-date
* Smarttag 'date' and 'archive' added. View created and added to CSS file
* Bug fixed by Smarttag View
* Diffrent missspelling corrections
* Article Archive is full CSS configurable

= 0.5.8 Beta =
* User Role Management added for all custom tables and general righs
* Cache expiration can be changed under settings
* Handicon on own menu set (cursor:pointer;)

= 0.5.7 Beta =
* New tutorial pictures created
* Minimize of plugin code (removes space, tabs and newline)
* Tutorial pictures web optimized

= 0.5.6 Beta =
* Secret needed for dl, readded
* Diffrent miss spelling fixed
* CSS editor added

= 0.5.5 Beta =
* IE6 Overlay fixed

= 0.5.4 Beta =
* Headerline Setup added
* Sort buttons Class can be switched
* Table design including colors are configurabe via CSS
* Many Bugfixes

= 0.5.0 Beta =
* First release for testing purposes and internal usage
* Changelog implemented