0

I am trying out the Education distribution. However, I cannot find where/how to change the "ANONYMOUS'S BLOG" link (shown in red box below) to another name, for example: "BLOGS". Where is the link's name stored?

enter image description here

2

The link name is derived from the author of that node. The variable should be $content['links']['blog']['#links'] array, which can be found in node--blog.tpl.php. You can manipulate the data at that point, which is best kept as simple as possible, due to being in the tpl file itself.

If you're looking to do complex changes, I would suggest a _preprocess_node in your template, which is probably ideal if you're doing anything more than an unset or simple truncation.

More information can be found at https://www.drupal.org/node/1783428 and Preprocess function for node.tpl.php file respectively.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.