1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need to access query string variable in new page node

Discussion in 'XenForo Development Discussions' started by gginni, Apr 27, 2013.

  1. gginni

    gginni Active Member

    Hello Guys,

    I have created a new page node following below guideline:-

    http://xenforo.com/community/threads/editing-templates-and-defining-a-callback-for-pages.7226/

    Everything is working fine as expected and I have finished doing whatever I wanted to show on that page... Now I want to achieve pagination on that custom page. And to achieve this pagination I need to access query string variable...

    Means my custom page will be like

    http://xenforo.com/community/pages/example-page/?page=1

    see I want to read the query string variable page which have value 1....

    Where can I use $_Get to access query string variable? I have listener and template same as in above link.
     
  2. gginni

    gginni Active Member

    Someone please help me?? :(
     
  3. 0xym0r0n

    0xym0r0n Well-Known Member

    You should just make it an add-on if you're going to paginate imo.
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  5. gginni

    gginni Active Member

Share This Page