In a Zend_Form object, if you want to separate a few fields visually, here's how you can do it using a horizontal line view helper
<?php
class Personal_Decorator_HrSeparator extends Zend_Form_Decorator_HtmlTag
{
protected $_placement = self::APPEND;
protected $_tag = 'hr';
}
In the previous article by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, we saw how to implement more complex marketing technique such as cross-selling using taxonomy and recommendation systems for Drupal with Ubercart, how to create an alternative layout for products using panels and enhance user interface using views. In this article we show we will you how to offer a better browsing experience to your visitors, and how to use enhanced marketing techniques to attract more clients and to make them spend more money in your store. In this article we are going to show you:
Consider that you have built an e-store, and it is full of products, has great functionality, and offers the client a great browsing experience. The only problem is that you're still using the default Drupal theme, so your website looks too ordinary and rather ugly. People won't be able to perform proper searches and you cannot interfere with the UI by simply promoting items from your stock or communicating special deals and offers.
This article by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, shows you how to install a ready-made theme, free or commercial, and use it as is.
This article is a quick installation reference for Drupal, the required Drupal modules, and Ubercart. Ubercart is not a standalone e-commerce application, but it comes as a Drupal module. That means you have to first install Drupal and all the required Drupal modules on a server with the minimum requirements, before installing Ubercart. The topics that we will discuss in this article by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, are:
PayPal sandbox preface:
The trick with the PayPal sandbox is you have 3 accounts. The primary account is your developer account. This logs you into http://developer.paypal.com/. The other two (one Buyer one Seller) work within the sandbox system. You need to login with your developer account before you can use these other accounts. The way I set mine up was to use my email address for the developer account and just use the default address generated by PayPal for the Buyer and Seller accounts. Also, if need be you can create multiple Buyer and Seller accounts under your developer account.
Below is a complete step-by-step for setup and checkout (tested with Drupal 6.10 and Ubercart 2.0 beta3)
1. Go to http://developer.paypal.com/ and create an account. This is separate from any existing PayPal account you may have.
2. Click on “Create a preconfigured buyer or seller account.”
If your site uses the admin_menu & menu_breadcrumb modules, you might have noticed something wrong with your page titles on the /user page, similar to this:
# / # <img src="/sites/all/modules/admin_menu/images/icon_users.png" width="16" height="15" alt="Current anonymous / authenticated users" title="Current anonymous / authenticated users" />The incorrect HTML is being output from the admin_menu in admin_menu.module on line 286, but it's caused from the menu_breadcrumb module.
As a quick solution, I added some code to my theme template.php file in a preprocess_page function to replace the titles.
If your site uses the admin_menu & menu_breadcrumb modules, you might have noticed something wrong with your page titles on the /user page, similar to this:
Here's how you can include javascript and/or css from a module. If you'd like to include the files on every page load, you can put this code snippet in your hook_init().