PBTech

Templates - PBTech

Templates

by barreeeiroo » Sun Jul 24, 2016 9:52 pm

Hi
Where is the ucp_register.html template that corresponds to prosilver theme?
Or how to edit the variables if fields in that form?
Thanks
barreeeiroo
Registered User
Posts: 2
Joined: Sun Jul 24, 2016 9:49 pm
Contact:

Re: Templates

by JimA » Mon Jul 25, 2016 9:04 am

Hi, welcome to phpBB.com! :)

This style uses template inheritance, which means that in the template folder of this style are only the files that the style author has edited. The rest of the files are in the default prosilver folder, from which they are inherited. So if you want to edit variables or add fields to the template file of the PBTech style, you'd need to edit the ucp_register.html file from the prosilver style.
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.
User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7667
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Templates

by barreeeiroo » Mon Jul 25, 2016 9:53 am

Oh, thank you, I will try it

EDIT: it works, but how to change .html to .php template file?
barreeeiroo
Registered User
Posts: 2
Joined: Sun Jul 24, 2016 9:49 pm
Contact:

Re: Templates

by Sajaki » Mon Jul 25, 2016 2:54 pm

hi,
you don't really want to do that. the core prosilver html files may not be changed.
User avatar
Sajaki
Registered User
Posts: 1354
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas
Contact: