This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Create new project "download" assistence

There is module called "download" in contributions/modules/download directory. It's probably old abandoned module - no change since 1.10.2004 and module owner did not respond. I improved the module features and I would like to create project assigned to this cvs directory. I had problem (http://drupal.org/node/13018) in the past when creating project assigned to CVS which already exists. Could anybody help me and manually assing it in database? I ask in advance not to create dead project.

Writing install file error

I am Writing a install file for a module i have made.

I looked closely to other install files, and compared it to my code. And every thing seems ok.
But i get the following error

Parse error: parse error, unexpected $ in

My Install file looks like this:

function rma_install() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query(
<< CREATE TABLE {error_code} (
id_error int(11) NOT NULL auto_increment,
code varchar(5) NOT NULL,
error varchar(50) NOT NULL,
PRIMARY KEY (id_error)
)TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;

CREATE TABLE {rma} (
id_rma int(11) NOT NULL auto_increment,
uid varchar(50) NOT NULL,
datem datetime NOT NULL default '0000-00-00 00:00:00',
rma_code varchar(50) NOT NULL,
PRIMARY KEY (id_rma)
)TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;

CREATE TABLE {rmaproduct} (
id_rmavraag` int(11) NOT NULL auto_increment,
model varchar(20) NOT NULL,
serial varchar(50) NOT NULL,
error varchar(10) NOT NULL,
rma int(10) NOT NULL,
PRIMARY KEY (id_rmavraag)
)TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;

CREATE TABLE {rmasettings} (
id_rmasetting int(11) NOT NULL auto_increment,

description meta tag

I was wondering if it would be relatively easy to pull the first 100 characters or so in the body of a page to display in the description meta tag?

survey and theme

I would like to use the survey-module.
But the created forms should have another layout.

+++++++++++++++++++++
Company ___________ Name _____________

E-Mail ___________ Phone_____________

...
..

how can I do this, do I need a special named php-file like flexinode?

Thanks for help

Wonder if there is such a module..

Hi everyone

I wanted to know if there is a module that allows the user to submit all their profile details to a set email address (ie. the admin).

I need to build a web site where the person simply signs up, places an order on something, then upon submitting the order (which delivers an email to me) all their profile detail (name, address, etc) will be delivered to me. That simple, because I don't need anything else.

I tried the e-commerce module, but that just shows a blank page upon enabling. Any help?

Taxonoy Subscritption

Is there a module used to subscribe to content posted in certain taxonomy terms?
Basicly, you could press a button on the taxonomy page, and you would get an email if anyone posted in that category.
If a module like that doesn't exist, I would be happy to code my own, and any guidance would be useful.

I am using 4.7RC2.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions