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.

{entry_id} in next/previous links

August 01, 2007 7:22pm

Subscribe [2]
  • #1 / Aug 01, 2007 7:22pm

    Sven K.

    9 posts

    Hi,

    iam using the following code for next/prev linking in a single entry page:

    {exp:weblog:next_entry weblog="my_weblog" status="open|feature"}
    <a href="http://{path=" title="{title}">Next entry →</a>
    {/exp:weblog:next_entry}
    
    {exp:weblog:prev_entry weblog="my_weblog" status="open|feature"}
    <a href="http://{path=" title="{title}">← Previous entry</a>
    {/exp:weblog:prev_entry}

    i need to get the {entry_id} work for the next/prev links.
    Any ideas how to handle this?!

    Cheers,
    Sven

  • #2 / Aug 01, 2007 9:29pm

    Sue Crocker

    26054 posts

  • #3 / Aug 02, 2007 8:36am

    Sven K.

    9 posts

    Thanks!
    But i need the {entry_id} as a variable inside the next/prev linking tag pair. Just like the {title} variable.

    There is alredy a FR (http://ellislab.com/forums/viewthread/35204/)about this but i hope there is a workaround out there…

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

ExpressionEngine News!

#eecms, #events, #releases