Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 47

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 01.05.2004, 23:05   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 16
nothere is on a distinguished road
Default Akocomment and itemid

Hi,

I've used today for the first time akocomment and it works great. Well, almost. I've noticed that after adding a comment the itemid is lost (it can be checked at the browser address) and if the template has modules on the right side they will not appear anymore. Is there anyway to overcome this? Thank you.
nothere is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 18.05.2004, 12:11   #2 (permalink)
Baby Mamber
 
Join Date: May 2004
Location: Paris, France
Posts: 5
fcherub is on a distinguished road
Default Re: Akocomment and itemid

I am also interested in this.

It would be nice to have this type of link:
/index.php?option=content&task=view&id=1&Itemid=2

instead of this:
/index.php?option=content&task=view&id=1

when clicking on "comments" from the Front Page.

Last edited by fcherub; 23.05.2004 at 15:03.
fcherub is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07.01.2005, 18:42   #3 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 30
tyrannski is on a distinguished road
Default Re: Akocomment and itemid

im facing the same problem with mambo 4.5.1a and akocomment 2 and cant find any solution in this forum.
i guess i have to add some code to the akocommentbot, but i have no idea where and what.
tyrannski is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05.04.2005, 20:12   #4 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 28
robbievk is on a distinguished road
Default Re: Akocomment and itemid

i guess i found it... at least it seems to work!!!

Around line 270 in /mambots/content/akocommentbot.php

Replace:
PHP Code:
$replacementlink = ($ac_openingmode) ? "<a class=\"readon\" href=\"javascript:void window.open('".sefRelToAbs("index2.php?option=com_content&task=view&id=$row->id&pop=1&page=0")."', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');\">" "<a class=\"readon\" href='".sefRelToAbs("index.php?option=com_content&task=view&id=$row->id")."'>"
With:
PHP Code:
$replacementlink = ($ac_openingmode) ? "<a class=\"readon\" href=\"javascript:void window.open('".sefRelToAbs("index2.php?option=com_content&task=view&id=$row->id&pop=1&page=0")."', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');\">" "<a class=\"readon\" href='".sefRelToAbs("index.php?option=com_content&task=view&id=$row->id&Itemid=$Itemid")."'>"
No guarantees, always back-up the original

This adds the itemid to the url...

i hope this is the right solution, it seems to work at my site anyway.
robbievk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06.04.2005, 13:44   #5 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 28
robbievk is on a distinguished road
Default Re: Akocomment and itemid

I changed the $itemid to a hardcoded value of 2, cause it automatically got value 1 and that causes the module positions to not respond right...

So now i use:

PHP Code:
$replacementlink = ($ac_openingmode) ? "<a class=\"readon\" href=\"javascript:void window.open('".sefRelToAbs("index2.php?option=com_content&task=view&id=$row->id&pop=1&page=0")."', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,m  enubar=no,resizable=yes,width=640,height=480,direc  tories=no,location=no');\">" "<a class=\"readon\" href='".sefRelToAbs("index.php?option=com_content&task=view&id=$row->id&Itemid=2")."'>"
Good luck all!
robbievk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 30.04.2005, 01:44   #6 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 21
rvanderh is on a distinguished road
Default Re: Akocomment and itemid

You helped me a lot, robbievk !
rvanderh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 16:08.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.