1
mf_iii
What template use the edituser & user.php problem
  • 2008/2/25 13:41

  • mf_iii

  • Just popping in

  • Posts: 47

  • Since: 2007/12/22


Hi all,

I have some little problems in the user menu. When i click in Acount (/user.php) it returns blank page. I never edit the user.php so why i get this error?

And second, how can i find the template file that uses the edituser.php because i need to change the width and some css class (and i want the same in pmlite.php)

Thanks

2
zyspec
Re: What template use the edituser & user.php problem
  • 2008/2/25 23:28

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I'm not sure I can help with your ./user.php problem - but here's a few ideas:
* try clearing your ./templates_c folder (except for the index.html file).

* Try it with another theme (perhaps the default theme) to see if you have the same problem.

* Turn on PHP debug (ADMIN > PREFERENCES > GENERAL SETTINGS> DEBUG MODE) to see if you get any error messages.

----------------------

There are no template files for either the ./edituser.php or ./pmlite.php files. The edituser.php file uses the XOOPS Form class to display the form fields. pmlite.php has the html hard coded directly in the file. Hopefully the pmlite.php file will be rewritten in the 2.3 code release to separate the html from the php code.

3
mf_iii
Re: What template use the edituser & user.php problem
  • 2008/2/26 2:28

  • mf_iii

  • Just popping in

  • Posts: 47

  • Since: 2007/12/22


i dont get any errors for the user.php. I tried the default theme but failed again



So if i want to change something in edituser.php file how i change it? Where is the XOOPS Form class? Can i change it from here? The width is very big in the edituser.php3

Thanks for the answers!!!

4
mf_iii
Re: What template use the edituser & user.php problem
  • 2008/2/27 17:54

  • mf_iii

  • Just popping in

  • Posts: 47

  • Since: 2007/12/22


Anyone? Is any way to modify the edituser because the width of the form is very big and goes over the right blocks

5
Anonymous
Re: What template use the edituser & user.php problem
  • 2008/2/27 18:52

  • Anonymous

  • Posts: 0

  • Since:


Quote:
mf_iii wrote:

how can i find the template file that uses the edituser.php


It's the other way round; the .php file calls the template.

Open a copy of the .php file and search in it for "html"; this will find any templates that are called.

If the search doesn't find any results then search the .php file for "php" to find other .php files called, then search them for "html".

Edituser.php doesn't call any html files (that I can see, anyway). However, it does call "/class/xoopsformloader.php" and "userinfo.php" amongst others. They would be a good place to look next, and so on.

Teaching Granny to suck eggs:
When editing an .html file, try using a "line editor" rather than a wysiwyg editor (eg Frontpage) as they pften insert a load of unnecessary old guff and bloat your files. I use ConTEXT, a freebie from http://www.context.cx/, and will highlight code such as hmtl, php, etc. Highly recommended.

6
mf_iii
Re: What template use the edituser & user.php problem
  • 2008/2/27 19:07

  • mf_iii

  • Just popping in

  • Posts: 47

  • Since: 2007/12/22


Thanks for the answer but i have already searched these and.. nothing

7
Anonymous
Re: What template use the edituser & user.php problem
  • 2008/2/27 19:17

  • Anonymous

  • Posts: 0

  • Since:


have you looked at:

/modules/system/templates/system_userform.html

and

/modules/system/templates/system_userinfo.html

8
mf_iii
Re: What template use the edituser & user.php problem
  • 2008/2/27 22:09

  • mf_iii

  • Just popping in

  • Posts: 47

  • Since: 2007/12/22


Yes, the system_userinfo.html has only infos about the userinfo.php and the other has not anything about that i am looking for

Login

Who's Online

323 user(s) are online (223 user(s) are browsing Support Forums)


Members: 0


Guests: 323


more...

Donat-O-Meter

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

Latest GitHub Commits