1
phaelon
Loading different system_userinfo.html possible?
  • 2004/8/30 14:53

  • phaelon

  • Just popping in

  • Posts: 35

  • Since: 2004/8/23


Is it possible, based upon the value of an integer variable, to Load Different xoops_root/modules/system/templates/system_userinfo.html ??

This is all for the User account module.

So if a user clicks edit profile, and select 1 in a pull down box, then clicks save, can they load system_userinfo2.html?
Or if they click 2 in the pull downbox can they load system_userinfor3.html??

The reason I ask this, is because for each value of the pull downbox, different types of fields will be represented.

Like for option 1 you could have fields a, b, b.1, b.2 and c. But for option 2, you could have fields e, f, a, d.

Another example.

If the user selected 1, their AIM would show, but their MSN would not. If they selected 2, their MSN would show but their AIM would not.

The thing is I know that edituser.php and userinfo.ph generate all the fields, but the system_userinfo.html is how the tables are created. so if option one has 1 extra field. If the user clicks option 2 their will be just an empty box there for them.

Sorry to ramble on a bit, I hope you get where I am coming from.

Login

Who's Online

313 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 313


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits