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 Add-ons:
Passing AM Parameter to ASP?

 

 


BillG
User

Nov 10, 2004, 10:51 PM

Post #1 of 4 (2605 views)
Shortcut
Passing AM Parameter to ASP? Can't Post

I want to build an ASP page counter component for AM, and I want to do it as an included component in my AM template. The pagecount would be written to a database.

Now, I need to do this using the article's record number: $art_num$ . But the issue becomes, how to pass it? Are the AM templates resolved BEFORE the ASP components are run?

For example, will this subroutine in my article template:


Code
 <% 
PageCount("$art_num$")
%>



execute properly and pass the article record number to the ASP script?

Thanks!

Bill G.


MikeB
Staff / Moderator


Nov 11, 2004, 2:12 PM

Post #2 of 4 (2591 views)
Shortcut
Re: [BillG] Passing AM Parameter to ASP? [In reply to] Can't Post

Hi Bill,

Thanks for the post!

The templatecells in Article Manager would be resolved before any ASP components you've added to the page. It looks like the code you provided would work properly to pass the article number.

Try it out and let us know how it goes. In the meantime if you have any other questions feel free to let me know! Smile

Cheers,
Mike Briggs - 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.


BillG
User

Nov 11, 2004, 2:31 PM

Post #3 of 4 (2590 views)
Shortcut
Re: [MikeB] Passing AM Parameter to ASP? [In reply to] Can't Post

Mike, thanks!

Are the settings for "Dynamic Page Rendering" in the setup options important for this to work properly?


I've got my pages set to publish as a .ASP extension.


(This post was edited by BillG on Nov 11, 2004, 4:16 PM)


MikeB
Staff / Moderator


Nov 11, 2004, 4:41 PM

Post #4 of 4 (2586 views)
Shortcut
Re: [BillG] Passing AM Parameter to ASP? [In reply to] Can't Post

Hi Bill,

The settings under "Dynamic Page Rendering" shouldn't have any effect on what you're trying to do. These settings are mainly used for determining how Article Manager handles includes and server side scripting.

Considering you're actually grabbing the data and not including any other files this setting shouldn't make a difference.

I hope this helps and if you have any other questions feel free to let me know! Smile

Cheers,
Mike Briggs - 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.

 
 
 


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