Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Unlinked Categories links still appearing in article list pages

 

 


lamberticus
User

Aug 12, 2009, 11:32 AM

Post #1 of 4 (3001 views)
Shortcut
Unlinked Categories links still appearing in article list pages Can't Post

I was hoping to ad some unlinked categories to assist me with creating some sort of archive article structure, so I created some unlinked categories called, e.g., 2009, january, etc., and made them unlinked. I was hoping this would cause the links next to the "posted in:" to not show the category links for those that I designated "unlinked". I removed the category from the article, republished, added the unlinked category to the article, and republished again, but the link is still there.

Am I correctly analyzing how the unlinked function is supposed to work?

Attached is a screencap with the unlinked category "January" still showing up in my main article index page.
Attachments: article.jpg (16.0 KB)


Donna
Staff / Moderator


Aug 12, 2009, 2:12 PM

Post #2 of 4 (2997 views)
Shortcut
Re: [lamberticus] Unlinked Categories links still appearing in article list pages [In reply to] Can't Post

Hi there,

Unlinked actually means that it won't show up in category lists. It does still show up in Breadcrumbs, however.

You could setup a workaround, though -- create a new category field called "Archive" and set it as a checkbox. Then, for any category intended to be used for archive purposes only, make sure you check this box.

Then, in your breadcrumb template, add a templateIf like this:

<!-- templateIf : $category.archive$ != "1" -->
breadcrumb category code
<!-- /templateIf -->

This way, only categories that do not have the "Archive" button checked will be displayed. :)

Donna

--
support@interactivetools.com


lamberticus
User

Aug 18, 2009, 2:02 PM

Post #3 of 4 (2927 views)
Shortcut
Re: [Donna] Unlinked Categories links still appearing in article list pages [In reply to] Can't Post

This seems to only affect the breadcrumb at the top of the pages, not the "posted in:" categories for each article. The breadcrumb include wasn't where I was looking to hide the archive categories. I'm referring to the behavior of this code on an article page:

Posted in: <!-- template insert : $article.categoryList$ -->
<!-- templatecell : categoryRow -->

<!-- templateIf: $isLastCategory$ != "1" -->
<a href="$published.categoryIndex.url$">$category.name$</a>,
<!-- /templateIf -->
<!-- templateIf: $isLastCategory$ == "1" -->
<a href="$published.categoryIndex.url$">$category.name$</a>
<!-- /templateIf -->
<!-- /templatecell : categoryRow --><br/>


Donna
Staff / Moderator


Aug 20, 2009, 1:26 PM

Post #4 of 4 (2813 views)
Shortcut
Re: [lamberticus] Unlinked Categories links still appearing in article list pages [In reply to] Can't Post

Hi there,

The same code should work there. :) So, you'd have something like this:


Code
<!-- templateIf : $category.archive$ != "1" --> 

<!-- templateIf: $isLastCategory$ != "1" -->
<a href="$published.categoryIndex.url$">$category.name$</a>,
<!-- /templateIf -->

<!-- templateIf: $isLastCategory$ == "1" -->
<a href="$published.categoryIndex.url$">$category.name$</a>
<!-- /templateIf -->

<!-- /templateIf -->


Donna

--
support@interactivetools.com