Hello,
we are using multiple snippets of the same name in one page. It seems that only one snippet (the first one) is executed, the next ones are ignored. How can we solve this? We use 0.9.5
Olaf
It depens on the snippet you are using some snippets do work multiple time on one page but lots do not.
Try the support pages for the snippets you used, and ask there if there is a posibility to do what you want with that snippet.
Dimmy
Perhaps you can modify the snippets yourself using the unset() function at the end of the snippet... it should clear the variable for reuse.... I’m sure someone will correct me if I’m wrong
<?php
$variable =isset($_GET['hello'] ? $_GET['hello'] : "hello";
working code here
$output .="$variable";
unset($variable);
return $output;
?>
we got it working, with a if statement around the snippet function declaration. cheers!
Olaf