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

Home: Discontinued Products: Article Manager 1:
Logic for Template - Article Number vs Filename

 

 


dmsid
User

Jul 23, 2007, 9:57 AM

Post #1 of 3 (2489 views)
Shortcut
Logic for Template - Article Number vs Filename Can't Post

I wanted to know if there is some logic I can create in a template that will create a link based on filename or article number.



If ([filename_field] is blank) {

<A HREF="/artman/publish/article_[article_number].html>Link</A>

} else {

<A HREF="/artman/publlish/[filename_field].html>Link</A>

}

Thanks in advance


Donna
Staff / Moderator


Jul 23, 2007, 1:32 PM

Post #2 of 3 (2486 views)
Shortcut
Re: [dmsid] Logic for Template - Article Number vs Filename [In reply to] Can't Post

Hi there,

Article Manager 1 doesn't have template logic built in -- Article Manager 2 does, however.

But, Article Manager 1 does have a placeholder for the URL of the file, regardless of whether it's been set specifically, or if it's auto-created -- $detail_link$. If you can give me more details about what you're trying to do, I can offer more ideas that might 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.


dmsid
User

Jul 24, 2007, 1:25 AM

Post #3 of 3 (2460 views)
Shortcut
Re: [Donna] Logic for Template - Article Number vs Filename [In reply to] Can't Post

Smile Thanks this will be just what I need.

 
 
 


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