From: Alessio B. <al...@al...> - 2001-06-12 15:18:01
|
I have a specific problem, part of a more general one. I am distributing the Italian translation as a theme (slashcode-it), it gets installed in themes/ alongside slashcode. When the user goes to create a new site it will choose either slashcode or other themes, but only one. Ok. I am copying everything from slashcode into slashcode-it so it's a drop-in replacement. We need to translate plugins, too, so when the user runs install-slashsite it will be prompted with a list of available plugins, for example Search, Journal, Search-Italian and Journal-Italian. The problem is that he can choose which plugins he wants (or "all") but in fact he should only choose one max between Search*, one max between Journal* etc. If two "conflicting" plugins are selected, the second one will try to symlink in htdocs and fail, and will perform some INSERTs on the database with no predictable behaviour, depending on the state of the database as altered by the previous plugin. Do we have to relay on the user being smart enough (ehm...) not to choose conflicting plugins? Is there any other solution? -- Alessio F. Bragadini al...@al... APL Financial Services http://village.albourne.com Nicosia, Cyprus phone: +357-2-755750 "It is more complicated than you think" -- The Eighth Networking Truth from RFC 1925 |