And why in Edge, in "Mio Profilo" page, where I'm the logged in user and the author of the Profilo post, I see this? So for conditional logic settings it don't should be displayed... And it is displayed with some issue...
The mio-profilo/ page this is where all the profiles are loaded correct?
Whats the profile page of the user that You provided for me because this page was not created by my user so I'm seeing the section in all instances.
For your own debugging to check the conditional, you can add debug="true" to your conditional and then check if ID's in the conditional are in fact the same.
No the mio-profile page is actually doing it correct. The code is loading the ID of the creator of the mio-profile page. Which is not the actual profile page that the user created.
Take a look here hidden link
This is the actual page of my user profile. If I go to the mio-profile page the user that is loaded is not the account you gave me. This why there are issues with the conditional.
If I go to the mio-profile page the user that is loaded is not the account you gave me. This why there are issues with the conditional.
Ok, and I need to solve this!
Else, I should do a clone of the Content template, and assign the new Content template to the mio-profilo and deleting the conditional logic and his content...
I think it is the fastest solution.
You may need to create a view that lists all the profile links and just add a filter to it so that it only displays the link the profile of the currently logged in user.
I see however the this will need to change or figure some other way to add the messaging system. What you can do is to this page to display the results for the correct user you will need to pass their user ID into the URL. hidden link
This way it will load the page for that user. However you will need to add the filter to your view to get the correct ID from the url parameter.
From there you can check if the user ID in the url is the same as the user id of the currently logged in user because as mentioned the mio-profilo page is a static page where you are loading the profiles but the user who visits isn't the author.