[wp-hackers] Multi blogging again
Mark Constable
markc at renta.net
Tue Sep 7 17:22:34 UTC 2004
I've made some headway and some notes here at
http://wiki.wordpress.org/Korgan/MultiBlog.
As noted, all the example sites use a single separate
template file that used to be the HTML contents of index.php.
The mp2 site is a quick example of a modified wp-layout.css
and wp-layout.tpl file using tables. FWIW the index.php in
each of the vhost example sites is just...
<?php
define('DB_NAME', 'test');
define('DB_USER', '*****');
define('DB_PASSWORD', '*****');
define('DB_HOST', 'localhost');
$table_prefix = 'mp2_';
define ('WPLANG', '');
include 'multipress/wp-index.php';
?>
The only files in the mp2 site are the above index.php, a
wp-layout.css and a wp-layout.tpl (being the HTML content
of the original WP index.php) and that's all. The sites barely
work right now but are running well enough to prove the point.
--markc
More information about the hackers
mailing list