Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 130875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:01:01+00:00 2026-05-11T06:01:01+00:00

How do I customize a create content form for a certain content type. In

  • 0

How do I customize a create content form for a certain content type. In this instance I have a CCK type, of Products but every time I create a product I use 4 fields Name, Price, Picture and dimensions.

Is there a way to slim down the create content form to just have these options? Is this what Contemplate does?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T06:01:01+00:00Added an answer on May 11, 2026 at 6:01 am

    You’ll want to use the hook_form_alter hook.

    In Drupal 6, I use this to hide most of the extraneous stuff in the node edit/add form.

    function mymodule_form_alter(&$form, $form_state, $form_id) {   // hide extraneous options in the node form for nodetype nodes   if($form_id == 'nodetype_node_form') {     $form['path']['#access'] = FALSE;     $form['menu']['#access'] = FALSE;     $form['author']['#access'] = FALSE;     $form['options']['#access'] = FALSE;     $form['comment_settings']['#access'] = FALSE;     $form['revision_information']['#access'] = FALSE;   } } 

    Contemplate is for styling the node view, not the node form. I advise against it – it’s far better to use node-nodetype.tpl.php files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 188k
  • Answers 188k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The behavior is by design. From Books Online: ALTER VIEW… May 12, 2026 at 5:40 pm
  • Editorial Team
    Editorial Team added an answer You would be better off detecting the enter key using… May 12, 2026 at 5:40 pm
  • Editorial Team
    Editorial Team added an answer You can retrieve values from the table, put it in… May 12, 2026 at 5:40 pm

Related Questions

The only way I've seen this done in the tutorials I've looked at, they
I have a TPanel pnlMain, where several dynamic TPanels are created (and pnlMain is
I am working with Blend and Visual Studio to create Surface content. Pretty much
I'm tasked with trying creating a site which will create custom HTML templates. The

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.