Subscribe

Archive | Drupal

Changing “Submitted by” in Drupal 7

Summary: I want a custom byline on my posts. Solution: Modify template.php I did  this for Poligo by modifying the node.tpl.php file. However, I thought I would poke around for another way to do it on The English Farm. I found this way of doing it with template.php. I tried adding this to template.php: <?php […]

Showing blocks on a user’s page only

Summary: Cannot show block on userpage just by setting visibility to ‘user’. Solution:  PHP snippet on block visibility. I had the problem outlined here on Stack Exchange. In particular, setting the block to display on /user only did not work. I found the solution here,  which shows the block on the user’s page, but not […]