Skip to main content

Blogs

Best option is to use the 'Advanced Options' of the views slideshow module itself.

 Steps:

  1. Create directory called json2 in sites/all/libraries and download https://raw.github.com/douglascrockford/JSON-js/master/json2.js and upload it in this folder.

  2. Under jQuery Cycle Custom Options in advance options set add the following 1 by 1,

    height: auto width: auto containerResize: 0 slideResize: 0 fit: 1

  3. Make the slide window height fit the largest slide: leave unchecked

  4. Save the view. The slideshow will be responsive even while dragging the browser window.

jQuery_Cycle_Custom_Options

 

 

 

 

 

 

 

 

 

 

 

 

You can add a custom text field in Views3

Add custom text field

 

 

and select that in views field setting as nivo slide title!

select custom text as slide title

 

you can download and use this module Header and Footer Scripts

/**
* Implements hook_page_attachments_alter().
*
* Alter attachments (typically assets) to a page before it is rendered.
*/
function MY-MODULE-NAME_page_attachments_alter(array &$attachments) {
 
  $attachments['#attached']['html_head'][] = [
  [
  ' '#type'  => 'html_tag',
    '#tag'   => 'script',
    '#value' => '<script type="text/javascript">console.log("HFS Header3");</script>',
  ], 'MY-MODULE-NAME'
  ];
}

you can download and use this module Header and Footer Scripts

/**
* Implements hook_page_attachments_alter().
*
* Alter attachments (typically assets) to a page before it is rendered.
*/
function MY-MODULE-NAME_page_attachments_alter(array &$attachments) { $background_color = '#000';
  $attachments['#attached']['html_head'][] = [
  [
  '#tag' => 'style',
  '#value' => '#left_col #content { background: ' . $background_color . '; }',
  ], 'MY-MODULE-NAME'
  ];
}

I have the same issue due to multi database setup in D6.

plz read the following:
https://drupal.org/node/662860#comment-2391510

In your .htaccess you can try this code:
php_value memory_limit 64M

Please add this code in your theme functions.php file

/** CSS Cache Buster */
add_filter( 'stylesheet_uri', 'child_stylesheet_uri' );
function child_stylesheet_uri( $stylesheet_uri ) { return add_query_arg( 'v', filemtime( get_stylesheet_directory() . '/style.css' ), $stylesheet_uri);
}

My clients want to change drupal blog->articles and i have done this using string override module http://drupal.org/project/stringoverrides

But for blog links we need to use these strings

!username's blog -> !username's article

!username's latest blog -> !username's latest article

@name's blog ->@name's article

@username's blog ->@username's article

Blog -> Article

blog -> article

you need to  change the line

header("Cache-Control: store, no-cache, must-revalidate");

to

header("Cache-Control: no-store, no-cache, must-revalidate");

in function drupal_page_header() in ./include/bootstrap.inc

if($device->getCapability('is_wireless_device') == 'true') { print 'This is a mobile device';
} else { print 'This is NOT a mobile device';
}