(11-16-2021, 01:16 AM)kenjis Wrote: Sorry, I got misunderstood.
> since renderSection ($sectionName) does not return any value
It means renderSection() returns null. Use if else statements in your layout properly.
renderSection() always return null: if it was used, it
echo something then return (without explicit call to return); if it is not used, it is run return only
so, I can't do what you suggest...