Views and Taxonomy

Hi guys!

I have a vocabulary called "categories" and terms and a custom content type called "product" as following:

[categories]

Electronics {term}
-cameras {sub-term}
+Canon {product}
+Fuji {product}
+etc
-computers {sub-term}
+Hp
+Dell
+etc

Clothes{term}
-Children{sub-term}
+product1
+product2
+etc
-Women{sub-term}
+product1
+etc

drupal_render() and drupal_render_children() return a blank screen with no errors

In Drupal 6, when theming a form, we had to call drupal_render($form) at the end of the form to render any elements that had not yet been rendered. I am trying to do the same in Drupal 7, but it's just giving me a white screen with no errors whatsoever. Here is my hook_theme():

function force_password_change_theme()
{
	return array
	(
		'force_password_change_settings' => array
		(
			'render element' => 'form',
			'file' => 'force_password_change.pages.inc',
		),
	);
}

And here is my theme function:

Affliate Model of Module

I was wondering if some module for Affiliate Banner Based on revenue sharing or per registration( Pay per Lead) is available on DRUPAL

What is the Drupal 7 affiliate module?

Hi,

I just wan't to know if there is an Affiliate Module for drupal 7?or for drupalcommerce?
It's part of my website features and I really need it. Please help me on this.

Thanks,
John

Can't Get Drupal 7 To Connect to MySQL from Localhost

I'm completely sorry for this but I can't find the answer after searching on google.

I went to install Drupal on my localhost but I keep getting this error:

"Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)."

My database connections are correct. When I'm on my localhost I usually use "root" as the username with no password. I did try creating a new user with a password and still it won't connect.

What am I missing here?

How to create comments programmatically in Drupal 7 ?

Hi all,

I have code for creating comment programmatically in Drupal 6 and it's works. Since i want to move into Drupal 7, now my code doesn't work and it's give error. Here are my code in Drupal 7 :

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x