Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2004-03-28 18:07:48

fncll
Member
From: Frozen North
Registered: 2004-02-25
Posts: 19
Website

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

#4 2004-03-29 08:16:51

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

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

#5 2004-03-29 18:10:47

Matt
Member
Registered: 2004-02-28
Posts: 92
Website

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

#7 2004-03-29 18:53:57

michaeln3
New Member
From: Nashville, TN
Registered: 2004-02-27
Posts: 3
Website

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

#8 2004-03-29 18:57:46

michaeln3
New Member
From: Nashville, TN
Registered: 2004-02-27
Posts: 3
Website

Re: Multiple Textpatterns

I assume that the <em>textpattern</em> table will probably be renamed to txp_main or txp_articles or something?

Offline

#9 2004-04-07 13:48:02

ReinierBiz
Archived Plugin Author
From: the Netherlands, Rotterdam
Registered: 2004-04-07
Posts: 42
Website

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

#10 2004-04-07 16:10:36

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

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

#11 2004-04-07 18:35:12

ReinierBiz
Archived Plugin Author
From: the Netherlands, Rotterdam
Registered: 2004-04-07
Posts: 42
Website

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

Board footer

Powered by FluxBB