Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    html code for tumblr help

    http://welcomebacktoreality.tumblr.com/

    When I click the next button it doesn't take me to the next page.
    I tried fiddling around with the pagination and permalinkpagination but being the complete amateur that I am, I had no idea what I was doing so I couldn't get it to link to the next pages.

    Is there anyway someone could help me out?

    Here's the html code:


    {block:Pagination}
    <div class="pagination">

    <a href="{PreviousPage}" class="previous{block:PreviousPage} active{/block:PreviousPage}"> Previous</a>

    <a href="{NextPage}" class="next{block:NextPage} active{/block:NextPage}">Next »</a>

    <div class="pages">Page {CurrentPage} of {TotalPages}</div>

    </div>

    <br class="clear" />

    {/block:Pagination}


    And here are some of my noob attempts:

    {block:Pagination}
    <div class="pagination">

    <a href="{PreviousPage}" class="previous{block:PreviousPage} active{/block:PreviousPage}"> Previous</a>
    <br />
    <a href="{NextPage}" class="next{block:NextPage} active{/block:NextPage}">Next »</a>

    <div class="pages">Page {CurrentPage} of {TotalPages}</div>

    </div>

    <br class="clear" />

    {/block:Pagination}
    {block:PermalinkPagination}
    {block:PreviousPost}
    <a class="back" href="{PreviousPost}">»</ a>
    {/block:PreviousPost}
    <br />
    {block:NextPost}
    <a class="forward" href="{NextPost}">»</ a>
    {/block:NextPost}

    </div>

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    850
    Thanks
    11
    Thanked 79 Times in 77 Posts
    Don't use Tumblr, but might help...

    "Next Page" and "Previous Page" Links: http://answers.yahoo.com/question/in...2233910AAmUDYK

    Code:
    {block:Pagination} <div id="classic-pagination">
    
    {block:PreviousPage} <a href="{PreviousPage}" id="prev-page">Previous Page</a {/block:PreviousPage}
    {block:NextPage} <a href="{NextPage}" id="next-page">Next Page</a>{/block:NextPage}
    
    </div><!-- #classic-pagination -->{/block:Pagination}
    ☠ ☠RON☠ ☠

  • #3
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have seen that link but the problem is that it changes the appearance of the button when I use that code.

    Thanks though

  • #4
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    850
    Thanks
    11
    Thanked 79 Times in 77 Posts
    Change the class/ids of the divs in the code I gave to the class/ids of the code you have. If you don't use the same classes/ids, the CSS styling will not be the same.
    ☠ ☠RON☠ ☠


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •