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

First filed (title) at CCK

In any new type of a content created by the CCK is the first field (title).
I cant delete or change it at CCK options.
Whether it is possible to solve this problem?
Thanks!

Covert phpBB module to 5.x

Anyone who has managed to convert the phpBB module to Drupal 5.x? I'm really interessted in this module...
http://drupal.org/project/phpbb

Node content output

Hi!

i'm trying to output some node information from my module. I've managed to get most of it by using node_load() etc. But to get the content displayed to my liking I used modified copies of node_view() and theme_node().

However, it seems that drupal doesn't actually use theme_node() but rather bluemarine_node(). And i can't find this function! So if someone could point me to where it is i would be very appreciative.

how to use API ? fought really hard for several days now

Hello Guys,
Firstly thanks for being there to help me out investing your valued time.. :)

looking for module to create forms and lists(reports)

Does anyone know of a module that would let me import a .CSV (or xls) file and create forms that would allow users to output a list or report?

Given the database backend of this product, I would think that it would be possible to create a module that does this. Sort of like using crystal reports or ms reporting services with a database backend.

Thanks!

Steve

Module with AJAX -- best way to lay out directories?

Hello.

A while ago I wrote some code to search a directory for images and dynamically create a date selector and thumbnail container. It consisted of a PHP file and some Javascript. When the date selector is changed, it uses AJAX (to the PHP file) to fetch the image numbers for the selected day. The Javascript then dynamically modifies the DOM to display the correct thumbnails.

I'm new at Drupal, and I figured I'd start learning how to writing a module. From looking at the core modules, I can't really find anything to point me in the right direction. I'm having a problem laying out my directories.

Here is the layout of my server

www/myserver/drupal - base install
www/myserver/drupal/media/photos/155W - photos directory

www/myserver/drupal/modules/mediaselector/mediaselector.css
www/myserver/drupal/modules/mediaselector/mediaselector.js
www/myserver/drupal/modules/mediaselector/mediaselector.module
www/myserver/drupal/modules/mediaselector/mediaselector.php
www/myserver/drupal/modules/mediaselector/mediaselector.inc -- common functions to module and php

In my page I reference the module passing in the directory.

mediaselector_load( "media/photos/155W" );

When the page is referenced, the current working directory for the php file is www/myserver/drupal.
This works great and my images are found correctly.

Pages

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