Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

recovering page number

pm4872pm4872 New
edited September 2007 in Vanilla 1.0 Help
Hi, Is there any way, function, to recover a page number like in a multi-page discussion ? Thanks

Comments

  • I'm not entirely sure what you're asking, but if you look at this link...

    http://lussumo.com/community/discussion/5822/3/jqmedia/#Item_10

    You can see that the page reference is the /3/ marked in red above. This is using the friendly URLs extension I believe. Hope this helps as somewhere to start looking for you.
  • in code/an extension you can access the current page as follows:$GLOBALS['CommentGrid']->CurrentPage
  • Thanks. In fact, i tried to make the "whisper notification" works with a $_GET['page'] (instead of $row['name'], see : default.php line 58), to point exactly the discussion-page-comment whispered. But wasn't a good idea !! The $GLOBALS should work, but i don't know how to use it. So ... i'll wait an improvement of this add-on. Hope i'm clear.
This discussion has been closed.