Page 1 of 1

Wrong get Itemid at com_content

Posted: Sat Jan 12, 2008 7:47 pm
by mujie
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  ??? ?

Re: Wrong get Itemid at com_content

Posted: Wed Feb 04, 2009 7:04 pm
by ayolov
I've been trying to do the same thing!

Mind explaining what you did?

Tnks!

Mario.