Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorpm4872
    • CommentTimeSep 10th 2007
     # 1
    Hi,
    Is there any way, function, to recover a page number like in a multi-page discussion ?
    Thanks
    •  
      CommentAuthor[-Stash-]
    • CommentTimeSep 11th 2007
     # 2
    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.
    • CommentAuthorSirNot
    • CommentTimeSep 12th 2007
     # 3
    in code/an extension you can access the current page as follows:$GLOBALS['CommentGrid']->CurrentPage
    • CommentAuthorpm4872
    • CommentTimeSep 13th 2007
     # 4
    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.
Add your comments
    Username Password
  • Format comments as