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

Definite Thickbox Solution

Anybody managed to get Image_Gallery, Thickbox and Tiny MCE or FCK Editor work together properly in Drupal 5.1?

Looking for photo attribution module

I'm looking for a module that does photo attribution similar to what wikipedia provides when you click on an photo. See for example:

http://en.wikipedia.org/wiki/Image:Asymmetricspinnaker.jpg

THanks!
Doug

Question about CCK

I've got a node type that I made with CCK, and a custom view that displays nodes of the type according to a certain criteria.

Whenever I submit a new node, I get directed to the full page view of that node. Same when I edit it, and so on.

I would like to direct the user to the custom view that exists after a user creates / edits / deletes a node of that type.

Issue with Viewfield Argument Parsing

I've installed viewfield into my drupal/views/cck setup and I can't properly parse any arguments, even the built-in arguments such as %author. I wrote a test view that spits out the values of $args[] and it looks like the arguments supplied in my node aren't being delimited properly. Rather than seeing %author as a single argument, the viewfield-node spits out the args to be %, a, u, t, h, o, r. Obviously this will create errors as my queries aren't designed to handle a single character argument (my wildcard * works as a sanity check).

Unexplained warnings when previewnig custom content type

I see these warnings when previewing a custom content type. I am using the nodeapi hook to render the preview via the VIEW operation.

Here are the warnings:

warning: uasort() [function.uasort]: The argument should be an array in /home/jinfinit/public_html/pricemixer/includes/common.inc on line 2119.
warning: Cannot use a scalar value as an array in /home/jinfinit/public_html/pricemixer/includes/common.inc on line 2150.
warning: Cannot use a scalar value as an array in /home/jinfinit/public_html/pricemixer/includes/common.inc on line 2161.

Here is the code that generates it:

//Create timestamp
$now = time();
					
//Array to hold item details
$node->content['itemsaledetails'] = array(
  //Set item available to item quantity
  'itemavailable' => $node->field_item_quantity[0]['value'],
  //Set current price to starting price
  'itemcurrentprice' => $node->field_item_starting_price[0]['value'],
  //Set item close date
  'itemclosedate' => mktime(date("H", $now), date("i", $now), date("s", $now), date("m", $now), date("d", $now) + $node->field_item_duration[0]['value'], date("Y", $now)),
  //Set time left
  'itemtimeleft' => timeLeft(mktime(date("H", $now), date("i", $now), date("s", $now), date("m", $now), date("d", $now) + $node->field_item_duration[0]['value'], date("Y", $now)))
);

I tracked it down to this line:

Is there a WYSIWYG Editor in Drupal?

Is there a WYSIWYG Editor in Drupal?

If so is there one like the one in Joomla?

Pages

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