L'oiseau2nuit | 22 Jun 15:47
Picon
Gravatar

Re: SPIP sites with multiple domain names



On Mon, Jun 22, 2009 at 5:06 AM, Thomas Sutton <thomas-wT9aXh5S2t8LQszSOs697tBPR1lH4CV8@public.gmane.org> wrote:

Finally -- though it should probably have been first :-) -- is there already a plug-in to do this sort of thing?

Hi Thomas,

Actually no plugin deals with this. I've allready made this research for a quite similar project coming on soon too (1 website, 2 Languages, 1 domain per language ...)

That's why I'll follow your topic with interest

Thanks a lot for the first pieces of code.

>> I'm also hoping to get some of the values from `spip_meta` done as well
>> (`#NOM_SITE_SPIP` and `#URL_SITE_SPIP`, in particular). Is there a better way to do
>> this rather than overriding `balise_NOM_SITE_SPIP_dist($p)
>>`, etc?

Probably using some 'champs_extras' on the secteurs, then replacing the #URL_SITE_SPIP et #NOM_SITE_SPIP tags by your own #MY_SITE_NAME & #MY_SITE_URL  but I'm not sure that's the best solution.




--
Etienne Brackers.
http://www.loiseau2nuit.net

| Laurence J. Peter  - "If two wrongs don't make a right, try three."

Gmane