Adding content to new pages

Hello All,
I am very new to Drupal, so this might sound very simple

I have installed Drupal Commerce and created new Basic Pages, now i want to display my products on the new pages instead of the Home page, please help me...

Also, i can only see 1 product per row.
But, i want to create a grid where i can show 2 items(products) per row.
Any suggestions please..??

Javascript and node types in html.tpl.php

Being a relative newcomer to Drupal, I'm currently trying to convert a client's site into a Drupal theme from flat HTML and CSS given by the designers of the guys I currently work for.
The designers regularly love to insert a chunk-load of Javascript and jQuery into their site builds and a terrific example of this would be this page here, if you care to view the source : http://avanguardia.co.uk/the_urbanists/index.html

Drupal 7 DB api help - Call to undefined method SelectQuery::limit()

Hi,

I'm updating a D6 module to D7, I have the following code in a function in my module which is based on user_admin_account() (from user.admin.inc):

	$header = array(
		'username'   => array('data' => t('Username'), 'field' => 'u.name'),
		'mail'       => array('data' => t('Email'), 'field' => 'u.mail'),
		'operations' => array('data' => t('Operations'))
	);
	
	$query = db_select('users', 'u');
	$count_query = clone $query;
	$count_query->addExpression('COUNT(u.uid)');
	
	$query->extend('PagerDefault')->extend('TableSort');
	
	$query
		->fields('u',array('uid','name','mail'))
		->limit(10)
		->orderByHeader($header)
		->setCountQuery($count_query);
	
	$users = $query->execute();

This throws the error 'Call to undefined method SelectQuery::limit()' If I remove limit(10), I get similar errors for orderByHeader() and setCountQuery() If I remove everything apart from fields(), it works...

The code from user_account() is below:


$header = array(
'username' => array('data' => t('Username'), 'field' => 'u.name'),
'status' => array('data' => t('Status'), 'field' => 'u.status'),
'roles' => array('data' => t('Roles')),
'member_for' => array('data' => t('Member for'), 'field' => 'u.created', 'sort' => 'desc'),
'access' => array('data' => t('Last access'), 'field' => 'u.access'),

CRM salesforce integration or other CRM database best Drupal

Hello,
Is there a good way to integrate Salesforce with Drupal or do you recommend a CRM database that works great with Drupal and is dynamic and a application that is here to stay!
Want something that will be easy to contact potential customers and vendors, and the community who visits/uses the site.
Thank you.

ecommerce suggestions latest best solution

Hello,
I want to know if there are any cloud based solutions for ecommerce that offer the following or if not cloud based what is the best for a business to use- one that is relable and great and robust with good features that support the following:
Search-engine Friendliness
PCI Compliant Hosting & Security
Up-selling & Cross-selling Features
Product Review Feature
Flexible Pricing Management
Robust Catalog Management
Solid Analytics & Reporting

AJAX and save error in views 3 (Drupal 7)

I have upgraded my drupal website from version 6 to 7 (db and themes as of now). When I click on some of the views, I get a popup with the following message

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /swj/admin/structure/views/view/UnderReview/preview/page_1/ajax
StatusText: OK
ResponseText:
Fatal error: Call to a member function is_defaulted() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/swj/sites/all/modules/views/includes/handlers.inc on line 212

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x