I created a list of messages written by various users. I wish integrated the profile of the author (avatar and name) into every line of the list. I tried with various methods but without success. I'm waiting for advice. Many thanks
PS: Do we have to speak french, english or german here?
On step 9 if I apply 'none' as typography the path of the image is correct ( pe: images/users/banane.jpeg) BUT if I apply 'image' the image doesn't display because the source of the image is the user id; for example: <<a id="930" rel="930"></a><a id="930" rel="930"></a>
It was a good idea but it doesn't work: same problem as type= 'image'.
this code in HTML typo:
<img src="/$cck->getValue('an_avatar_createur');" /> <span> The path of the image is: $cck->getValue('an_avatar_createur') </span> return : [no image] The path of the image is: 931
I think there's a problem with the 'getValue' method and the dynamic fields.
Not sure whether indeed the instruction is already outdated or I did something wrong, but changing the query to : SELECT b.avatar AS text, a.id AS value
FROM #__users AS a
LEFT JOIN #__cck_store_item_users AS b ON b.id = a.id