Hi! I am Geshan Manandhar, a Bachelor's of Information Management (BIM) graduate. Currently I am working as a developer (PHP) at Young Innvovations Pvt Limited.
Mar
2
Apply multiple Drupal themes for sections in a single Drupal website
Submitted by geshan on Mon, 03/02/2009 - 06:22
Think of a way by which you could select one Drupal theme for your blog section, one for your forum and one for the other pages/nodes. So this is possible how you do it what you are going to get in this blog post. I am doing it on a Drupal 6 website, it can also be done for a Drupal 5 website. Feb
26
Random header image on page refresh (applicable to Drupal theme)
Submitted by geshan on Thu, 02/26/2009 - 09:21
Some time back, we needed to get a random header image on every page refresh for a client. So I devised a simple way to select a header image from any 5 given images and show it on a page. How did I do it with PHP and CSS is explained below: Jan
14
Start learning PHP with slides and sample code 4 (Day 8-10), Learn PHP and MYSQL in 10 Days
Submitted by geshan on Wed, 01/14/2009 - 07:09
In continuation to the previous posts and slides. This the last one in the batch day 8 - 10. You can learn PHP and MYSQL in 10 days.Get all the slides and code from day 1 to 10 here, or try the alternate link here.
Here are the slides for day 8-10Dec
30
Start learning PHP with slides and sample code 3 (Day 5-7)
Submitted by geshan on Tue, 12/30/2008 - 04:37
The course continues for PHP and MYSQL. Learn PHP and MYSQL database handling with slides/presentation and sample code. Get the slides and code samples below:
Dec
28
Taming Drupal Node Teaser and Node Title 2 (for custom content)
Submitted by geshan on Sun, 12/28/2008 - 06:16
In continuation to my previous post about "Taming Drupal Node Title and Teaser" this is part 2 of the Drupal node title and teaser taming tweak by editing node-type.tpl.php.(type is your content type like story, project or custom type like news or project etc). This is what your teaser for front page look like after the tweak is applied and after some great theming :-). Dec
23
Start learning PHP with slides and sample code 2 (Day 2-4)
Submitted by geshan on Tue, 12/23/2008 - 21:43
The PHP classes are running on Friday, Saturday and Sunday. These are the slides of Day 2, 3 and 4 and the sample codes as below:
The Day 2 Slide on PHP Variables, Operators ETC:
Dec
17
Start learning PHP with slides and sample code
Submitted by geshan on Wed, 12/17/2008 - 05:09
I recently had to start PHP class for BIM 5th Batch of Prime College so thought I'd post the slides and sample code online at my new Drupal 6 site http://www.geshanmanandhar.com/slides/php . Grab the slides and codes at the above URL. Here is the slide for day 1, other things will be updated soon.You can get the related links at http://delicious.com/geshan/107
Jun
27
Taming Drupal Node Teaser and Node Title
Submitted by geshan on Fri, 06/27/2008 - 22:23
You might be wondering what is the use of this article / tutorial when Drupal system of handling title and teasers is so good and there are modules like node teaser to customize the teaser as per your need. But lets picture a scenario you are developing a website with a custom front page (required by majority of websites) so you have created your page-front.tpl.php and created a panel kicking out your left and right sidebar selection and example below. Apr
3
Giving out custom RSS from your Drupal Site
Submitted by geshan on Thu, 04/03/2008 - 20:33
Recently I ran into a problem where by I had to give out RSS of the Forum only from a DRUPAL 5 site, as the website was forum centered but it had blogs also. So when I first used the default rss.xml like (http://somesite.com/rss.xml) it gave out all the update not only the updated of the Forum that I wanted. I even tried another RSS source http://somesite.com/forum/rss.xml but it also had the same output. So problem is: giving out RSS of Forum only, how to do that?Apr
3
Showing last 5 posts in your blogger blog
Submitted by geshan on Thu, 04/03/2008 - 08:17
As you might see above the post(s) here in my blog I've put up the last 5 posts to my blog. You can also put this in your own blog its very easy. It can be done with no hassle following the steps given below with screen-shots for your convenience:Steps