0

The profiles of my users have several fields (bio etc.) and several pages which I add with views (following, followers etc.).

I try to leave the profiles of users even when we change page, a little as here :

https://disqus.com/by/iamfrancisyo/ (when you click "followers", the information of the user remain posted at the head of page (avatar etc.)).

Yet, the profile disappears when we change page.

I tried to add the variable $tab to user-profile.tpl.php, but naturally it also disappears during the change of page.

Have you a solution?

1
  • Try embedding your views with the Quick Tabs module. You probably have the views on sub paths of user/ which then is a new page altogether. You can also use Display Suite or Panels if you wish. Or add the user profile as a attachment at the top of each view via Views 9asuming that User is the base table of the lot) – J. Reynolds Apr 5 '16 at 11:10
0

Easiest way:

For each View (which would have User as base table no doubt and which has uid as contextual filter) you add an attachment View Display and pin it to the top of the main view. In that attachment, under 'Format: Show:' you select to show 'User' instead of 'fields', using the same view mode that is shown for the normal profile.

1
  • Thanks J. Reynolds, I had not thought of this nevertheless simple solution. – Fluidouix Apr 5 '16 at 18:10

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.