Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2004-03-28 17:53:22
- nesher
- Archived Plugin Author
- Registered: 2004-02-23
- Posts: 15
Multiple Textpatterns
Greetings.
My wife and I want to have a blog for each of us – Anna gets to design and manage her own blog, and Brian gets his. Everybody is happy.
Problem is we both want to use textpattern, and our administration areas would be separate.
So just use more than one database right? Well, our host only gives you one free database.
Is there any way to have two separate text pattern installs on the same db?
Thanks!
Offline
Re: Multiple Textpatterns
My understanding is that Dean plans to implement table prefixing at some point to deal with only having one database. Until then, I don’t think this is possible with txp with only one database…
Dammit Jim, I’m a poet, not a programmer…
Joined the TXP Obsessed 2/25/04: http://www.chrislott.org/
Offline
#3 2004-03-28 20:42:48
- nesher
- Archived Plugin Author
- Registered: 2004-02-23
- Posts: 15
Re: Multiple Textpatterns
Ryrivard –
I think you’re right. I don’t think textpattern would be the wiser if you had two copies of it running in different folders on the same server – as long as you have them accessing different databases when running the initial setup. In the end, there would only be one file that’s different between the two installations – the config.php file.
I hope for the functionality of running multiple textpatterns on one site, with one database. That would be really neat, as my wife and I could both blog, without necessitating using some other software, such as blogger or MT.
brian
Offline
Re: Multiple Textpatterns
That creaking sound you hear is me finally caving in to table prefixing.
Expect to see it in g1.18.
text*
Offline
Re: Multiple Textpatterns
Yikes. Unless you’ve done some really great abstraction, table prefixing sounds like a lot of recoding for a gamma release.
No wonder you’re worshipped by your vassals- er, I mean users.
Offline
#6 2004-03-29 18:37:26
- nesher
- Archived Plugin Author
- Registered: 2004-02-23
- Posts: 15
Re: Multiple Textpatterns
Oh dear. Dean, I mean no harm to your back or any other part of your body that might suffer from caving in.
Offline
Re: Multiple Textpatterns
yoshi:/home/michael/www/textpattern# grep -r txp_ * |wc -l
337 (lines)
Ouch.
(not all of them are database inserts, some are variables…)
yoshi:/home/michael/www/textpattern# grep -r txp_ * |grep mysql |wc -l
77 (lines)
Much more reasonable.
Offline
Re: Multiple Textpatterns
I assume that the <em>textpattern</em> table will probably be renamed to txp_main or txp_articles or something?
Offline
Re: Multiple Textpatterns
I just ran into this problem too. I want 2 textpatterns running. One for general use, and one for testing a clean install of it.
Is there any news on how far g1.18 is in development?
VC88 | Nah, there weren’t really eighty-eight of them. They just called themselves “The Crazy 88.”
Offline
Re: Multiple Textpatterns
> Is there any news on how far g1.18 is in development?
Well, this damned table prefixing thing is taking a while :-)
text*
Offline
Re: Multiple Textpatterns
Ah, ok. :-) It would be a great step forward in flexibility en compatibility.
VC88 | Nah, there weren’t really eighty-eight of them. They just called themselves “The Crazy 88.”
Offline