Quote:
Originally Posted by KirbyDE
Haven't really implemented it yet, but in theory it should be just a few lines in init.php?
|
Already answered by:
Quote:
Originally Posted by MarcoH64
To implement it, only 1 modification to the datastore class is made. Ofcourse this added code must be executed on each pageload, how you would want to retrieve the info otherwise?
The other modifications are management code (loading the table with the product XML-File, disabling the entry when the product is disabled, etc.)
Quote:
|
Quote:
Originally Posted by KirbyDE
Idea: Seriaized DS Entry that holds Phrase/Template Requirements for every Script. This entry would have to be loaded always, the currently required Data extracted and merged with $phraseggroups etc.
|
Since our primary focus was on datastore and templates/phrases can already be done by plugins, this is not coded into Alternative 2. In alternative 1, i was able to easily catch all 4 arrays, within the same structure and edit location.
To implement phrases/templates into Alt. 2, completly different code would be needed compaired with the datastore solution (because the problem is different - adding things prior to having the datastore available - versus - adding things after we have the datastore). What they do have in common is that we could use the same table to store the info, with some slight modifications. I even started with columns in the table to support this, but i removed them later since i didn't plan to implement it.
PS We are being watched by Jelsoft on the progress in this thread (i think

) and there might be a
very slight chance that Jelsoft might adopt an idea (which would be the best solution for the community i think).