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

Flexinode & Taxonomy in table view

I've been crawling through the forums to find an account of this..

I know that through assigning a new flexinode content type to a specific vocab, enables the option to select tax terms for the specific flexi-node. Now, I want to make this taxonomy term show up as a part of the tabular view, so that an extra column is created within which the (clickable) taxonomy term is shown.

I assume this takes some modification of the module and I'm not yet sure if it would be best to modify the original flexinode or the fleximax module.. probably this doesn't really matter.

Need an image with current print edition display

Hi,

I just installed the epublic edition. And it is working fine. Now, my requirement is to insert an image with current print editon display. Please any one can help me.

Thanks in advance.

Nissar.P.K

Banner module, again! Please, help me!!!

Please, help me! I've read already diff. forum notes, nothing helps;((

1. I've got a PHP theme, downloaded banner module for Drupal 4.6, installed everything as it was said
2. I loaded the picture and can see it in the admin/banner/3/view, and in the banners (My banners)
3. I've created a block and added the following code inside: echo banner_display(); I tried the same varient with 'return' and 'print',
4. I can see the title of this block.

BUT I still can't see the banner ;((
It seems to me I've tried everything

Date/time format in Drupal database?

I'm fashioning a database migration program, from Mambo to Drupal. I figure it will take just about as long to write as transferring the data manually, but I'll gain more experience writing SQL.

In Mambo the mySQL date/time format is stored in the mos_users table, registerDate and lastvisitDate fields as type datetime with a format of 0000-00-00 00:00:00.

Anyone know what PHP function and parameters I would apply to this time format data to get the Drupal database integer?

CL Elliott

Hack: Prevent forums from displaying first post on every page

By default, the first post in a thread is displayed on every page. In a flat forum, this seems to confuse people. Here's a way to turn it off.

In node-forum.tpl.php, add this to the top of the file:

<?php
	if (!isset($comment) and $_REQUEST['from'] != 0) {
		return;
	}
?>

Anyone know if there's an easier/better way to do this?

paypal_subscription timing/sequence issues

[I posted this yesterday as a reply to another topic in "How do I..." but it's fallen pretty far down the list, and this is probably a better place to ask my question anyhow.]

I've been trying to get paypal_subscriptions working on my local test site, and it seems to be working now, but only after several hours of debugging and fixing stuff... and I'm still left with one issue I don't understand at all.

A bit of background:
I originally started using the ecommerce module and had hacked the ps module to work with it. I only did limited testing, but it seemed to be working. Unfortunately, the ecomm module wasn't cutting it - it was too complicated for what I need (and not flexible enough), the user experience was painful, and I found I was just working around it too much.

So, I ditched ecomm and chose to use paypal_framework (plus a few functions from the ecomm paypal) with the ps module and some custom code to handle my needs. I have a couple of extra modules that use the paypal_transaction hook for some of my custom processing.

The problem:
The paypal_transaction hook is called in ps upon receiving an IPN, but no matching data is found. When the same query is run in MySQL, data shows up. After some investigation, I determined that there's some sort of timing/sequence issue. Running the query in one of my other modules (called after ps), returns data. Yet even if I put a usleep() in ps, even if I loop it 100 times, that query still fails. It only works if ps is the last module called with paypal_transaction.

Pages

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