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 preface all my articles (displayed nodes) with the name of the source (i.e. "Economist: Article A" or "New York Times: Article B"). I would like to do a simple preg_replace limited to the the title field only when the node is viewed. Something like preg_replace( "'^New York Times: '", " ", $input);
if anyone's cpanel host could i get your .htaccess file offa you?
i'm using clean urls with the .htaccess file drupalprovided it works fine except that it creates a tonof error messages server side (crashed my server a couple of times already)
would appreciate it if anyone could help.
regards
I just can understand how can I use this php blocks. For example I want to make a [banner.module] block. Then I paste the code provided in block's readme:
I am trying to add a contact form to my site. The application I wish to use can be found at http://jimsun.linxnet.com/scform.html and fits my needs. The application uses a php file that I would like to have contained in a static page node. The page is a mix of html and php and when I try add a static page of PHP type and view it I get:
I have blocked someone who was violating the forum rules on my site however he is still able to log into his account and post. I know that earlier versions definately blocks users and doesn't allow them to even login. However person seems to have full access.