I need to create 2 page snippets. The first snippet needs to do the following:
List all nodes of a particular taxonomy, but JUST THE TITLES as links, not the intro text. This one should be fairly simple, but I've not been able to find a solution. (I can read PHP code and know whats happening, but I cannot write it yet).
Can anybody point me in the direction of some documentation regarding changes to book.module from Drupal 5.x -> 6.x?
I'm trying to programatically (i.e. at the database level) migrate a large number of books from a 5.x site to the RC3 of Drupal 6, and I've run into some problems regarding the schema changes...
In 5.x, a book page is defined by an entry with type 'book' in the node table, and a corresponding entry in the book table (nid) to define its relationship to a parent page (parent) - if the parent is 0 then it's a top level book. Easy.
after stumbling upon the Gladius DB project, which seems to me to hypothetically work with Drupal instead of a MySQL database, i was wondering whether you could point me in the right direction as to where to start.
Description from sourcforge.net:
The most efficient flatfile database engine written in pure PHP, it is compatible with a subset of intermediate SQL92 and does not need any additional library! It perfectly understands SQL (also MySQL variant) and is also supported through ADOdb Lite.
And a description of a possible implementation:
Gladius DB engine can be used as stand-alone (including gladius.php) or with ADODB lite ( http://adodblite.sourceforge.net/index.php ) using the supplied driver gladius_driver.inc. If your databases' folder is not the gladius.php's folder, set the variable $GLADIUS_DB_ROOT before including gladius.php or calling ADODB's AdoNewConnection(). Example:
global $GLADIUS_DB_ROOT;
$GLADIUS_DB_ROOT = '/home/usr/databases/';
include 'gladius.php';
$G = new Gladius();
$G->SelectDB('database_name/') or die;
$G->Query('CREATE TABLE hypsin ( base FLOAT, root FLOAT)');
I have two diffirent codes available to make the rolesignup work in D6 ..
The role selection box is showen a different form than the user register form. This is done because anyone may
like to show role dependent fields in user register page.
So it is like multistep form. And you can go back here to change the role once you have selected one earlier.
Now the problem is when you are on the second form, and you try to go back without filling out the fields correctly it
gets a validation error :( . I cannot remove that.
The topic says it, I've contacted Drupal and told them about this error, but I need the files fast and I was wondering if anyone could send me the files as soon as possible...
Thanks.
After listening to the MySQL webinar presented by Jeremy T. of tag1consulting.com I understood that he recommended InnoDB (and I personally would use InnoDB over non-ACID compliant ISAM too, regardless of any performance issues). I loaded drupal 6 2rc and it is still (seemingly) using ISAM. Would you recommend converting to InnoDB? Is Drupal 6 going to 'officially' switch over to InnoDB?
thanks, all
Lesley