By Knas on
Hello, i have a wiki site and i want to combine it with som of the features of Drupal. First off, i'd like to ask wheter this is a stupid idea and/or really feasible? Secondly, more hands-on, i'm trying to make a combinatory wiki/drupal login, thus calling login functions from another directory than the drupal installation dir. I've tried adding the most "basic" include files, adding drupal to path etc. but it doesn't seem to be wanting to work. This is the code i'm using:
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages:/home/xxxxx/public_html/civicspace" );
include_once 'includes/bootstrap.inc';
drupal_page_header();
include_once 'includes/common.inc';
include_once 'modules/user.module';
fix_gpc_magic();
$edit = array('name' => 'dummy', 'pass' => 'dummy');
$_REQUEST['destination'] = 'redirect.php';
$_REQUEST['edit']['destination'] = 'redirect.php';
user_login($edit, $msg);
happy for any answes.
Karl
Comments
Which wiki application?
I have a similar interest. I run a PmWiki install as well as Drupal install. I've played around with the various wiki related modules in drupal, but I haven't felt comfortable with them. Drupal's book module can also satsify some wiki purposes, but I'm so used to how the wiki works that I haven't tried that hard to master drupal's approach and features. It's one of those things that theoretically should work, but as a practical matter, I'm not sure how it's done.
Regarding login, I know PmWiki can integrate to LDAP servers etc.--not sure if that helps.
Gook luck!
Best,
Brent
My Drupal Experiment
wili like module
I have some code which does a wiki like module in Drupal and have it running on a test site, though its lacking features. It a combination of freelinking and a custom wiki module (4.7 minimum atm though).
not addressing directly
integration issue's but providing a Drupal wiki recipe link if you were not aware of it before.
http://wiki.bryght.com/wiki/drupalwikirecipe
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide