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

Need some example for "spry module"

Hi all,
I need some example for using of "spry module" in drupal.
I sow "http://labs.adobe.com/technologies/spry" samples but I do not understanding how to use spry framework in drupal.
Please help me.

Need custom modules (various) - willing to pay!

I am looking for serveral modules, or possible just someone to help me sort through the tons on here. A basic rundown of what I am looking for:

How do I Use the Form Module?

I installed the Forms Module and enabled it but how do I access it and use it?

textarea fields and WYSIWYG editors

Ls,

I'm developing an auction module and I make use for the screen development of the smarty engine. With the HTML forms I use some textarea fields and I want to have the WYSIWYG editor functionality which is installed in drupal.

How can I implement the WYSIWYG editor functionality which is installed default in drupal (either TinyMCE or FCK) into my module textarea fields so that the auction module uses the WYSIWYG editor which is default installed into drupal?

How to filter terms with output shown and removed from block?!

I am using print $terms to print my terms, and when I click a term on the page it correctly shows me the result. I am looking for a module that extends this functionality, so I can click several terms and it would continue to narrow down the result. Each time I click a term on the page it should show the terms on a block (that being the filters), with an option to be removed again. It should be possible to click terms on the page as long as their still are nodes to show. If not nodes left, it should show a simple error.

How to add a user-added field to the Upcoming Events Block?

I'm working with the Events module and am modifying the block display. Thanks to the community here I've gotten the date to show in the block instead of the less useful days remaining. I also strained my PHP knowledge and figured out how to truncate the time off of the date using substr (hey, it's only been twenty years since I did serious coding!).

Now I want to add the location of the event to the block display. In this case I added this field to the events using CCK and the problem I'm running into is that there is simply nothing shown in the events block when I try to display this. I'm guessing that this data isn't passed to this function, but I'm not sure how to go about this. Here's the code.

function event_block_upcoming($limit = 8) {
global $user;

$time = time();

// Lookup events currently taking place and upcoming events, up to $limit events.
$result = db_query(db_rewrite_sql("SELECT n.nid, n.title, n.type, n.status, n.changed, e.event_start, e.event_end FROM {node} n INNER JOIN {event} e ON n.nid = e.nid WHERE n.status = 1 AND (((e.event_start != e.event_end) AND (%d >= e.event_start AND %d < e.event_end)) OR ((e.event_start = e.event_end) AND (%d <= e.event_start + %d )) OR e.event_start >= %d) ORDER BY event_start LIMIT %d"), $time, $time, $time, (60 * 60 * 2), $time, $limit);
while ($node = db_fetch_object($result)) {

Pages

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