Startseite Beiträge von Heute Kalender Boardsuche Benutzerliste FAQ Deine Einstellungen ändern Neue Beiträge
Navigation
Go Back   Mambo / Joomla Hosting Talk (MHT/JHT) > General Forums > jh* Projects
User Name
Password
Reply
 
Thread Tools Display Modes

  #1  
Old 11-29-2007, 02:34 PM
genbilim genbilim is offline
Junior Member
 
Join Date: Nov 2007
Posts: 2
Question A bug report or Feature request for mod_mhfavorites

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
Reply With Quote
  #2  
Old 11-29-2007, 03:32 PM
keliix06 keliix06 is offline
Administrator
 
Join Date: Mar 2005
Location: Minneapolis, MN
Posts: 395
Default

The module was written long before there was a method to get the "canonical" itemid through Joomla (technically it was written long before there was a Joomla), so it uses the Itemid of the current page. I haven't really done any development on it in around 2 years, but if I do make any updates this will be one of the changes.
__________________
Doyle Lewis - BuyHTTP Internet Services
keliix06 [at] gmail.com
Reply With Quote
  #3  
Old 11-29-2007, 10:04 PM
genbilim genbilim is offline
Junior Member
 
Join Date: Nov 2007
Posts: 2
Default

If you can do that It'd be really great. Because I know there are a lot of people use this component and module. And if you have other modules in the content page that ruins them. I am also willing to pay for this component and module. Please develope it, because it is the only component in terms of its function.

Here is the usage in our web portal.

Türkiye Bilim Sitesi

Look at the top of the page on the rgiht side.

Thanks very much

Last edited by genbilim : 11-29-2007 at 10:07 PM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:43 PM.

Home . Members . FAQ . User CP . New Posts . Today's Posts . Media Kit
 
Joomla Top Sites - Your Primary Source of Joomla Traffic
Web Hosting . Mambo Tutorials . Joomla Hosting . Mambo Hosting . Joomla Top Sites . Joomla Advertising . Web Hosting Flash Tutorials . Joomla & Mambo Freelancers . Joomla Template Providers
Powered by vBulletin - Based on design by vbdesigns.de - © 2005 - 2006 by BuyHTTP Internet Services
Top Top
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.