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

regular expression help

I am having trouble with a regular expression that I am hoping somebody here can help with.

$a = '<b>Übersicht</b>';
$pattern = '/(<[^>]+>)/uU';
$ar = preg_split($pattern, $html, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);

does not split the string at all. It works without the "u" modified in the pattern - but I need the "u" to handle possible utf8 strings which also pass through the same code.

any ideas on what I could do?

thanks

Link to images from module.

I'm trying to link to some images from a module which are stored in the modules directory. I'm having trouble getting the urls to the images in both cases when clean urls are enabled and disabled.

When clean urls are enabled i can just use:

How is it possible to bring my phpnuke site to drupal ?

hello everybody !!

I want to know how far is it possible to bring or transform my PHPNUKE site to drupal ..

has somebody done this migration ?

How can i develop my own modules and block on drupal ? is there any documentation for developping my own database application with php js on drupal ?

Thanks to you all ...

Adding fieldset in a form with jquery

Hello,

I have a form with a fieldset and a link that call a jqueru fuction to add another fieldset alter the one. The first is collapsable, and I would like that the added will be collapsable too, so I write this function:

$('

...').insertAfter(...)

I put the class = "collapsible" but when the new fieldset is inserted this is not collapsable.

What I do?

Thanck!

Views Module Display Issue

I've created a download site using CCK and views but there is an issue with how it's displayed.
Basically each rows listing has it's own headings but I only want the headings to appear at the top of each grouped term.

E.g. Cornwall Labels 2007 would have these headings at the top of it's list of results
Fuchs Code,Uploaded/Amended,Print Ready,Approved by,Description,Litre,PDF Proof,Artwork. Then the same for Eskimo Labels 2007 and so on.

all fields for a content type

Is there a way to get a list of all the fields for a content type?

Pages

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