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.
My objective is to allow a user to add new nodes to a section of the site, and have those nodes automatically pre-populated with the appropriate taxonomy term.
For example, the user would click an 'add content here' button, which would point to /node/add/flexinode-1 ... and the node form would be displayed. I have set up taxonomy so the user can select the appropriate term from the drop-down list. However, I would like to be able to set the drop-down to a default based on the context of where they were when they clicked 'add content here'.
We set up Drupal on one of our domains over the weekend, and Gallery2 this morning. Finally managed to get it all running, so I went to show the rest of the team the site and now its completely down.
Is there a way to put php code into fields such as URL or title?
I am creating a new main navigation menu and I would like to display the user's name in the title. I have found that I can use this in the body of a page to display the name, but it doesn't work in the title field:
global $user;
$uname = $user->name;
echo "Welcome ".$uname;
The field always parses it to HTML, is there a way to make it NOT change to HTML?
I have just installed filemanager and acidfree on my Drupal 4.7b5 version and wondering if there is a way for authenticated users to upload pictures/videos only to a specific predertermined list of albums.
Is there any way that i can remove the login section so that only admin can login to change stuff on the website, I have done this allready but now i cant login to get to the admin section so can any one also help me on that little problem as well lol