Mamblog author name not linking to CB user page

15 years 5 months ago #6155 by hansmeiser

the mamblog integration is very nice, but when i have the mamblog main page containing blog entries from all the different users, the user names are displayed as links with no real function.

is it possible to have them link to the user's cb user page?

appreciate any help. :)


Please Log in to join the conversation.

15 years 5 months ago #6161 by majje
You can try this:

On line 226 in mamblog.html.php (i've messed around in the code so the line numbers might not be the same for you, you have to search).

This line:
<?php echo sefRelToAbs( "index.php?option=$option&amp;Itemid=$Itemid&amp;task=show&amp;action=user&amp;id=$blog->created_by" ); ?>

Change to this:
<?php echo sefRelToAbs( "index.php?option=com_comprofiler&amp;task=userProfile&amp;user=$blog->created_by" ); ?>">[/code:1]

You have the same on line 232 so change there to.

But as alvays: Do this in your test-environment first, not on a live site.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.384 seconds

Facebook Twitter LinkedIn