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

Help with first custom module

I'm trying to write a new content module. It'll have a title, a text body, and up to 10 images. The images will run as thumbnails along the right side of the view. When uploading, it'll always have one "attach image" field, unless there are 10 attached images already. It'll use the image module to create thumbnails, and maybe one day it'll create galleries. The goal is to let people post images without requiring anyone to write any code, and without dealing with img_assist.

Converting a php script to a drupal module

hi im new to drupal and i was wondering if some one could help me or show me how convert a php script (6 files) to a drupal module. im still trying to figure out how it all works :(

Bookmarks in folders

I just added the ability for the bookmarks module to sort bookmarks in folders. Download it from my sandbox to be a beta tester. I want to work the bugs out and get support to add the patch to the official bookmark module. Drupal 4.7 only, ATM. Submit bugs to my contact form, or if you have CVS access, just commit fixes to the copy in my sandbox.

how do you know a module is enabled

i want to know if there is a function to determine if a particular module
is enabled or not. I'm not being lasy i have searched but to no avail.

Book Recommendation System

A user I host has sent me the following request:

Web typography, i18n (Czech and Smartypants)

Hello! When I decided to write the following, I hesitated for a moment: it is a forum topic, it is also an issue, and it could be a project.

The question I have relates to web typography. I have looked at the Smartypants module, which does some useful things. But what it does is directed mainly at content in English. So what about other languages? How could one internationalize Smartypants?

I am actually about to do harm to Smartypants and try to add some features that reflect the needs and requirements of Czech typography. It might work for me, but I am sure other languages have also typographic rules.

What do I mean by typographic rules? In Czech, for instance, a line should not end with single-letter conjunctions or prepositions.
So a line ending in " k"

is considered ugly. Other rules such as this one apply and are generally observed.

While Smartypants does something similar, it would be a rather cumbersome solution to put all sorts of options and rules in it for all sorts of languages. One would really need a way of making Smartypants recognize what is the language of the content (or parts thereof! - and this is a significant point: a node could have text in one, but also two or more languages, so something like a tag to mark the language of text would be great).

That's where I think the whole solution would need collaboration from the i18n module. So that Drupal multi-lingual webs could display the content in the right language and in the right (correct) way.

Pages

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