-
AuthorPosts
-
yerg Friend
yerg
- Join date:
- February 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
February 5, 2007 at 8:14 pm #118665Since upgrading to 1.0.12 the Spotlight area has been misbehaving.
Clicking on a link to an article, or the read more, on the front page takes you to that article and the spotlight remains. Even though the module concerned has it’s setting to only show on the front page.
Any ideas as to why?
— edit —
I thought this issue was related to socio tag but it’s not. I can switch that off and the same issue is still there.
kallan Friendkallan
- Join date:
- August 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 22
- Thanked:
- 35 times in 1 posts
February 9, 2007 at 2:09 am #214311I had a look and it seemed to work correctly – have you resolved this issue?
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
February 9, 2007 at 4:22 am #214322Hi yerg,
That’s not your problem or template problem. The problem comes from Joomla version 1.0.12. To fix this problem, you need modify joomla code: replace function _Itemid( &$row ) in file components/com_content/content.html.php by the the function in Joomla v1.0.11.
yerg Friendyerg
- Join date:
- February 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
February 9, 2007 at 5:56 am #214329hmmm
ok so what do I need to do with this now … _Itemid( &$row ) ??
I’m a dab hand at implemtation and getting Joomla doing stuff but I’m rather a dead head when it comes to coding 😉
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
February 9, 2007 at 7:12 am #214332Ok, you need modify function _Itemid. Open file components/com_content/content.html.php, search this code:
function _Itemid( &$row ) {
global $task, $Itemid, $mainframe;
$row->_Itemid = $Itemid;if ( $row->_Itemid && $row->_Itemid != 99999999 ) {
// where Itemid value is returned, do not add Itemid to url
$row->Itemid_link = '&Itemid='. $row->_Itemid;
} else {
// where Itemid value is NOT returned, do not add Itemid to url
$row->Itemid_link = '';
}
}
And replace with:
function _Itemid( &$row ) {
global $task, $Itemid, $mainframe;if ( $task != 'view' && $task != 'category' ) {
$row->_Itemid = $mainframe->getItemid( $row->id, 0, 0 );
} else {
// when viewing a content item, it is not necessary to calculate the Itemid
$row->_Itemid = $Itemid;
}if ( $row->_Itemid && $row->_Itemid != 99999999 ) {
// where Itemid value is returned, do not add Itemid to url
$row->Itemid_link = '&Itemid='. $row->_Itemid;
} else {
// where Itemid value is NOT returned, do not add Itemid to url
$row->Itemid_link = '';
}
}
yerg Friendyerg
- Join date:
- February 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
February 13, 2007 at 10:28 am #214545Apologies for not getting back but the forum hasn’t emailed me as it should. Will see how this goes.
Many thanksyerg Friendyerg
- Join date:
- February 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
February 14, 2007 at 8:07 am #214604I visit your site and click on the red word but cannot see any strange problem.
yerg Friendyerg
- Join date:
- February 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
February 17, 2007 at 10:40 pm #214721Cleaning the server cache helps. < red faced >
Heads up to the admin guys This forum does not send emails relating to topics I am subscribed to. I’ve yet to receive one from any that I requested.
-
AuthorPosts
This topic contains 9 replies, has 3 voices, and was last updated by yerg 17 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum