PageList custom template echo Area
Permalink
Hi,
I'm trying to echo a custom Area defined in a Page Type template in a Page List but I don't know how to do it. My searches led me to getArea but I don't know if that's what should be used because I couldn't make it work. And I didn't find much on this subject..
Can anyone help?
Cheers
I'm trying to echo a custom Area defined in a Page Type template in a Page List but I don't know how to do it. My searches led me to getArea but I don't know if that's what should be used because I couldn't make it work. And I didn't find much on this subject..
Can anyone help?
Cheers
In your page list's for loop add the following:
Where 'Main' is the handle of the area you want to display. And $cobj is the collection object in the current loop.