Midgard Mind Reduction

2004-06-21 Schemadb

Today was a bit frustrating but at the same time very interesting. Frustrating because the server that runs the website I was working on is damn slow! Roughly half of the time is just waiting for the damn site to load. The interestin part was the metadata input script I was working on.

I got familiar with schemas and specially the multiselect datatype. There is like no documantation about it what so ever and even Kaukola coulden't  remember how to create the selection list but luckily he was able to find an example from some previous project.

I did something like this:
        "clientareas" => array (
"description" => "Asiakasalueet",
"datatype" => "multiselect",
"widget" => "multiselect",
"multiselect_selection_list" => array (
"example1" => "Example1",
"example2" => "Example2",
),
"location" => "parameter"
The Plan is to input some metadata that can be used for searching a certain announcement with a search engine I'm still working on...well haven't really started writing it yet but it's the next step.

User comments

Post a comment

Commenting is allowed only for authenticated users