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

Home: Products: Article Manager 2:
IF, IF, IF, IF

 

 


JonnyCav
User

Nov 20, 2008, 9:16 PM

Post #1 of 3 (314 views)
Shortcut
IF, IF, IF, IF Can't Post

I'm sure that what I would like to do is entirely possible so I'm asking for a heads-up on where to start.

Here's the scenario:

I have main categories, 2008, 2007, etc.

Each has subcats DEC, NOV, OCT, etc.

What I would like to do is this... If a user is reading an article from say, 2008 OCT, I would like to also display a list of article headers from 2007 OCT on the side.

I'm sure that with a heap of IF statements this can be achieved.

Any thoughts / ideas?

Cheers


Donna
Staff / Moderator


Nov 24, 2008, 3:55 PM

Post #2 of 3 (273 views)
Shortcut
Re: [JonnyCav] IF, IF, IF, IF [In reply to] Can't Post

Hi Jonny!

I think as long as you keep a careful naming scheme, this shouldn't be too difficult. In fact, you could even just include a specifically named file from a different year with if the current category name is the same. So, for example, if you were looking at the 2008 -> October category, you could include something like this:

<!--#include virtual="/2008/$category.name$/index.shtml"-->

...assuming that the file you were trying to include was in /2008/October/index.shtml.

Would something like that work for you?

Donna


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.


JonnyCav
User

Nov 25, 2008, 12:14 AM

Post #3 of 3 (269 views)
Shortcut
Re: [Donna] IF, IF, IF, IF [In reply to] Can't Post

Gosh, Donna. That sounds so simple that I probably overlooked it!

I'll give that a whirl right now and let you know the outcome.

Cheers.

 
 
 


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