Database Changes 2.5

From MapbenderWiki

Jump to: navigation, search

Contents

Database Changes in Mapbender 2.5

en: You find the Database Changes in the svn. Have a look at the following link:

de: Die Datenbankänderungen finden Sie unter dem folgenden Link:

PostgreSQL

http://trac.osgeo.org/mapbender/browser/branches/2.5/resources/db/update/update_postgresql_db.sql

MySQL

http://trac.osgeo.org/mapbender/browser/branches/2.5/resources/db/update/update_mysql_db.sql

NOTICE: that the MySQL changes are not integrated completely yet. The function gettext has to be written.


How to Update your GUIs from Mapbender 2.4.5 to Mapbender 2.5

Notice: This description is still under construction. If you have any enhancements, please tell the dev-list
  1. run the update SQL file to create new tables, columns, function gettext ...
  2. follow the instruction to update you existing applications

update the e_title column

  • due to i18n the tooltiptextes are handles by the new column e_title. The definition of the title in the e_attributes field has to be removed
  • set e_title in table gui_element for all gui_elements used in the 'tabs' module
  • delete the tab_titles from table gui_element_vars
  • set the var_type of the tab_ids in table gui_element_vars from 'var' to 'php_var'

modul tabs: Title of the Tab is handles by the e_title of the element

  • this is why the element_var tab_titles[n] can be deleted

change element_var from var to php

delete deprecated elements from gui_element

  • delete element ajax
  • delete element geometry


geometry.js is now added as modul and is not a single element anymore

keyhandler

  • modul does not work and causes errors in IE

e_title for every element that is handled in the tab element

Personal tools