Hi-

I've got the latest dev version of the module installed and working, and the LinkedIn profile shows up fine on the user profile page. However, if I copy the 'linkedin-user-page.tpl.php' file into my theme folder and upload it, it is not being recognized - only the template file in the module folder seems to get used. Do I need to copy other files into the theme folder or rename it in some way?

Thanks - this is a really helpful module. Would love to contribute back some cleanup and updates that I'm working on.

Regards,

Jason

Comments

maddentim’s picture

Did you clear your theme registry? New templates are not picked up without doing that. You can use drush or save you admin/theme/select page. see here: http://drupal.org/node/173880#theme-registry

If that doesn't work you may need to put a function in your template.php file in your theme as described here: http://drupal.org/node/223440

jpamental’s picture

Clearing the theme registry didn't do anything. Since this is meant to pull into the user profile I wasn't quite sure what would apply from the post you mentioned. Is it working normally for you? If so - in what theme? That might help me work out what to change. (I'm using a zen subtheme)

Mainly I'm focusing on making the template more generic so the labels can be themed separately from content rather than concatenated. Be happy to contribute back any changes if you'd like them.

Jason

maddentim’s picture

Hmmm... Not sure. I experimented with the linkedin profile a few weeks back, but it had some issues and I haven't had the need to relook. Personally, I have found overriding tpl files to be a bit of a crap shoot. I believe that where your override should be placed is determined by the theme and not the module. you may want to move this issue to the zen queue if you can't figure it out by a bit of trial and error...

I don't think you should rename it. I guess, first, I would try it in the root folder of subtheme. You may need to drop a copy of the original 'linkedin-user-page.tpl.php' in the zen theme folder as well for the subtheme to pick it up. Good luck!

davad’s picture

OP, it's been a couple years and this issue is still open. Is this still a problem?

davad’s picture

Status: Active » Postponed (maintainer needs more info)
khandra’s picture

I still have this problem :(
But I have solved it changing the name of the tpl file to linkedin-profile-user-page.tpl.php

khandra’s picture

What info do you need regarding thsi issue? May I help in retrieving those info?