Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
inserting category headlines in the category list

 

 


carminejg3
User

May 4, 2009, 4:20 PM

Post #1 of 3 (2287 views)
Shortcut
inserting category headlines in the category list Can't Post

Hi I was trying to insert category headlines into the category list normally on the left side of the page.



What i want to do is have after say 5 or 6 categories insert a new category devider to help make it easier to read.

I was trying something like this code, but wasn't having anyluck.

<!-- template insert : $articleList$ -->

<!-- templatecell : articleRow -->

<!-- templateIf: $articleList.currentResultCounter$ <= "2" -->
new category title here.
<!-- /templateIf -->





i would like it to insert a code block every 5 articles so I was going to use, 5, 10, 15 but it actually published those numbers 20 times.


Webmaster [wink]
http://news.carjunky.com


Donna
Staff / Moderator


May 6, 2009, 12:09 PM

Post #2 of 3 (2148 views)
Shortcut
Re: [carminejg3] inserting category headlines in the category list [In reply to] Can't Post

Hi there,

Just to be clear, you're looking for this sort of structure?

Category Name
- Headline Title 1
- Headline Title 2
- Headline Title 3
- etc
2nd Category Name
- Headline Title 1
- Headline Title 2
- Headline Title 3
- etc
...and so on?

If so, what you end up having to do is create a publish rule with a template that will generate those headlines, then use an SSI to include the file in under the category.

If you take a look at the classic template set (included in the Article Manager download as "classic.zip"), it actually has this functionality setup for you already, so you can get an idea of the code for it (although to see the publish rules, you'd have to swap over to to the full template set.) But the template bit is the tricky part, so take a look at that and let me know if you're having trouble duplicating it. :)

Donna

--
support@interactivetools.com


carminejg3
User

May 18, 2009, 2:53 PM

Post #3 of 3 (1201 views)
Shortcut
Re: [Donna] inserting category headlines in the category list [In reply to] Can't Post

Donna does the headline title you are referring to stand for the article manager category title or an actual article headline title? I'm trying to sort the categories into groups by using a headline and then adding some categories below it.


Webmaster [wink]
http://news.carjunky.com