Tags » Drupal

A Fresh Start: Touro Library Homepage, Part 2

A little more than a year ago, we began the process of redesigning the library homepage (see its many previous incarnations), but the beginnings of the decision to undertake the project stretch even further back. 827 more words

News & Events

Drupal Commerce Translate Shipping service label

You can use following hook to translate and rename shipping method information.
/**
* Implements hook_commerce_shipping_service_info_alter().
*/
function theme_commerce_shipping_service_info_alter(&$shipping_services) {
if (isset($shipping_services[‘free_shipping’])) {
$shipping_services[‘free_shipping’][‘display_title’] = t(‘Free shipping within’);
}
}

Enjoy :)

Drupal

How to show featured image inside post

<?php
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail();
}
?>

Drupal

Turning on wordpress and drupal debugging

WordPress

public_html/wp-config.php
Change wordpress debugging mode to true like below in wp-config.php
define(‘WP_DEBUG’, true);
or add code below
define( ‘SCRIPT_DEBUG’, true );

Drupal

sites/default/settings.php

Add below code in  9 more words

Wordpress

Grant Permissions to Files Directory

I managed to successfully run my website on my Ubuntu laptop. However, transferring the file folder from my desktop is a bit tricky. It prompted  something like “You need to have permission to copy…” when i tried to replace the folder. 78 more words

Increase Upload Size in Drupal

The default upload size in Drupal is set to 2mb. However, you can change it anytime you like.

On the terminal, enter this

sudo nano /etc/php5/apache2/php.ini… 18 more words

And then there was Drupal

Drupal or Drupal.com is one of the many CMS options available today. Many successful companies use Drupal for the creation of their CMS. Drupal has everything needed to create an award winning CMS or website. 262 more words