custom module

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
brad.curnow's picture

Handling large spike of un-cachable requests.

Hi all.

I've been tasked with building a high performance, high capacity website for a client and so have been reading up on best practices. I'm getting familiar with the cache based approach for both authenticated and anon. users, APC, varnish etc - however I'm finding it difficult to find best practices regarding non-cachable requests.

-- EXAMPLE --

Suppose my website were to give away 500 free donuts to the first 500 people who correctly answer a multiple choice question. This figure would be stored in a field called "QTY" on the "freebie" content type.

Read more
mjsg's picture

Problema con Service Links

Hola a todos,

Soy nueva en esto y tengo un pequeño problema con el módulo Service Links, y es que estoy intentando configurarlo para que me muestre las entradas publicadas en una página de la red social diigo. Pero no me aclaro muy bien y no sé cómo puedo hacerlo.

¿Me podéis echar una mano?

Muchas gracias

Read more
Albert Volkman's picture

Loading finder in a colorbox

I've been struggling with this problem for quite a while now. What I'm attempting to do is load the block created by the finder module-

http://drupal.org/project/finder

via colorbox. I've managed to load the form properly with this bit of code I've written-

http://pastebin.com/h4xnuNeU

Read more
theMusician's picture

Group and fields from custom module does not appear in Views

Hi,

I have been trying to implement a custom module that can use views to display data from a remote database. I have successfully created a module and enabled it, however I cannot access my data through views. This is using Drupal 6.2 and Views 2.12.

Here is what I have done:

I created a custom module called displayjobs and stored it in /sites/all/modules. This directory contains displayjobs.info, displayjobs.module, and displayjobs.views.inc.

Read more
dogboy72's picture

Complex rules that can create and edit related nodes

I am creating - actually rebuilding from Coldfusion - an application that - among many other things - handles production work flow. Here is one scenario that is indicative of many more I will have to create:

User enters order for a product(in my case, a dress). Some of the details of this order that are captured are:

Read more
jbnewman's picture

Integrating custom types (with custom schema) with CCK

I am currently producing a "family" of modules designed to manage a hosting infrastructure (email, dns, ftp, etc). I am cruising along, but keep coming back to one big stumbling block ... the role of CCK in my module. From a technical stand-point, I don't have a compelling need to use CCK (I'm happy to code up what needs to be coded), but it's clear that from a "best practice" perspective (and honestly, from a quality assurance & maintainability perspective), utilizing CCK as much as possible is a "good thing."

Among others, I have the following content types:

Customer
Domain

Read more
DrupalCuckoo's picture

Problems with custom preprocessing function and template file from the views module

hi,

I know the title doesn't say clearly what this discussion is all about but it's not easy to explain what I'm trying now for more than 5 hours (!!!) without any useful result :-(

Ok, let me explain:

I'm building a community-page. On each user-profile people will see - among other things - a view called "list_groups" (created with the views module) which lists all groups a user has joined. It's a normal HTML list which contains the node titles as links.

Read more
Anonymous's picture

Custom modules in Drupal 6x

Hi guys.

I've been trying the forums at drupal.org and have been hanging around the IRC till someone finally suggested I should try here.

My background is 4 years of website development on the .NET platform using CMS. The framework of the CMS is based on MOSS 2007 framework.

So I'm used to defining the main layout structure in the Masterfile (page.tpl.php in Drupal) and the content placeholders (regions in drupal).

So this consept is pretty similar to Drupal. I have made a page.tpl.php file and defined the different regions (Top, main and right).

Read more
Subscribe with RSS Syndicate content