EllisLab text mark
Advanced Search
     
preview next links display only in one category
Posted: 29 June 2012 03:25 PM   [ Ignore ]
Joined: 2012-04-26
5 posts

Hi everyone thank u for reading this

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

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 wink
R.