I have 1000 pieces of content, nodes, all derived from one content type “Platform.”
There is a link to each of these from 30 different categories (menus). None of the menus have a parent.
I put the code below in a block which is displayed on content type: Platform. This does work with menus that have a parent, as I tested it on just a hand full of sampling. However, I do not want to drag a thousand menu links (childs) into new parents to make this work. Plus, then I have to turn around and hide the parent with CSS.
About a month ago I was introduced to Drupal to help on an order system at my office. Bossman wanted users to add a phone number when creating user accounts. Got it setup and everything was working until I got a call from him today stating any phone number isn't accepted. Sadly since it's an order system a phone number is a requirement, but the only way to create a user is to remove the number altogether at this point. Here's a rundown on things I've tried...
I have a form that is using ajax to load an autocomplete text field that can be either State or Province based on the country selected (US or Canada). The auto complete path is set in hook_form_alter and dependent on the country radio button field value in the form. This works fine when the country field is already set.