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 want the "read more" link to show in image instead of that line of text. I found the text in modules/node.module but I'm not sure how to put an image in place of the text. Just removing the text and putting in the code for the image makes it display the code instead of "read more"
I'm trying to use a feed generated by my site as part of an aggregated feed.
I'm trying to use a category feed, which I can use in a feed reader no problem, but for soem reason Aggregator won't allow me to use the URL. It says there is a 404 error, even thoug I can navigate to the file from IE and Firefox.
Is there a path format that will allow this to happen?
I'm hoping someone can give me a couple pointers on this. What determines where the node widget (Up and Down arrows) and node point total get displayed? By default the widget is displayed in the node $content, and the point total is displayed in the $links. I would like to move the widget up to the left of the $title, and then display the points underneath it.
I have looked at the various files in the module and the module's .css, but I can't figure it out. Any help would be greatly appreciated.
I'm using 5.0 rc1, and I'm trying to delete (or disable) the Create Content menu item. Disabling Permissions to create content is not an option (as I still want users to be able to create content... I just want them to go about doing it a different way).
This seems like an easy question, but I honestly can't figure out how to do it. I tried to to disable all submenus under Create Content, but that didn't work.
I have FIELD1 and FIELD2. When hitting the form first, both fields are empty, but FIELD2 is required by default. However, if the user fills out FIELD1, FIELD2 becomes optional.
When I try to set the #required attribute to FALSE in my validation function, it does have no effect. I know I'm targeting the right element and attribute, since it works if I put the same into the hook_form_alter function.
Does this mean one can't override the #required attribute in a custom validation function?