Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Adding category index to article page

 

 


joelozito
User

Jul 10, 2008, 4:15 PM

Post #1 of 4 (913 views)
Shortcut
Adding category index to article page Can't Post

Hi all,

I have kind of an odd question: in one category, at the bottom of the article page content, I want to place the category article listing again.

Meaning, in an article page, you'd see the article body copy, then under it you'd get a list of all the articles in that category (just like in the index).

I tried adding the category index template to my article template but got all sorts of errors. Any ideas?

Thanks!

Joe


Jake
Staff / Moderator


Jul 11, 2008, 1:22 PM

Post #2 of 4 (886 views)
Shortcut
Re: [joelozito] Adding category index to article page [In reply to] Can't Post

Hi Joe,

To set this up, you would need to create a new template file that only had the code required to display the article titles and their links. Here's some code you could use for this:


Code
<!-- template insert : $articleList$ --> 
<!-- templatecell : articleRow -->
<a href="$published.articlePage.url$">$article.title$</a><br />
<!-- /templatecell : articleRow -->


Now you'd need to create a new "list of articles" publishing rule that will create files with this template. You would then add an include statement to your articlePage.html template to bring in this list of articles. For example, if you gave you publishing rule a placeholder set name of "headlineArticles", then the resulting code would look like this:


Code
<!--#include virtual="$published.headlineArticles.webpath$" -->


Let us know if you have any other questions about this. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.



joelozito
User

Jul 11, 2008, 1:48 PM

Post #3 of 4 (883 views)
Shortcut
Re: [Jake] Adding category index to article page [In reply to] Can't Post

Perfect, Jake, thanks! Worked on the first try.

You guys rock,

-joe


carminejg3
User

Jul 15, 2008, 10:10 AM

Post #4 of 4 (442 views)
Shortcut
Re: [joelozito] Adding category index to article page [In reply to] Can't Post

Awesome Jake, I'm going to use this as well. Great for a Related Articles: section.

One question: Is there a way to randomize the articles? I dont think there is but just looking at the options to this.


Webmaster Wink
http://news.carjunky.com

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4