Page 1 of 1

CG Simple nested loop

Posted: Sat Aug 26, 2017 9:28 pm
by fowlerat
Has anyone had an issue with nested CG Simplesmarty in 2.2.2? CGsimple calls work fine as one-off statements, but when I make a CGSimple call within a running foreach nothing is returned.

Re: CG Simple nested loop

Posted: Sun Aug 27, 2017 1:30 am
by DIGI3
Perhaps share your template so we can see what you're trying to do.

Re: CG Simple nested loop

Posted: Sun Aug 27, 2017 5:39 pm
by fowlerat
Ummm...just gone back in to copy the code into here and now it's working. I'm wondering if I had some sort of caching issue...

Thanks for responding - I'll see how it goes!