Multipul name spaces in fusebox for lexicons
I've just started using the coldspring lexicon for fusebox5 which is very nice indeed (more to come on this). One of this things you have to do when using lexicons is declare the name space (xmlns) and path for the lexicon:
You can then use the name space to reference you lexicons:
Okay this all works fine but what if you have 2 different lexicon directories, one for coldspring and one for custom tags?
Well you can quite easily declare more than one name space:
Then just use your require name space to call you lexicon:
<ct:mailform to="info@x.com" from="info@xcom" subject="Nice to see you" />





<parameter name="lexiconPath" value="/fusebox5/sharedlexicon" />
This allows you to use a single lexicon folder (relative or absolute). This saves you having lots of duplicated lexicon folders under each app. You just plonk them all in a shared folder.