custom node hidden fields

I've created a custom node type in a module and added some fields to it. Is it possible to add a hidden field that the user will never see where I can store statistical data or something similar? Thanks!

frankie

List of all website done with Drupal

Hi,

I would find interesting to have a page where all people having done a new website with Drupal could enter their url.

This would give a nice directory showing what Drupal is capable of, would be a marketing point for Drupal and the person who uploaded the website and also could give people new ideas to help growing the community by watching the work of what others have accomplished.

Let me know what's your opinion about it.

Cheers

Subversion workflow with Drupal 7

Subversion users, please share with me your recommend workflows using Subversion and Drupal.

We have a Drupal test server and a separate Subversion server. We're wondering how to structure our Subversion projects for the Drupal test server.

Some recommend putting the entire Drupal file structure in Subversion, but it seems silly to include the things that rarely change, like core files, /sites/default/files, etc. So I was thinking instead we should have a Subversion project for each theme, a project for each custom module, a project for each custom library, and a project for settings.php. ...and maybe .htaccess at the root.

How to add a custom page.tpl based on content types.

OK so i am new to drupal. I never used Drupal 6 and know more than the basics for drupal 7. But one thing that i need to know while i am creating my drupal theme is how to specify a page.tpl file for a content type. Ex. I have a content type named Blog. i want to create a file to change the look of all the blog pages that it creates. While i was online i learned that in Drupal 6 you just change the file name to page-(content type name).tpl.php it didn't work for drupal 7. can anyone please help me.

How to add a Tab to all the nodes?

I am trying to add a tab to all my nodes in Drupal 7.

here is my hook_menu implementation:

function first_menu() {
$items=array();

$items['node/%node/test'] = array(
'title' => 'Test',
'page callback' => 'first_handle_test',
'page arguments' => array(1),
'access callback' => TRUE,
'type' => MENU_LOCAL_TASK
);
return $items;
}

Altering mydomain.com/user/#userID?

I've got hook_form_alter working for me now, but I can't wrap my brain around altering the user landing page. For example, http://mydomain.com/user/1.

Background:
-After successfully logging in, the menu in D7 changes along the top. ex. "Hello root"
-Clicking on "Hello root" changes the URL to http://mydomain.com/user
-The page is rendered with three tabs: "view, edit, shortcuts"

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x