Drupal Override: Understanding Themable Output

Drupal Theming is hard enough when it comes to dealing with CSS & browser rendering issues. On the other end, for programmers the code templating process can be powerful and convenient once we get the hang of Drupal’s theming system.

A community documentation page at Drupal.org offers a good introductory overview of themable output, covering the basics of data source and overrides:

Introducing the Project Status Center

The Status Center provides a complete project overview in a single page in order to keep all members up to date with planning, progress and project needs. The status center is designed to look like a paper report so that it is easy to use for anyone affiliated with the project.

The project page includes: status overview, expectations for the week, overview of all tasks and milestones with completion percentage, files and resources, as well as important notes and comments.

Drupal Search: Disable Indexing of a Node Taxonomy

The following code stops Drupal 6 from indexing a node’s taxonomy as part of its content. The code uses hook_nodeapi to alter the node object when it is being built to update the index. At this stage it is possible to add, remove or alter any of the node’s elements.

Drupal: Generate your own view with PHP

This example shows how to generate a list of nodes using the Drupal framework. The code assumes you have already loaded Drupal (see Bootstrap if you want to place this code in an external script.)

1. Query the database for node ids
2. Load the full nodes based on their ids
3. Generate html output

Drupal_bootstrap: Connect to Drupal from an External PHP Script

For testing purposes, or for executing Drupal-related operations but from a PHP script that runs outside of Drupal, I often create independent PHP files that are not meant to be Drupal modules but still require access to Drupal’s database, functions and modules.

Using the function drupal_bootstrap, located within includes/bootstrap.inc, your script can load Drupal and make all of Drupal’s functionality accessible to your script.

Simple and flexible PHP execution-time tracking

This is a simple function that always comes in very handy in debugging and logging PHP code. ExecTime() keeps track of one or more processes, and can round the result up to your desired level of decimal point precision.

ExecTime() starts counting the first time you call it, and from that point on it returns the elapsed time every time you call it again.

IBM Recommends Drupal

IBM.com offers a series of articles following the IBM Internet Technology Group as the team designs, develops and deploys a community website utilizing the best of Open Source technologies.

These articles are meant to offer insight into the development process of complex websites, and offer key comparisons and recommendations as the team describes how and why they decided to use Drupal as the platform of choice for complex web applications.

How to Write an Effective Press Release

A press release, also known as a news release, is a written statement distributed to the media. A fundamental tool of PR work, a well-written, well-distributed and well-timed press release is not difficult or expensive to produce, yet can be effective for publicizing a scheduled event or calling attention to a range of issues: personnel promotions, awards, news products and services, sales accomplishments, etc.

Does every page of my website really need to be optimized?

Yes. However, if you are an Avenue Web Media client there is nothing left to do in terms of site optimization. All our sites are built from the ground up taking into account all the search engine ranking factors. The only thing you need to worry about is creating good content for your visitors.

What is SEO?

SEO stands for Search Engine Optimization and refers to the practice of optimizing our site to be as search-engine friendly as possible.

A search-engine friendly site is one that takes into account all the search engine ranking factors to make sure search engines have no problems visiting, crawling, understanding and making the most out of our site.