Hi.
By default the portal script replaces the entire template. This has proven to be quite frustrating for those ignoring this.
I spent some time figuring this issue out since for some reason the overwrite doesn't include variables like {$multipage}
.
Regards.