Drupal, "Posted [date] by [user]" - can't remove?

Hi,

Problem is as stated in the title. Recently I got a small job to add a jQuery image animation to an existing Drupal installation. Now, I never installed or even used Drupal before but I managed to complete this task. I added two “scripts = scriptname.js” rows to the theme’s .info file and the animation (placed in a block) now works perfectly. I also cleared the cache after setting this in place to make sure it work properly.

Now, the client says that before on the site the pages didn’t have “Posted [date] by [user]” -tags under the titles. I myself didn’t notice whether they were there before I started or not since my little task has nothing to with the text content of the pages.

Anyway, I said I’d look into it (seems like their original Drupal coder isn’t around since I did the animation task…) and found that under the Themes section in the administration there are global settings for “Display post information on”… some of the boxes were ticked. Now I unticked them all and clicked Save hoping that was it. Of course it didn’t work, anyone have any idea why I can’t remove the post information?

Thanks in advance!

Yup you did it the right way. I’ve done it with the node.tpl.php (as c2uk mentioned) and through CSS as well but I think the most flexible way is through Themes -> Global.

Cheers,
Andrew

Yeah, I assumed it was the correct way. It just didn’t work :rolleyes:

The second method, “hacking method”, is also a way I understood was possible but since this is not my Drupal installation it might be confusing for whomever originally made this.

For now, since admin panel methods don’t seem to work, I simply added display: none to .submitted in the theme’s stylesheet.

Cheers for the reply.

actually, the way you did it was exactly the way it’s meant to be done, and should work after clearing the cache and theme registry.

You can get rid of it entirely, for all content types, though. Find in your node templates (node.tpl.php and similary, e.g. node-story.tpl.php) and remove the lines which print the $submitted variable.