Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Multisite scaffold and corresponding files
I’ve not yet used multisite in anger, so please forgive this newbie question.
Should the files in /sites/site1/public/
match those in /
byte for byte, or are there expected / intended differences?
Last edited by gaekwad (2024-12-07 13:01:13)
Offline
Re: Multisite scaffold and corresponding files
I think index.php is different to take account of the extra path stuff but the rest should be the same, if memory serves.
We may even have unified the index.php files. Can’t remember exactly. The general idea is to only need one set in the next version.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Multisite scaffold and corresponding files
Thanks, Bloke. I’ve made a start on a sync script to keep multisite stuff in line with core files (see recent commits), and there are some differences with the index.php over and above what I anticipated – so I’m glad I checked!
Offline
Re: Multisite scaffold and corresponding files
Nice one. I expect the multi-site index.php to be more fully featured and thus the one that we eventually adopt so if the differences aren’t vast, it might be possible to merge the code to make a definitive file with the necessary bits from both. That would certainly make things simpler for sync purposes until we change the directory structure in Txp 5 to unify admin access.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Offline
Re: Multisite scaffold and corresponding files
Thanks Bloke, thanks etc.
I’ll leave it as-is for now.
Offline
Re: Multisite scaffold and corresponding files
And why do we need a copy of textpattern.js
for each site? CSP? Or is the ‘main’ URL totally inaccessible in multisite setup? Noob me too.
Offline
Re: Multisite scaffold and corresponding files
etc wrote #338447:
And why do we need a copy of
textpattern.js
for each site? CSP? Or is the ‘main’ URL totally inaccessible in multisite setup? Noob me too.
Offline