Im trying to write a module.It has a .install file(a.install) which create a database table.
But when i try to install the module it says that db table does not exist.
<?php
function a_install() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {a_server} (
a_id varchar(32) NOT NULL,
PRIMARY KEY (a_id)
);");
break;
}
}
function search_uninstall() {
db_query('DROP TABLE {a_server}');
}
I have just installed drupal 6, but there are few modules to use. I would like to install a module in my Drupal 6, but it do'es work. It shows a message:"This version is incompatible with the 6.1 version of Drupal core".
Is't possible tomodify the modules to adapt the 6.1 version of Drupal? If so, how to do it? Thank you very much in advance for your help.
I'm looking to achieve cross-linking two different content-types with one another and was wondering if it's possible. I know by using taxonomy, I can add tags and such to perform a similar function, but I would like to keep tags separates from this function.
My site consists of news, album reviews, and anything else pertaining to music in general. What I basically want to do is to link these news posts to an artist. In addition though, I want the artists to have their own independent profiles that will be published via a content-type.
and change to filter by vocabulary instead of term - this is of particular interest for creating a new block for recent items for a custom content type with its own vocabulary!
Hello Everyone.
I am trying to install Drupal for the first time. I got bored of Wordpress for its slowness, but I am having a problem installing.
I get this error:
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled ('1'))
I looked at my .htaccess file and I see that the register_globals is off! (0)