Quote:
|
Originally Posted by tgreer 1) Any database entries/records/tables etc. you create should ideally be placed in the datastore.
2) The time to do this is directly after your insert/update/delete query.
3) Prior to retrieving your data from the datastore, you must insert the relevant datastore record in the $specialtemplates array
4) The proper time to do this is... when? cache_templates? or global_start? |
1. Not really, the datastore is just for global stuff you need to keep, that doesn't justify a table of it's own. I don't actually use it much.
2. The DS is not related to sql queries so I'm not sure what you mean here.
3. & 4. That has to be done before global.php is called - generally a file has to be edited.
The datastore is not all vb data - it's just a convienient way to store global settings or items - each datastore record is just a row in the datastore table, I assume you are aware of this ?