Follow us on Facebook and Twitter!

using permalinks on recent comments module
#1
Hello,
is a way to use permalinks on recent comments addon instead of page urls ?

Even on a page that doesn't include commentics.php ...

I can make it work in a standart page that has comments but I can not at the frontpage of my website.

Thanks in advance
Reply
#2
Hi,

I haven't tested it but adding the part in red should work:

echo $comment["name"] . " on <a href='" . $page["url"] . "?cmtx_perm=" . $comment["id"] . "#cmtx_perm_" . $comment["id"] . "'>" . $page["reference"] . "</a> at " . date("g:ia (jS-M)", strtotime($comment["dated"]));
Have you completed the interview?
Reply
#3
(12-Mar-2013, 10:00 PM)Steven Wrote: Hi,

I haven't tested it but adding the part in red should work:

echo $comment["name"] . " on <a href='" . $page["url"] . "?cmtx_perm=" . $comment["id"] . "#cmtx_perm_" . $comment["id"] . "'>" . $page["reference"] . "</a> at " . date("g:ia (jS-M)", strtotime($comment["dated"]));

As a noob, after I saw the functions related with permalinks, I thought that it would be complicated. Thank you for this simple solution. Worked like a charm..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Recent Comments..again noblues 2 1,931 26-Sep-2013, 06:44 PM
Last Post: noblues
  Recent Comments resp. Pages kooler 2 2,021 02-Aug-2013, 06:29 PM
Last Post: kooler
  Recent Comments CommiC 6 4,674 23-Jun-2013, 12:09 AM
Last Post: CommiC
  Improved Manage Comments Addon MuffinMan 5 3,379 21-Apr-2013, 09:30 PM
Last Post: MuffinMan
  Recent Comments Add On Help brande 3 2,990 27-Jan-2013, 10:31 PM
Last Post: Steven
  recent comment add on style brande 0 1,556 23-Jan-2013, 08:08 PM
Last Post: brande
  Add-ons Recent Comments not working ! besric 4 3,704 07-Nov-2012, 05:16 PM
Last Post: besric
  Auto populate your comments table corculator 0 1,873 25-Feb-2012, 01:25 PM
Last Post: corculator
  Cannot get recent comments add on to work stevylake 1 2,184 04-Sep-2011, 01:25 PM
Last Post: Steven

Forum Jump:


Users browsing this thread: 1 Guest(s)