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 1087687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:58:16+00:00 2026-05-16T22:58:16+00:00

Is there a way to customize a edit page form in Drupal depending on

  • 0

Is there a way to customize a edit page form in Drupal depending on the menu link ? (or by passing additional parameters to the edit page url ?

i.e. I have a children “Add new product” item in both menu items “Catalog1” and “Catalog2”.

I want to hide 2 different CCK fields in the product content type depending on which menu item has been clicked.

Or eventually can I pass parameters with the url ? and use these parameters in hook_form API to decide which CCK field to hide ?

Thanks

  • 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. Editorial Team
    Editorial Team
    2026-05-16T22:58:16+00:00Added an answer on May 16, 2026 at 10:58 pm

    I’ve actually solved by passing an additional php parameter from the menu item “Add Product” stating which catalog it should belong to.

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

Sidebar

Related Questions

What is the way (if there is a way) to customize the menu (the
is there way thats i can preselect an item when the page loads or
Is there any way to customize or control which type of collection class types
Is there a way to customize what gets displayed when a required @RequestParam is
Is there a way to save application configurations and settings that user have customized
is there the way to customize a DatePicker? That is my Layout-Code. <?xml version=1.0
Is there a way to customize the horizontal padding between an image and text
Is there a way to customize the calling dialer interface of iphone to make
Is there a way to customize the default message for an invalid rule in
Is there way in next piece of code to only get the first record?

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.