0

I have taken over a Drupal website and I am completely new to Drupal. One of the features of the website is to list out all the employees of a company (a Directory).

The directory is displayed with a tabled view, and is pretty easy to understand.

When I look at the view while editing it in the preview view I don't see the each employees' list of phone numbers, I dont see a field for those numbers (i.e. Content:Phone_Number) either, but when I actually look at the view, from visiting the URL of the page I see the phone numbers.

Additionally, when I visit the URL that is hosting the View and use Firebug (DOM Explorer) I can see that there is a td tag that is holding the phone numbers. But, when I visit the View from a editor standpoint and check the preview view with FireBug (DOM Explorer) I see that exact td tag, but it's holding the user's NID number, not the phone numbers!

How is this possible?

Please and THANK YOU.

1 Answer 1

1

They most likely modified a tpl.php file. In the Views module when you are viewing to edit it, look for Theme: information and click information.

You will then see a list of possible tpl.php files. If you see one that is not in the first position and bold, then you know they did some type of override on the tpl.php. Look in the theme folder for that file name.

If its not in there, then you will want to look at your themes template.php for some type of override. Finally, some people will put these overrides in a utility module.

1
  • Yes you are right, there is a tpl.php file with a conditional I see there! Thank you very much man. I'd give you an up arrow if I had enough of a reputation to do so. :-)
    – Daedalus
    Commented Oct 22, 2015 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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