plainblack.com
Username Password
search
Bookmark and Share

    

Page Views Macro

User Jammer
Date 8/12/2005 2:51 pm
Views 87
Rating 0    Rate [
|
]
Previous · Next
User Message
Jammer

Hi,

For one of my sites a few pages warrant as simple Hit Counter at the bottom of the page. I thought about using a snippet with a SQL macro selecting a count from the pagestatistics table for that page.

But, how do I pass the current page id to the SQL macro?



Back to Top
Rate [
|
]
 
 
Jammer

Hi,

For one of my sites a few pages warrant as simple Hit Counter at the bottom of the page. I thought about using a snippet with a SQL macro selecting a count from the pagestatistics table for that page.

But, how do I pass the current page id to the SQL macro?



Back to Top
Rate [
|
]
 
 
len

But, how do I pass the current page id to the SQL macro?

Use the Page macro: ^Page(pageId);

Len Kranendonk
www.primaat.com



Back to Top
Rate [
|
]
 
 
Jammer
perfect thanks

Back to Top
Rate [
|
]
 
 
    



© 2010 Plain Black Corporation | All Rights Reserved