ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to make previous and next navigation i weblog (in EE core)

November 21, 2007 11:15am

Subscribe [2]
  • #1 / Nov 21, 2007 11:15am

    Nissen

    6 posts

    Hey forrum, i am new to EE so hope you can help

    I need to make a navigation throw a webblog like on this page: http://www.simonclayson.co.uk/portfolio/tony_fuller/

    How do i get the link to the next an previous blogpost?

    Thanks! And sorry for my english i am from denmark :D

  • #2 / Nov 22, 2007 10:12am

    Nissen

    6 posts

    Can somebody help?

  • #3 / Nov 22, 2007 11:53am

    Mark Bowen

    12637 posts

    Hiya Nissen,

    Welcome to EE! You are going to love it! 😊

    I think what you will need is located here :

    Next Previous Links

    Hope that helps.

    Best wishes,

    Mark

  • #4 / Nov 25, 2007 2:38pm

    Nissen

    6 posts

    Thanks, i will look at it :D

  • #5 / Nov 27, 2007 5:21pm

    Nissen

    6 posts

    It works!

    But new problem, look at this: http://niklas.clearhost.dk/index.php/fotoblog/modern_life/ if you click on the image you are send til the previus image, but if it is the last it will not display a image, my code is:

    {exp:weblog:entries weblog="fotoblog" orderby="date" sort="desc" limit="1"}
      <div id=“foto”>
      {exp:weblog:prev_entry}
      {main_image}
      {/exp:weblog:prev_entry}
      </div>
      <div id=“content”><h1>{title}</h1>
      {beskrivelse}
      </div>

    {/exp:weblog:entries}

    How can i do so the last image is also displayed?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases