Wrong get Itemid at com_content
Posted: Sat Jan 12, 2008 7:47 pm
I was found some weird thing at com_content when request an itemid from frontpage. Althought I was added latest_news module, when I click read more link from front page, that's module didn't show up and template view still mess up even I used ex. .
http://[myweb]/index.php?option=com_content&task=view&id=18&Itemid=1
Itemid is 1?
So, I did some trial and error paste code trick (because I'm not a PHP programmer :P ) from modules/mod_latestnews.php to component/content.html.php below function _linkInfo( &$row, &$params ) {, and suddenly, bum it's work! I can get right and correct itemid.
http://[myweb]/index.php?option=com_content&task=view&id=18&Itemid=45
My joomla version is Joomla! 1.0.13 Stable [ Sunglow ] 21 July 2007.
It's something wrong ?
http://[myweb]/index.php?option=com_content&task=view&id=18&Itemid=1
Itemid is 1?
So, I did some trial and error paste code trick (because I'm not a PHP programmer :P ) from modules/mod_latestnews.php to component/content.html.php below function _linkInfo( &$row, &$params ) {, and suddenly, bum it's work! I can get right and correct itemid.
http://[myweb]/index.php?option=com_content&task=view&id=18&Itemid=45
My joomla version is Joomla! 1.0.13 Stable [ Sunglow ] 21 July 2007.
It's something wrong ?