Today I gonna show you how to install and setup the amazing views slideshow module on Drupal7. This tutorial is now uptodate with latest modules!!!Download all the modules from Drupal site and install in the directory yoursitename/sites/all/modules. Go to http://www.yoursitename.com/node#overlay=admin/modulesand enable these modules as below; (1) Views(2) Views UI(3) Views Slideshow(4) Views Slideshow: Cycle (5) Chaos tools (6) Link (7) Libraries (8) Token (Optional)* Fullsize Slider image settingsGo to http://www.yoursitename.com/node#overlay=admin/config/media/image-stylesand click on the add new style link (1) Give an Image style name and click on create new style button (2) On the next configuration screen select new styleyou want and then click addbutton (In this tutorial I choose resize style) (3) On the next screen set the width and heightand click on the add effectbutton.

Continue reading

在Drupal中使用jQuery很简单,这是因为Drupal内置了jQuery,并且在添加JavaScript时会自动加载 jQuery。在Drupal中,通过drupal_add_js()函数来添加JavaScript文件。 drupal7中注意$需用jQuery代替… 一、在页面内添加jQuery(不推荐此方法使用jQuery) Let’s get set up to play with jQuery. Log into your Drupal site as user 1 (the administrative account). On the Modules page, enable the PHP filter module. 开启PHP filter模块 Create a new node of type Basic Page, but on the node creation form, be sure to select “PHP code” under the “Input formats” section. Enter Testing jQuery as the title, and add the following to the body section of the form: 创建一个页面,选择PHP code 的输入格式

Continue reading

Author's picture

LuLU

Love coding and new technologies

Cloud Solution Consultant

Canada