ffaabbss wrote:
simi wrote:
Is there any way to make a module like here (at the right)?
hxxp://
www.kimyamuhendisi.com/index.php?option=...p;id=52&Itemid=1
Post edited by: simi, at: 2007/07/13 13:14
that would be really interesting indeed? How is that done?
Hi guys,
Here's how I think you would do this.
1) Create a module. In that module, do the following:
2) Test to see if you are on a content item page (check the GET parameters from the URL for option=com_content and task=view)
3) Get the content id from the URL (it should say "id=x" where x is some number)
4) Get the data from the #_content table in the database where id is equal to the content id you found in step 3
5) Check that data for the author id
6) Use the author id to generate a link to the author's profile and get the thumbnail image of the author.
7) Only publish the module on pages that have content items.
If someone feels like coding this, that would be great. I'm sure it would be most appreciated by the community!
