-
- 258 Posts
Hello,
I created a snipest called "room" and inside of the snipest i have a varibale called "obj"
And I call like this [[room]].
But it is possible to do as a $_get[’obj’]?
for exemple [[room?obj=room1]]
and then in my snepest I will catch the obj and obj will take the value of room1?
This will help a lot and avoid to create a snipest for each room
Many thank for your suggestion
Pierre
Parameter values automatically become available in your snippet code as simple variables with the same name. So your &obj=`room` parameter will become a variable $obj, with the value of "room".