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

Monday, April 25, 2011

Drupal Development Services in India

With the evolvement of new age study and technologies, numerous countries are developing hand in hand. One such a crop is Drupal. Internationally accepted to be one of the high-end content Management services (popularly renowned as CMS), Drupal development services are highly utilized to sustain the identical as a back end scheme for not less than 1% of websites accessible online. The attractiveness of Drupal can correctly be ascertained when one can glimpse that the government sites of that of the United Kingdom and United States of America values this very free and furthermore open located CMS as their back end systems.

Apart from these, numerous of the individual blogs, financial sites, and political organizations have nominated the services of Drupal to be sustained as their back end systems. Drupal has furthermore a huge usage for business collaboration and furthermore information management. The normalized format of Drupal as issued is termed as Drupal centre that comprises some of the most rudimentary characteristics widespread to other CMSs. These functionalities engage list Management, page layout customization, RSS-feeds, system administration, and furthermore client account registration and maintenance. The setting up method of Drupal development services are directed to be presented as a community website supplying for user-generated content, an Internet forum, a brochure ware website, or even as a single- or multi-user blog.

Although Drupal is directed to offer a programming interface that is much complicated in set about to the worldwide developers, no such programming abilities are really needed for the rudimentary setting up and management of the website. This very CMS is coded on a PHP stage that is permitted under the GNU General Public License a relentless development to offer the computing enthusiasts with newest methods; Drupal has been made accessible with a whooping 7000 and still counting free community assisted add-ons. These add-ons are popularly renowned as contrib module. These add-ons are worth much to the alteration and so furthermore to the elongation of Drupal's inherent capabilities, thereby endowing many to add newest characteristics or even customize Drupal's total look and behavior.

As more and more businesses are looking out in seek of appointing the services of some of the associations that offer Drupal website design, these days there are numerous associations that have sprouted up to offer Drupal services to these large scale organizations. Following the footsteps of the world India too, is nothing less timid to greeting this trendy country with open arms. Nowadays, there are numerous world broad web hosting businesses proposing precious services in this realm of Drupal website design and that too with many of alleviate and comfort.




php development, symfony developers

Friday, January 23, 2009

Customising the user profile layout

(Thanks to Dublin Drupaller for starting this section of the handbook)

The PHP Snippets below are intended for use within a customised USER PROFILE page that simply enables you to “pull” specific content from your drupal database specific to a particular user and display it in the way you want.

They are intended for use with a phptemplate based theme and for Drupal site developers who do not have php programming knowledge but want to push out the boundaries of user profile pages and control precisely how they look.

See also Advanced Profile Kit for an alternate method of sprucing up your user profile pages.

Simple step-by-step instructions are provided.
The concept

Drupal is an extremely powerful tool for building online communities, in particular, allowing users to submit their own content to a community hub. A good illustration of this working well online might be the World famous myspace.com site, where bands/artists are able to submit content into their own page.

Drupal has all the tools available to create your own myspace.com style community hub.

These snippets are intended as a mini-repository and as an aid for site designers without php programming skills to create sophisticated User Profile Pages for members of their community.

Customised User Profile Pages maybe applied to many applications. myspace.com is primarily a site for artists & bands, but, similar techniques could be used for other applications such as a rzye.com (Drupal powered community hub) style professional networking hub or terminus1525 (Drupal powered community hub) for studios.
Getting Started - (Drupal 4.x and Drupal 5.x)

Step 1 - is to override the default User Profile page layout by uploading the special template.php file to your active theme folder.

$account, ‘fields’ => $fields));
}
?>

If you already have a template.php file in your active theme folder, simply add the above to the existing template.php file and upload it.

Step 2 - (Drupal 4.x and 5.x) is to create your customised user_profile.tpl.php file and upload that to your active theme folder.

If you’re starting from scratch, simply open notepad.exe or a similar text editor and paste in the snippets linked below to build your custom user profile page. Save it with the user_profile.tpl.php filename and upload it to your theme folder along with the template.php file.

Once you have got started with your first user_profile.tpl.php file, you can experiment with adding in more snippets or including HTML layout controls to get a feel for the flexibility this allows.
Getting Started - (Drupal 6.x)

Step 1 - is to override the default User Profile page layout by uploading a custom user-profile.tpl.php* file to your active theme folder.

Drupal will automatically detect the presence of your custom user-profile.tpl.php and override the default user profile layout. To make this happen, you need to rebuild the theme registry, which you can do by clearing the caches (for example using the button on the admin/settings/performance page), or simply by visiting the admin/build/modules page.

* note that in Drupal 6.x, your custom user profile layout file name uses a hyphen, instead of an underscore.

Step 2 - is to customise your user-profile.tpl.php layout file.

By default, all user profile data is printed out with the $user_profile variable. If there is a need to break it up you can use $profile instead.

As an example, the following snippet inserted in your custom user-profile.tpl.php will display the default user profile layout.

Available variables:

* $user_profile: All user profile data. Ready for print.
* $profile: Keyed array of profile categories and their items or other data provided by modules.

To check for all available data within $profile, insert the following snippet at the bottom of your custom user-profile.tpl.php.

Available variables

The following is a list of variables that is available to your custom user-profile.tpl.php.

'. check_plain(print_r($profile, 1)) .'

‘; ?>

How to use these snippets

Simply copy and paste these snippets into your custom user profile layout file and upload it to your active theme folder. Check to make sure that the snippet you are using is compatible for the version of Drupal you are using.

It’s recommended that you test your customised user_profile.tpl.php(Drupal 4.x or Drupal 5.x) or user-profile.tpl.php file (Drupal 6.x) on a test installation before adding to a live site.
Adding new snippets

Simply click on the ADD NEW CHILD PAGE link below and create a new handbook page. Include any dependencies, such as which version of Drupal you have tested the snippet with or extra modules that need to be enabled for the snippet to work.

PLEASE NOTE! The following snippets are user submitted. Use at your own risk! For users who have setup drupal using an alternate database to the default (MYSQL), please note that the snippets may contain some database queries specific to MYSQL.

* A basic User Profile Page to help get you started
* Customising the user profile pages (a “before” and “after” example with screenshots)
* User Profile avatar/picture Snippet
* Handling single-line profile fields
* Handling multi-line profile fields
* Handling checkbox profile fields
* Handling freeform profile fields
* Handling URL profile fields
* Recent weblog entries (titles) snippet
* Recent weblog entries (titles & teasers) snippet
* Add/delete to/from buddylist snippet
* Display a list of buddies snippet
* Display list of (x) recent posts (titles) snippet
* User “history” or “member for: (time)” snippet
* Adding layout and content to the default user profile theme
* allow users to choose whether certain profile fields are visible or hidden
* Allowing users to customize their profile
* Custom User Blocks and User Tables PHP Snippets
* Customising the user profile layout per role
* Display link to user’s embedded gallery (or not if it does not exist)
* Display a customisable “this user is [online/offline]” status message in the User Profile page
* Display a user friendly text message when profile fields are left blank
* Display a user’s points value from the userpoints.module
* Display recent nodes (titles & teasers) snippet
* Displaying counts from the Invite module
* Drupal V5.x warning: Cannot add header information
* Handling date profile fields
* Howto: Make the user profile layout compact (with css only)
* Insert Subscribed Organic Groups List
* Messages for unpublished profiles
* My Comments Block for Profiles
* Outputting full civiCRM profile to custom profile
* Outputting individual CiviCRM profile fields into custom Drupal profile
* User Profile Page
* User referral module
* Weight sorting for input fields (when the user fill the form) doesn’t apply - fix
* Insert user friendly “click here to add your..” links when user profile fields are left blank
* Display a date related notice or countdown snippet
* Send private message snippet
* Display a Skype “Call me” or “leave a voicemail” button depending on Users’ online/offline status
* Display users age based on a date-of-birth field
* insert a “view your order history” and “view [username]s store” link
* Show/hide certain profile fields depending on user role or user permissions

Wednesday, January 21, 2009

Blog to it - The social blog directory

Blog to it is a social blog directory developed using 100% contrib modules. Well, there were a few tweaks to one module and a few more tweaks in the theme. This case study has been written to give an insight into how and why Blog to it was developed.

What is it?

"Do you have a blog that you would like to share with others? Do you enjoy reading blogs but don’t know where to effectively look for them? If you’re in this predicament, drop by Blog.to.it and take a look at what they have for you to enjoy.

Blog.to.it is a website that allows users to import all of their blog posts via RSS or start a new blog directly on their site. The site has eight different blog categories including technology, business, science, gaming, lifestyle, entertainment, sports, and other. Whatever you want to write or read about is easy to find, just look through the categories that interest you most.

Once posts are in they can be voted on, commented on, and sorted by rating, category, or date. Blog.to.it hopes to be a great place to find new blogs to read. The site merges loads of features from current sites and brings them to a new audience, the personal blogger. There are many blogs world wide and it is often hard to get noticed between all the corporate blogs out there, this site is trying to help bloggers come together in a space that’s just for them."
From Killer Startups

Features

  • Hosted user blogs - Just like on Blogger or Wordpress a user can start blogging on Blog to it, this isn't a key feature but was more or less there, so why not use it.
  • RSS user blog import - This is the key driver of the site by allowing users to add their existing blog posts automatically to Blog to it.
  • Blog post commenting - It was never fully decided if this should be on the site or not, should comments be on Blog to it or on the original blog. Maybe one to work on?
  • Blog post rating / voting - This also another key feature. The main way to view posts is by number of votes. (Digg like)
  • Browse posts by rating
  • Browse posts by date
  • Browse posts by category
  • Browse posts by user / blog
  • Browse blogs by tag
  • Personal and site wide Twitter updates - This is a really great feature to have. It both helps the user integrate more with the site, and is a great marketing tool. A lot of the traffic is coming from Twitter and Twitter aggregation.

How was it done?

Modules

Blog to it screenshot
The whole site was developed using Drupal 6 and then moved to Acquia Drupal once live. It is heavily based around the core blog module because user blogs are created in the default Drupal way, and RSS imports are imported into the Blog content type.

By using the DrupalMU Helper module which is part of the Drupal MU install profile it helped turn the core blog module into a multi-user blogging system and gives vital functions that were used when creating views and the theme.

One of the other key modules was the FeedAPI module which is used to import an external blog into the blog content type via RSS feed. The Content Profile was used to add the RSS feed URL field to the user's profile. Simple feed was also looked into as a way of importing feeds, but it didn't seem to attach the imported nodes to the user who setup the import. This may of been a development error rather than a fault with the module, but FeedAPI was suggested a better module, and it worked.

Posts can be voted on using the VotingAPI and Plus1 modules. Voting API was an obvious choice when creating a site that requires voting, but which module to use with Voting API was a harder choice. Drigg seems the most advanced to allow +1 and -1 voting, but this was not available for Drupal 6 (it was tested once the first 6 release and seemed too specific), so after spending a few hours installing, testing and uninstalling Plus1 seemed to offer what was needed for the Blog to it use case.

This site is not very complex, but works well. The uptake has been good and by adding Twitter integration this helps with marketing. The Twitter module allows each user to import their Twitter posts, and announce their new posts on Twitter. It also allows the announcement of all new posts via Triggers and Actions on http://twitter.com/blogtoitnew.

Views also plays a big part in this site, much like it does in other sites. It allows many pages to be developed showing the posts in different ways. There is one main view for the site which creates three pages for each category.

Theming

The theme was based upon Raincity's Basic theme, this really helped speed up development. There was very little special development in the theme. The only exciting aspect is the use of the Drupal MU helper functions. The function returns the UID of the user whose blog or profile is being viewed. This allowed custom theming for user pages such as hiding the Blog to it logo and displaying the site name.

Infrastructure

The site was developed on a budget VPS from VPS Empire who has now merged with VA Serv. After launch and after a lot of hunting a hosting partnership was found with Castlegem, so far the site has been running very well, and Castlegem were great at getting the server setup, including custom nameservers, DNS and backup.

What next?

Blog to it screenshot
Blog to it has currently been released as an Alpha version so many of the bugs can be ironed out. Development will continue until the beta version is ready early 2009.

So far very few bugs have been found, the hardest aspect seems to be perfecting the usability. For example, should anonymous users be able to vote and comment? what should be displayed on each page? what is a "top post"?

Also because there are so many posts being imported cron needs to run every 2 mins. This means that on each cron run there is only 1-2 posts and twitter updates being imported, where as if cron was run every hour there many be 50+ posts and twitter updates being imported. This also helps the site stay very up to date, but puts a big strain on the server

There are many ideas of how to move the site and project forward, and by using an array of contrib and custom modules it is planned to add more social features to the site. Such as friends and / or followers, what posts your friends have added, other people who have voted on this post. It is also planned to launch a more feature rich profile page displaying a user's friends and what posts they have voted on.

Please head over to Blog to it, register, add your blog and vote up posts you like.

Wednesday, December 31, 2008

Drupal Module - iGallery

iGallery

* Compatibility : DRUPAL 6
* Version : 6.6 - Beta version.
* Liecense Information : No liecense

Copy the module directory in your modules folder and enable it.You can create public and private igallery content using this module.

For adminster igallery go to "Igallery Settings" in administer menu and follow the form and help description.

For creating new igallery go to create content and create a igallery content type. The new igallery content type will act as igallery.

Click radio button to select ur igallery type.

If u select Image it will work as image igallery. If u select Video it will work as video igallery.

You can upload wmv, mov, mpeg and some other contents type to video gallery. It will be converted to flv formate using ffmpeg commands.

Once u create i gallery you will not able to change it type.

You can select plugin to show image type igallery.... available plugins options are....

1) Greybox
2) Lightbox

Flowplayes is used to show videostreaming in video type i gallery.

Download

Tuesday, December 9, 2008

Remove tinymce from drupal block edit page when format is set to PHP

Small one this to compliment our other article on removing tinymce from select textareas. This enhancement will hide tinymce from the Drupal block edit screen when the input format is set to PHP. This stops the problem of tinymce stripping the PHP tags from the block edit textarea when you edit your block

The following function goes into your template.php file and will solve the problem of tinymce showing up on a block when the format is set to PHP

function phptemplate_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {
print $textarea_name;
switch($textarea_name){
//add text areas to disable tinymce for
case ‘log’:
unset($init);
return $init;
break;

case ‘body’:
if (arg(0)==’admin’ && arg(1)==’build’ && arg(2)==’block’){
$format = db_result(db_query(”
SELECT format
FROM {boxes}
WHERE bid=%d”,$bid
));
if ($format==2){
unset($init);
return $init;
}
}

default:
return theme_tinymce_theme($init, $textarea_name, $theme_name, $is_running);
}
}

Monday, September 8, 2008

CMS Drupal Development

Drupal Development is in the present time the most sophisticated CMS (Content Management System) on Internet. It's popular all over the world. Its main advantages are wide social network, which is still improving the system and makes an effort to approach it to general public, personalisation and security. Whole Drupal is under GNU General Public License 2 (GPL) and contents a large amount of additional modules and themes. It's installation is very simple and the homepage Drupal.org includes entire informations from global news up to useful tutorials which helps beginners and advanced users how to sort out any problem. Everybody can access the huge Drupal API and look inside the core of the system.

The core is written in PHP and cooperates with MySQL or PostgreSQL database engines. Drupal core consists from modules. However, there is a variety of other modules. Developers can simply download a module, copy it into the Drupal site and install it within the administration. Every module has its own ability and functionality.

Main Purpose
The aim of Drupal is to be the powerful engine of websites, which can simply build and handle every user. Drupal is still on the way, however the awaiting version 6.0 will provide lots of new features and improvements. It also should approach Drupal to regular users. Drupal is now able to be extended by official modules to a variety of website types from a simple weblog to extensive e-shop or a huge application.

Requirements
CMS Drupal is easy to install on the most of hosting programms. Its minimal requirements are: Web server, the best choice is Apache PHP version 4.3.3 and higherMySQL version at least 4.0 or PostgreSQL at least 7.0Database user has to be allowed to CREATE TEMPORARY TABLES and LOCK TABLES. Some modules require .htaccess file and mod_rewrite support

Drupal Development, Drupal Themes Development, Drupal Modules Development, Drupal Templates, Drupal Design Integration, Drupal Installation

Source:

http://codedrupal.blogspot.com/

Wednesday, August 6, 2008

Drupal Development By Virtue Info

No prizes for guessing, what’s the flavour of the season in corporate India. It is of course, offshore outsourcing. And with Drupal (Content Management System) spawning significant demand in the foreign shores, the Indian programmers are all-set to tackle the growing requirements and obviously the developers at Virtueinfo with strong domain knowledge. For the newbie’s on the block, Drupal is a free and open source modular framework and content management system which is used in the programming language PHP.

Though many Content Management Systems are available, the developers have taken a liking for Drupal, as its built-in functionality with add on modules, facilitates host of activities like,

  • Arranging the content,
  • Modifying its appearance,
  • Computerizing of the administrative tasks,
  • Managing site guests and contributors.
  • Forums
  • Peer to Peer networking
  • Newsletters
  • Podcasting
  • Picture galleries
  • File uploading and downloading

Being a sophisticated programming interface; most of the tasks can be achieved with small or no programming. In fact, scores of people and organizations have been using Drupal to power or say, support their web sites, including,

  • Drupal Development
  • Drupal Layout Design
  • Drupal Hosting
  • Migration to Drupal Site
  • Drupal Installation
  • Drupal Module Development
  • Drupal Themes
  • Drupal SEO
  • Drupal Web Site Maintenance


It has been reported that from May 2006 to April 2007; Drupal was downloaded from the website more than 6, 00,000 times. A valid proof on the software’s growing popularity. Besides, Drupal software is free to download and use. So if your find that Drupal has all those critical characteristics that will go a long way in enhancing your website, then what are you waiting for. Join hands with Virtueinfo. The company is equipped thoroughly for the task at hand, so to expand and refine Drupal as per client requirements.