Showing posts with label Drupal. Show all posts
Showing posts with label Drupal. Show all posts

Friday, February 22, 2013

Listing current user uploaded brightcove videos in drupal

If you want to list current user uploaded video in drupal, use below code. Drupal brightcove module provides an option to store the Drupal username of the user who uploaded a video. You need to create this field(custom field) in brightcove before using this feature. Click here to understand how to create cutsom field in BC Studio. Goto drupal brightcove configuration page and add this field name in "Brightcove Drupal User Custom Field" field. Brightcove module automatically update drupal username in brightcove while uploading new video into video cloud. The below function will fetch all the videos which uploaded by the user. function video_list(){ global $user;   // Define our parameters   $params = array(); $user_field...

Wednesday, January 30, 2013

How to use brightcove video Search in drupal

Brightcove video cloud, a cloud based video hosting and publishing solution. Drupal is one of the most commonly used open source CMS. To integrates brightcove video cloud into drupal, drupal community provides one module called Brightcove module. . Using this module you can add Brightcove video to your content and access the information from the Video Cloud in your site.  In brightcove module they are using Brightcove Media API and this APi provides various methods to retrieve properties from brightcove video cloud. But this module is mainly focusing on find method. So here I am trying to explain how to use search method in drupal. Search method is also a simple function to retrieve properties and information from Brightcove. To...

Friday, October 5, 2012

How to create Virtual Hosts in Ubuntu

Virtual Hosting is a method for hosting multiple sites/domains in a single server. It helps to reduce the cost and can share the memory and processor cycle. In local host also we can create Virtual host and we can call original domain name(production/live domain) from our development environment(localhost). Here I am providing the steps for creating Virtual host in Linux/Ubuntu workstation. i.  Assume your code resides at /var/www/yoursite ii.  You can access your site using http://localhost/yoursite. iii.  Edit vhosts file in sites-enabled. sudo gedit /etc/apache2/sites-enabled/vhosts.conf. iv. Add below code in vhosts file <VirtualHost *:80> ServerName local.yoursite.com ServerAlias www.local.yoursite.com DocumentRoot...

Saturday, October 15, 2011

Top 20 Wordpress plugins and their Drupal equivalent

Wordpress is a popular blogging platform like google blogger. It provides more flexibility than blogger. If you want setup a good looking blog site quickly without knowing more technical stuff, then Wordpress should be the most likely choice for you . It provides a lot of plugins that just enable to activate more user friendly functionalities. Wordpress is a Content Management System(CMS) build around PHP and MySQL. Like Wordpress, Drupal is also a CMS build around PHP and MySQL with almost all the strengths of Wordpress. But Drupal is more developer centric and customizable and robust when compared to Wordpress and it useful for developing Medium and large Websites, other than just a blog site.  Due to the huge fanbase and ease of...

Friday, March 11, 2011

Drupal 8 developement begins

After the release of drupal 7 in earlier this year, drupal developers beginning to plan for new version, Drupoal 8. In annual DrupalCon conference this week, Drupal founder Dries Buytaert detailed what lessons were learned in the Drupal 7 development process and how those lessons will be applied to Drupal 8.  Drupal is among the most popular open source content management system in use. Thousands of websites uses drupal. Major sites like Mozilla, NASA, Whitehouse.gov and among others used drupal for their sites. Development is now beginning on Drupal 8 and Buytaert is restructuring the project to ensure that the lessons of Drupal 7 are not forgotten. Dealing with bugs is one of Buytaert's top priorities. "At no point in time will there...

Sunday, February 27, 2011

Install Drupal 6 in AwardSpace

AwardSpace is a web hosting provider, to provide both free and paid services. In free hosting service a lot of people facing issues in drupal-6 installation. So they are switching the free hosting account to paid or switching drupal to other frameworks. So here I am trying explaining how to install drupal CMS in Awardspace web hosting server. Drupal 6 needs PHP5 for the installation. For installing drupal, first download the installation files from Drupal site (drupal 6.20).Once you have downloaded Drupal and created an account in Awardspace, we need to upload the files to our Awardspace account. The easiest way to do this is using and FTP client, filezilla or other FTP client. Now you can install drupal. But before starting please check...

Sunday, February 13, 2011

Customize existing form in drupal6

Drupal is one of the most commonly used open source CMS. In this CMS most of the developers are not aware of how to modify existing forms. Drupal providing a functionality to modify existing form, custom validation or submitting or adding extra fields to a existing form or core module's form. In my experiences most of the developers are not know this feature in drupal. So they are going to write new module for the same functionalities. This will cause the performance of the site and it make the site to costly. This document helping you to customize an existing form mainly modifying core module's forms. The solution is use form_alter_hook "hook_form_alter()". It perform alterations before a form is rendered. You can use this function any...

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Maintained by Web Themes