Hi,
First of all I'd like to thank for this great component and module. It works rerally well. But there is a problem I guess. If this is not a problem please take it as a feature request.
In the module there is a php code, which calls content id and Item id. Here it is:
Code:
foreach( $rows as $row ) {
$query = "SELECT title FROM #__content WHERE id='$row->content_id'";
$database->setQuery( $query );
$title = $database->loadResult();
echo '<a href="'.sefRelToAbs( 'index.php?option=com_content&task=view&id='.$row->content_id.'&Itemid='.$Itemid ).'">'.$title.'</a>';
But the problem is that. When you click on an article in this module, it always shows same Itemid after all. There are 17 different category in my website that means I have 17 Itemid. What i'd like to do is if I click on an article( I assume that I have added some articles to my favorite) it should show the Itemid that the category has, not the one that I am coming from.
Here is an example:
mywebsite.com/index.php?option=com_content&task=view&id=1857&Ite mid=32
Let's say this article is already in my favorite list. When I click on it from mod_mhfavorites module and look at the others articles in my favorite list it always shows other favorite articles like that:
mywebsite.com/index.php?option=com_content&task=view&id=411&Item id=32
mywebsite.com/index.php?option=com_content&task=view&id=546&Item id=32
mywebsite.com/index.php?option=com_content&task=view&id=753&Item id=32
But these articles are in different cateogry and they should let me show the real Itemid. Something like this:
mywebsite.com/index.php?option=com_content&task=view&id=411&Item id=85
mywebsite.com/index.php?option=com_content&task=view&id=546&Item id=36
mywebsite.com/index.php?option=com_content&task=view&id=753&Item id=43
There is no problem when I want see them. But If I have another modules which works based on Itemid, then they stop working properly.
I need some modification to do that. I wish I explained clearly.
Again Thanks very much for this great component and module.
Kevin