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.

Create a numbered list of links with weblog entries

September 01, 2009 7:14am

Subscribe [2]
  • #1 / Sep 01, 2009 7:14am

    illustrationdan

    26 posts

    Ok I looked far and wide and couldnt find anything so hopefully this hasnt been asnswered already.

    Heres the problem im having(short version):
    A weblog where i am displaying on entry at a time, simple enough, set the limit=“1”, easy.

    The problem is i want to create a list of numbers under the image so they can browse the entries, much like pagination 1 2 3 4 5 6….. But I cant use pagination because I want to be able to display Meta information per entry using LG better meta. i cant pass this information to the <head> with pagination.

    I know how to display an unordered list of entries from a weblog using their titles, but im trying to figure out if there is a way to display these numerically much like pagination? so when new entries are added they add to the numbered list.

    Am i missing something? am i trying to re-invent the wheel? is there a way to display the LG better meta data from an entry to the <head></head>?

    Any help is appreciated.

  • #2 / Sep 01, 2009 8:19am

    Ingmar

    29245 posts

    I know how to display an unordered list of entries from a weblog using their titles, but im trying to figure out if there is a way to display these numerically much like pagination?

    Wouldn’t an order list

    <ol> ... </ol>

    work for that? Otherwise, look into the {count} variable.

  • #3 / Sep 01, 2009 8:40am

    illustrationdan

    26 posts

    Thanks for the response Ingmar

    <ol></ol>

    Would give me a
    1. this is a link
    2. another link
    3. another link

    Im trying to make
    1 2 3 4 5 6 with the numbers linking to the corresponding weblog entry so i can use LG better Meta rather than one template with one <head> that pagination uses.

    Seems the {count} variable only displays the number of entries for a given page, which in my case is just the number 1.

    Im thinking there is no way to do this. Back to the drawing board…

    Thanks for the help.

  • #4 / Sep 01, 2009 8:58am

    Ingmar

    29245 posts

    Yes, I was not entirely clear where you wanted what numbers… I’m sure a little PHP could do it 😊

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

ExpressionEngine News!

#eecms, #events, #releases