Web Development

How to add a tab to the node in Drupal

And another Drupal tip for today: "How to add a tab to the node in Drupal":

Put this snippet in hook_menu of your new module:


$items['node/%node/new_tab'] = array(
'title' => 'New Tab',
'page callback' => 'mycallback',
'page arguments' => array(1),
'access callback' => TRUE,
'type' => MENU_LOCAL_TASK
)

This tab is going to be shown on any node type and without access restrictions,

however, if you need to specify a special node type, 'custom_node' for example, do the following:Read on →

How to output comments anywhere within a theme

A little snipped which is among very much needed and asked on Drupal.org forums: "How to output comments in desired place on the page and not on the bottom?". Here is the answer:Read on →

Top 10 Drupal Tutorials

Drupal tutorials database on dtutorials.com is getting bigger and here are current top 10 tutorials:Read on →

How to determine your rate per hour?

Many developers are getting lost when they are setting their hourly development rates. What is a reasonable rate for my work? How much should I get paid to feel myself comfortable?

Well, of course there are average market prices and other things to consider, but here is a basic calculation made from a "how much do I want to get paid" view:Read on →

Search Drupal Extension for Google Chrome

I found a pretty cool addition to Chrome browser. This extension allows users to search drupal.org and the drupal API quickly. You can use "6:keyword" or "7:keyword" to search the drupal API. You can grab it from here: http://downloads.zdnet.com/abstract.aspx?docid=1295403

Drupal Books on dtutorials.com + I need your assistance

I updated dtutorials.com - Drupal tutorials aggregator and added Drupal books section there. All books are tagged with compatible Drupal version. Overall, we have 18 drupal books right now.Read on →

Design Fast Websites Because Speed Really Matters!

Speed really matters, especially on the Web. Is your page loading fast? Woot, you added some cool fancy widgets? Do you know how slower your page is loading now? Can you imagine how much users you've lost because of that? Amazon lost 1% in sales because of loading page time increased just on 100ms, Yahoo experienced 5 - 9 % drop in full page traffic because of +400ms in page loading times, people googled 20% fewer because of Goog's 500ms page loading time increase. Speed matters! Be sure and watch this presentation for more info:Read on →

I've chosen Symfony

symfony

A month ago, I've asked about which PHP framework to choose. Thank you very much for your suggestions, guys. After surfing and reading and testing and thinking and bla bla bla... I decided to stop with Symfony Framework (http://www.symfony-project.org). Curious why?Read on →

Looking for a PHP framework. Need your advice!

Php_frameworks

I’m a big fan of Drupal and, actually, I don’t like excessive coding. Drupal is great platform for building websites…almost any type of websites can be built with Drupal…except services. For example, if I want to build a serious newsletter service like the Aweber or GetResponse, Drupal won’t work, because it is CMS at first. Moreover, I’m afraid of Drupal 7, I looked performance-related issues section and understood that D7 will be even more slower than D6…this news isn’t good for me, because often, I’m not happy with D6 performance at all.Read on →

Top 10 Drupal Tutorials on dtutorials.com

DtutorialsSome of you already know about recently launched Drupal Tutorials database website. On dtutorials.com we’re trying to collect all decent Drupal tutorials available on the internet (btw, you can also submit your favorite tutorials here).

Here is the current Drupal Tutorials Top 10:Read on →