Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I've searched the forums and the Internet for a solution to what appears to be a bug, but I can't seem to come up with anything.
I'm a new user trying to set up a blog using Flexinode (so I can define custom fields) and I'd like to use the image-gallery-link feature. I can add the field to the content type just fine, but when I try to use the finished form to create a node, the "Image Galleries" selection box will only list the root galleries. It won't list any of the nested galleries.
For example, say I have the following galleries set up (thanks to the Image module):
What is the correct way to have international characters (æøå etc.) appear correctly in a selection form? My options are hard-coded (that is, they are not retrieved from the data base), and entries look like
'key1' => 'value with æøå in it'
Currently, the special character is rendered as a question mark, and several succeeding characters may be gobbled (depending on the browser...).
I have tried coding the option values with HTML entities (æ etc.) but they get displayed as is, not rendered.
I want a form to submit, update a DB record, then re-render itself with the new info in the form. I am using
function formname() {...}
to render the form, and
function formname_submit() {...}
to process the form. However I find I am unable to modify the form (e.g. add a hidden form field) in the
formname_submit() function. The problem: After the submit button is clicked, Drupal 4.7 seems to first execute the function formname(), THEN execute function formname_submit(). So you do not process the form until after you have re-rendered it.
I have the PayPal Subscriptions module almost working but have one pretty niggly issue:
- The IPN return page that PayPal redirects to - http://%mysite%/paypal/ipn is blank/empty.
I'd expect this page to have something on it thanking the customer for their payment but nothing appears.
The rest of the module is working beautifully (thanks) : I do get notified of the payment and it does have a status of 'completed'. So the correct code is actually executed.
I'm in the process of writing a "film production" database module for drupal. It will have tables (nodes) like "Projects", "Cast and Crew" etc. Obviously, I'd like to connect the "Projects" table to the "Cast and Crew" table with a many-to-many relationship. But my question is this: how can I "spell check" names to see if they already fit in the database.