Drupal is an open source CMS framework written in PHP.

learn more… | top users | synonyms

2
votes
1answer
48 views

Import data module

I have a custom module to import nodes from a .txt file. (Drupal 7). My problem is I have a lot of nodes to import and this function takes so much time. ...
1
vote
0answers
27 views

Script to migrate event, artist, and venue information from MongoDB to Drupal

At first I brute forced the migration to just get it finished. However, the procedural program mixed the events with the venues so I rewrote it, this time using classes which I'm just beginning to use....
3
votes
1answer
145 views

Make my inclusion of PubNub in a Drupal Module more Drupal friendly/compliant

I have created a Drupal 6 Module that sends messages through PubNub when the user updates information about a Node. I have a separate app that, when launched, calls my Drupal site and receives a JSON ...
3
votes
1answer
83 views

Dumping output from template_init()

I have a Drupal site with roughly the following in my template.php hook_init block: ...
2
votes
1answer
231 views

The right way to get formatted node's body field in Drupal 7

I am wondering am I doing the right "Drupal" way in getting formatted value of node's body field. Here is my code: ...
3
votes
1answer
83 views

Drupal: Placing Code (PHP) within the Drupal System (as well as css)

I have a node template that grabs fields from a content type. In the node--[contenttype].tpl.php file I have two sections (The second is html/php and grabs variables from the first section or from ...
1
vote
2answers
103 views

Get unique entries from array

For a website I'm working on, I had to get all the unique entries in an array and count their occurrence. It is possible a certain entry is only found once, but it can also be found 20 times. So I ...
0
votes
1answer
682 views

Basic function to output repeating dates from iCal format

I have a function that implements parts of reading iCal repetition rules, and returns a list of dates when a certain event takes place. Questions/Concerns of mine Any comments on the use of ...