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

Custom profiles for a given role

I want to solve this problem:

Admin creates a content type extended_profile based of several standard-fields (birthday, picture, text-area,...). Every member of the group e.g. "superuser" has his/her extended profile (not more, not less) and can only edit his/her ext_profile.

Normal registred users oder anonymous ones only have the standard profiles.

I found a module and a patch which could be helpful:

Bio (Module)
http://drupal.org/node/46589

i18n of the module: What's the right way

Dear Drupal Developers,

I want to develop a specific module, which takes some data from the group of “Data Submitters”, then puts it into a database, and finally shows these data in various formats to the rest of the world.

The question is simple: what is the best way to internationalize these data?

I guess, there will be the other group of “Translators” who are responsible for the translation.

Glossary

I need to show some special characters in the glossary, for instance ñ, or the phonetic alphabet.

how can i do this, any help arrownd the drupal biosphera.

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?

Pages

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