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.

preview next links display only in one category

June 29, 2012 3:25pm

Subscribe [1]
  • #1 / Jun 29, 2012 3:25pm

    neoseeyou45

    3 posts

    Hi everyone thank u for reading this

    First of all sorry for my explanations, my tech english is not perfect 😉

    Well i have a channel named “blog” connect to different categories inside a group category.

    I use an unique template for displaying all entries of all categories, i call it : “article”

    Inside the article template, I want to display “preview” and “next” links to navigate through each entry of only one category (ID = 13)

    with this code (example with the preview link) it’s working and when i visit a entry belong to the category 13 i see my links and able to navigate

    {exp:channel:prev_entry category="13" } 
      /expressionengine/themes/site_themes/agile_records/images/arrownavleft.png
    {/exp:channel:prev_entry} 

    But my problem begin now,this links are also visible in all categories entries i don’t know how hidding these links (preview and next) in the article template for them! the code above is not enaugh , i try some conditionals with no success

    Sorry i am mabye not clear but hard to explain in english

    Thank u for any answer 😉
    R.

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

ExpressionEngine News!

#eecms, #events, #releases