Posts Tagged ‘Web’
Facebook, the new standard…
I initially hesitated to write this post but I later decided to write it. I was discussing this will a friend the other day. You see I needed to buy some hosting space and a domain name for a site I am working on, I did not want to use my usual hosting service. I wanted a better package (who doesn’t).
So I went to Google and I started the search. I was so happy to find a couple of hosting packages that were fantastic. I think I had 3 or so. Okay now I have 3 very attractive hosting packages from different companies. They were almost the same in the features they promise to offer.
What was the driving chose behind my choice? Have u guessed it yet. Facebook “talaaa” let me explain.
I say recommendations given on all the sites from their customers, I even saw all the awards the various sites had won. The thing is there was no way I could authenticate those testimonials and awards with a very short time. What made me choose what I chose was because that particular company had a Facebook page. Voila! I quickly went to the facebook page to check out the comments on the service they were providing for people and I was really impressed. I actually believed what they said on the page.
Facebook has come to stay, I believe it is mainly because facebook tries it possible best to prevent spam and also authenticates it users. Very soon all companies, individuals will validate people, events, and societies on facebook. It is going to be the standard; it’s more than just social networking it’s a social directory.
Drupal School Site. St Louis Jubilee School Drupal in Africa (Ghana)
Here come another drupal success story. The building of St. Louis Jubilee School. This is a primary and JSS school (Junior High School) in Kumasi. Kumasi is a city in Ghana(West-Africa). The site is a basic website with normal functionality. The website contains information about the school and the activities of the school. Some of the features that allow the website to stand out from the rest of it’s kind is the following:
1. Online Results System
2. User and email Account for the staff
3. Accounts for the Students
4. Events/ News and Articles organization
5. Galleries
I just want to go through how I built the website. This is a write or some sort of documentation about how the tools,modules and how the site was built. We all know that drupal is a very powerful tool. I even called it the “drupal framework”. I see it as more of a framework that a CMS. We usually see it being used for high end sites like New York Observer, Eureka and the rest. I must say that they are really performing a awesome job with those site. I have actually learnt a lot from these sites and how the developers built it. In this case drupal is being used for a lower end site in terms of functionality , if I may say so. (A high school web site/CMS)
Read the rest of this entry »
Send emails in PHP-Using PEAR extensions
The PHP Extension and Application Repository (PEAR) is an open source structured library of packages for PHP developers. These packages provide routines which solve problems PHP developers regularly face: sending structured e-mail (such as an HTML attachment), interacting with different databases from a single script, error handling, recovery and logging.
The base installation of PEAR is shipped with PHP itself. The programmers working on PEAR have developed a method of installing new packages and keeping your existing installation up-to-date, called the PEAR package manager.
PEAR package manager
If you are using a version of PHP prior to 4.3, you will need to install the PEAR package manager. UNIX users can run the following command:
lynx -source http://go-pear.org/ | /path/to/php
This downloads the source of the page at http://go-pear.org and runs it with the PHP binary (replace /path/to with the path to PHP on your system).
Custom CSS for Internet Explorer 6 & 7
I was working on my mini-project. The project was a CMS for a school. I finished everything about it. I mean the php, mysql javascript, flash, and all that. But i had a small problem with the theme.
To be specific the CSS was different in Internet Explorer. I mean that i had to give internet explorer a different code to get the same effect in the various browsers. Firefox(my all time favorite), Safari and the rest.
IT was only internet explorer that gave me the issues.
Let me get to it.
Drupal Backend theme issues
If you’ve configured Drupal (www.drupal.org) the way that it
uses different themes for the frontend and the backend, it still kicks
you into the frontend when you edit content.
To change this you have to edit this file:
modules/system/system.module
at the end of the function “function system_menu($may_cache)” look
for the “else” part
// find:
if (arg(0) == ‘admin’)
// repalce with:
if (arg(0) == ‘admin’||
(arg(0)==’node’ && arg(1)==’add’) ||
(arg(0)==’user’ && arg(1)!=”) ||
(arg(0)==’node’ && (arg(2)==’edit’ || arg(2)==’localizernode’))
)