Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 7:19 am (All times are UTC )

 




Post new topic Reply to topic  [ 3 posts ] 
Author Message
Posted: Fri Aug 26, 2005 10:17 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 19, 2005 7:45 am
Posts: 109
Location: munich - germany
I know a new forge is in work (at least hope so), but wouldn´t it be necessary to open a forum here to track bugs (I think I found one)? Since the foundation seems to accelerate the releases (with whom as team?), I´m not sure to post at mamboforge, because the separation seems to be finished and I want to follow OSM. So: where to post?

Greetz Marc

_________________
www.madeyourweb.com
www.mademyday.de


Top
  E-mail  
 
Posted: Fri Aug 26, 2005 3:34 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 19, 2005 7:45 am
Posts: 109
Location: munich - germany
*bump*

I post it here, don´t know where else (mamboforge is that slow, so I hope there´ll be a faster forge soon):

Bug: Readon - link in blog view has wrong Itemid

Version: 4.5.2.3. (also in 4.5.3. CVS)

Description: If you are on a blog view page (category/section) the readmore button gets a wrong Itemid (in most cases). Itemid is defined with (line 411 content.html.php in 4.5.2.3. and line 801 in content.item.php in my CVS [* @version $Id: content.item.php,v 1.2 2005/08/09 06:11:59 eddieajau Exp $]):

Code:
$_Itemid = $mainframe->getItemid( $row->id, 0, 0, $ItemidCount['bs'], $ItemidCount['bc'], $ItemidCount['gbs'] );


this function looks where this item is published (in which menu item a table/blog category/section etc. the item is published). But this makes no sense, because an item can be published in numerous ways (table for an overview, frontpage as blog and so on).

Problem is: If you are on a page (e.g. blog section) with Itemid=42, the readmore link gets perhaps Itemid=2, because there is a menu link with table section where the item is also published. If you assign a different template to this menu link or an other module selection, then this readmore link will bring you to the template/module selection on this table section. It stays not in the "current" Page.

So the code has to be imho:

Code:
$_Itemid = $Itemid;


I just realise that this function would be correct for the newsflash, because this is displayed on various pages, there it would be correct to select where this Item belongs to. Since newsflash uses the same function show(), it would be better to identify the newsflash call (push a variable with it or so) in the function show() and put an Itemid to it which links to the page where the item is published.

Hope this is understandable.

Greetz Marc

PS: Perhaps a moderator can move this thread where it is better off (but as I said, I don´t know where...).

_________________
www.madeyourweb.com
www.mademyday.de


Top
  E-mail  
 
Posted: Sat Aug 27, 2005 11:29 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 27, 2005 11:07 am
Posts: 531
Location: Sweden
This makes newsflash useless than! It means I have to go through all my prevous sites and replace newsflash with user-type modules!  >:( Is it really that bad??? :'(
Is this true for 'Latest news' and 'Popular' modules too?

_________________
http://www.indell.se/webbhotell
http://www.resekatalogen.se


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group