From 0b1f019069c6e77de7eb090c0b0fca69f17bff5d Mon Sep 17 00:00:00 2001 From: mohrt Date: Wed, 27 Mar 2002 16:42:05 +0000 Subject: [PATCH] update FAQ page --- FAQ | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FAQ b/FAQ index ecd6b4d6..47b43638 100644 --- a/FAQ +++ b/FAQ @@ -43,6 +43,8 @@ HOWTO Q: How do I generate different cache files per template based on arguments passed to the page? +Q: How do I pass a template variable as a parameter? {function param={$varname}} + does not work. Q: How do I include cached template(s) within a non-cached template? @@ -207,6 +209,10 @@ A: Use your $REQUEST_URI as the cache_id when fetching the page: This will create a separate cache file for each unique URL when you call index.tpl. See the documentation for display() and fetch() +Q: How do I pass a template variable as a parameter? {function param={$varname}} + does not work. +A: {function param=$varname} (You cannot nest template delimiters.) + Q: How do I include cached template(s) within a non-cached template? A: One way to do it: