Using "contact forms" module; How can I identify the page for menu style purposes

I am using the "contact forms" module so enable two contact form pages one found at "/contact" and the other at "/contact/free-consultation". The design calls for a different background image on the menu link of the active page.

I am able to identify all of the active pages including the "free consultation" page by using

Fatal error: Call to undefined function drupal_current_script_url() in update.php on line 251

I get the error:

Fatal error: Call to undefined function drupal_current_script_url() in /home/rgracia/public_html/update.php on line 251

After uploading the 7.10 update to my site running 7.9 and attempting to run update.php. I can access the admin area, just can't run update.php to complete the upgrade. What can I do? Can't find anything on google with drupal 7 sites having this issue. Please help!

application/x-www-form-urlencoded VS multipart/form-data

Hello everyone.

I want to post media files from one website to another. Unfortuantely I can't use CURL, so I was trying to find out what alternatives can I get. I've started my research with stream_context_create function, and after few steps I came to drupal_http_request function. drupal_http_request is seems to be very powerful, there is some maintaining logic inside so I don't expect any surprise issues. But this function doesn't support multipart/form-data POST requests, so I've created the following code:

Modyfy existing entity without writing code

Hello,
I need help because I need to modify an existing entity (from drupal module contrib) without modify the code.
I have the module "Model" but I don't think that is possible with this.
Anyone can help me?
There is a Entity Api that permise this?
Excuse me for my bad english
Tnx

Hidden registration fields show up anyway!?

I've created a few custom fields in my registration form that the user is not supposed to edit. They are set to be hidden, both on the display and the field settings. But they are still there when I go to my register form. Why?

Please help me someone!

Flag module

Background:
I wanted to add a new flag. So I went to Structure>Flags>Add a new flag. I created a new flag called cart, with Global flag unchecked, flag access to authenticated users, checked off Users may only flag content of others, and checked off Classified content type for Flaggable content, and for Link type I check off Normal link.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x