This is weird so I started from scratch. I replaced all my files in the snippet folder for webloginpe and made the amendment on line 56.
I started with your lines of snippet code which are called uncached and my page settings are set to uncached.
Nada.
My own call was: [!WebLoginPE? ®isterTpl=`RegisterPE` ®Type=`verify` &type=`register` &groups=`Registered Users` ®Required=`email,fullname,username` ¬ifySubject=`A new user has registered to your website` &tosChunk=`TOS` !]
I re-ran you first call and removed the &tosChunk and ®isterTpl parameter and I got the default instant registration form with the Terms of Service header and check box but no populated TOS code.
I’m sure I have something very wrong at my end as the default standard forms just wont populate that TOS and yet I’m sure I have had this working on another site.
I’m miffed and lost but will continue to look further.
Thanks again Scotty
UPDATE: I have a modx site at work and it runs on v0.9.5 and I can see the TOS on the default instant registration form. When I try the same on Modx 0.9.6 it just doesn’t show.
One other main difference is the php version. I run 5.1.6 and work run 5.2.0.
As I’m only displaying the TOS I opted to use the chunk directly: {{TOS}} in the regsiterTpl chunk. Its a saving grace for the time being.. I did play around with the order of things in the template.php which didn’t come to anything regarding the default stuff. If I get more info I’ll post up but I have seen this work but not really where I would like it
Second UPDATE
I’ve narrowed it down which may give you more help.
Here’s how I’ve been using it in its entirety. I have the login form on a side bar menu in my template.
Registration takes me to a new page which shows the registration details in the main content of the page.
Now when the login form AND the registration form are displayed at the same time the TOS does NOT populate.
So, I removed the [!webloginPE?!] code from the template and revisited the registration page and voila. The TOS populates perfectly. I found it when I removed the ®HomeId parameter and allowed my registration form to populate in the side bar and saw the TOS.
I hope it helps on having the login form used in a side bar and the registration form in the content.
Sorry for rambling on with it.