
Jake
Staff

Jun 14, 2008, 7:34 PM
Post #2 of 9
(2458 views)
Shortcut
|
|
Re: [dbeldowicz] Author Specific Display Ad
[In reply to]
|
Can't Post
|
|
Hi Dan, The easiest way to set this up would be by using templateIf statements that check against your author names on your articlePage.html template. So if you have a field called "author", you would use the following code to check which article wrote the article, and to display the corresponding ad code:
<!-- templateIf: $article.author$ eq "John Doe" --> ***Ad code for John Doe*** <!-- /templateIf --> <!-- templateIf: $article.author$ eq "Jane Doe" --> ***Ad code for Jane Doe*** <!-- /templateIf --> You would need to set up one of those statements for each author on your site. Let us know if you have any other questions. ----------------------------------------------------------- Cheers, Jake Marvin - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] 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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|