1
zmurji
Redesign of Lost your Password page
  • 2004/6/12 22:40

  • zmurji

  • Just popping in

  • Posts: 7

  • Since: 2004/6/12


Hello list,

I'm new to XOOPS and I'm trying to redesign the lost your password page to look similar to the User Registration page. I figured out how to use a Themed form, which is great. But now I want to add some help text that crosses over both columns in the form table. Is there any way to do this? None of the predefined form classes fit my needs. XoopsFormLabel was the closes but it doesn't span across two columns.

Thanks for the help
Zamil

2
tjnemez
Re: Redesign of Lost your Password page
  • 2004/6/12 22:50

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you can edit the system_userform.html template.

3
zmurji
Re: Redesign of Lost your Password page
  • 2004/6/12 23:12

  • zmurji

  • Just popping in

  • Posts: 7

  • Since: 2004/6/12


Actually I can't edit that page because I no longer use it. Within user.php, instead of the call to use that .html page I have now created a new XoopsThemeForm with all the info that was inside of the system_userform.html page except for that text that is within _US_NOPROBLEM. That is the piece of text that I want to add to the form but not as a label.

Any other thoughts?

Zamil

4
tjnemez
Re: Redesign of Lost your Password page
  • 2004/6/12 23:28

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


no, its been awhile since i worked on forms. i would like to see what you come up with though.

5
Dave_L
Re: Redesign of Lost your Password page
  • 2004/6/12 23:53

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Maybe create a new class, derived from XoopsThemeForm, add a new element class similar to XoopsFormLabel but which spans two columns, and then override the new form class's render() method to properly handle the new element class.

6
zmurji
Re: Redesign of Lost your Password page
  • 2004/6/12 23:56

  • zmurji

  • Just popping in

  • Posts: 7

  • Since: 2004/6/12


I was hoping I could stay away from that...but if that is the only way to go then so be it.

7
Per4orm
Re: Redesign of Lost your Password page
  • 2004/6/13 0:26

  • Per4orm

  • Documentation Writer

  • Posts: 145

  • Since: 2003/11/14


Have you tried overlib.js? It's a javascript that will allow help text to be displayed when the cursor is above a certain peice of text, and is integrated with the newer versions of smarty (Which XOOPS uses).

You can download it fromhttp://www.bosrup.com/web/overlib/

It's easy to use, and won't interfere with any form structure while still allowing you to offer help text in the method you desire.

8
zmurji
Re: Redesign of Lost your Password page
  • 2004/6/13 19:29

  • zmurji

  • Just popping in

  • Posts: 7

  • Since: 2004/6/12


I was looking into adding it to the table that displays the form. I'm working on extending XoopsThemeForm now.

Thanks for the suggestion though...
Zamil

Login

Who's Online

213 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

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

Latest GitHub Commits