Menu Item numbers not working |
4/7/2011 15:01:44 | |
| ASPRunnerPro General questions | ||
|
T
Tim author
Hello, |
||
|
|
Sergey Kornilov admin 4/8/2011 |
|
Thanks for pointing, here is the correct code: if menuItem.getLinkType() = "Internal" then |
|
|
T
|
Tim author 4/11/2011 |
|
Thank you. That did the trick, but I now realize I'd like something slightly different. This code counts records in the table based on the query from the Edit SQL query page of ASPR, but I alter the where statement for many of my list pages via the events page. Can I have the menu item's count include that additional where statement? Does that make sense? |
|
|
|
Sergey Kornilov admin 4/11/2011 |
|
You can try to use session variables that store SQL, WHERE and ORDER BY for each table: |
|