OUTDATED


please note that this page is outdated and increasingly replaced by special pages inside the engine-docs.

Searchconfig

Configuration of important variables

search

search-shortcuts

Shortcuts of the Module

in the build_search-programm itself. $searchconfig.

$searchconfig->{modules_short}={'M'=>['DB1','DB2','DB3' ...], ...}

note that there is no relation between the shortcut and long modulename. This is not necessary. The shortcut is merely a placeholder for the shortcuts of the databases. When a search is performed the long modulenames will come automatically by the search itself.

Shortcuts of the Database

in the configurationfile for this database

$ptr->{searchconfig}->{short}='SC'

Shortcuts of the Fields

in the configurationfile for this database

$ptr->{searchconfig}->{shortfields}->{SQL_NAME}='SC'

search - overview/results

Note that only results from databases are listet that are listed in the overview_order - directive

Name of the Modules

in the build_search-programm itself. $searchconfig.

$searchconfig->{overview_order}

Name of the Databases

in the templates.insert.pl - file

$ptr->{nav}->{struct}->{STRUCT}->{substruct}->{SUBSCTRUCT}->{name}='NAME'

note that this is not the best solution, so there is an overrideoption directly in the configfile for the database xxx.conf.pl, which should be used, cause it turns out the the name in the backend and the frontend differs most times:

$ptr->{name}='NAME';

Name of the Fields

the fieldnames are specified in the configurationfiles xxx.conf.pl and are not allowed to be changed :) this names never get public in the frontend anyway and the shortcuts can be changed in the searchconfig in the same configurationfile.

longnames

longnames and field_longs are occassionally defined in the configs and the source but their meaning still remain unknown ... :-(

NEWS: longnames is the name of the configs that are displayed in the searchresult !!

 
kb/templateengine/important_variables.txt · Last modified: 2006/02/28 12:08 by peter