Thank you for the module/theme feature and i like to give a go
I got this Warning and tabes are not installed

Warning: Table 'drupal.niftycorners_code' doesn't exist query: SELECT code FROM niftycorners_code WHERE mark = 1 in /home/public_html/beta/includes/database.mysql.inc on line 120

could you also add to the .sql doc to the module directory -as alternative -incase .install did not work
regards

Comments

nevets’s picture

Interesting the table should have been installed. Was the niftycorners table added correctly?
After adding the niftycorners_code table you can add another niftycorners item or re-save an existing one
Here is the SQL to get you going

CREATE TABLE niftycorners (
 nid int unsigned NOT NULL default 0,
 tl int unsigned NOT NULL default 0,
 tr int unsigned NOT NULL default 0,
 bl int unsigned NOT NULL default 0,
 br int unsigned NOT NULL default 0,																
 corner_size VARCHAR(8) NOT NULL default 'normal',
 transparent int unsigned NOT NULL default 0,	
 fixedheight int unsigned NOT NULL default 0,	
 sameheight int unsigned NOT NULL default 0,															 PRIMARY KEY (nid)
);

CREATE TABLE niftycorners_code (
  mark int unsigned NOT NULL default 1,
  code text,
  PRIMARY KEY (mark)
);
lennart’s picture

In my case the tables are not installed either - but I get no warning

ica’s picture

Title: niftycorners.install -Warning » niftycorners -Warnings

I have installed the .sql tables you posted above.. they are in the db now
BUT this time i've got nifty Warnings below

Warning: Missing argument 2 for niftycorners_form() in /home/modules/niftycorners-module/niftycorners.module on line 99

Warning: Missing argument 1 for niftycorners_help() in /home/modules/niftycorners-module/niftycorners.module on line 17

Warning: Missing argument 2 for niftycorners_form() in /home/modules/niftycorners-module/niftycorners.module on line 99
nevets’s picture

Which version of Drupal are you running, I have tried it with 4.7.2 only.