1. jsanglier
  2. General
  3. Saturday, October 16 2021, 12:23 PM
Hi,
I want to customize button and add a title page, ...
but, I have create on override but it' not working.
I have disable the easyprofil system plugin and my overridde are working.
Si, where I have to add the override to add some information into the page ?
I want also to suppress the 1px that is arround the block...
Attachments (2)
admin Accepted Answer
Admin
Hi,
the title of the fieldset should be the title of fieldgroup.

To work with overrides of the template you can disable in Easy Profile options the parameter called "Skip Template overrides and
use Easy Profile improvements" (Layout Settings tab)
  1. more than a month ago
  2. General
  3. # 1
jsanglier Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Ok, try to follow these steps:
- backup folder /templates/your-theme-folder/html/com_users/registration (you can simply rename it)
- backup folder /templates/your-theme-folder/html/com_users/profile (you can simply rename it)
- Go to Extensions->Templates->Templates
- Choose your template
- Go to tab "Create Override"
- Create a override for view com_users->profile and com_users->registration
- Registration page override
- - Open file /templates/your-theme-folder/html/com_users/registration/easyprofile.php
- - At line 12 replace with:
include( JPATH_SITE . '/templates/your-theme-folder/html/com_users/registration/tmpl/default.php');
- - Open file /templates/your-theme-folder/html/com_users/registration/default.php
- - Add the class for Button
- Edit profile page override
- - Open file /templates/your-theme-folder/html/com_users/profile/easyprofile.php
- - At line 12 replace with:
include( JPATH_SITE . '/templates/your-theme-folder/html/com_users/profile/tmpl/default.php');
- - Open file /templates/your-theme-folder/html/com_users/profile/edit.php
- - Add the class for Button
  1. more than a month ago
  2. General
  3. # 3
jsanglier Accepted Answer
Hi
I have added in "com_users\registration\easyprofile.php"
their was an issue with the url you write, i have update it (remove the /tmpl/)
include( JPATH_SITE . '/templates/yootheme/html/com_users/registration/default.php');

I have added "com_users\profile\easyprofile.php"
their was an issue with the url you write, i have update it (remove the /tmpl/)
include( JPATH_SITE . '/templates/yootheme/html/com_users/profile/default.php');

but I have the same issue, double formulaire.

If I enable the Skip Template Override, no more double form.
i'm a little bit lost...
  1. more than a month ago
  2. General
  3. # 4
jsanglier Accepted Answer
Hi,

I'm launching my site in few days and I don't have a solution for it.
I still have double registration info...
Can you help me on this ?
  1. more than a month ago
  2. General
  3. # 5
admin Accepted Answer
Admin
Hi,
can you please post me your site details to check this? if yes then you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. General
  3. # 6
jsanglier Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 7
admin Accepted Answer
Admin
Hi,
in which page have you the double form?
  1. more than a month ago
  2. General
  3. # 8
jsanglier Accepted Answer
Hi,

In the site URL I have enter the url with double info.
I would like this page looks like this one more or less.
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
Hi,
I have done this for you :D , I have changed lines 11,12,15,36,75,76 in the override file called easyprofile.php
  1. more than a month ago
  2. General
  3. # 10
jsanglier Accepted Answer
Hi !
Thanks for your help!
But, I'm not sure about the changes. It is on the html \ com_users \ registration \ easyprofil.php file ?
When I un select the "Skip template", I still have double. Do I have to stay with this off ?
Another question is about layout.
I would like the form to be as the url I have added (all red, center, ...), How can acheive this ?

Thanks !
  1. more than a month ago
  2. General
  3. # 11
admin Accepted Answer
Admin
Hi,
But, I'm not sure about the changes. It is on the html \ com_users \ registration \ easyprofil.php file ?
Yes
When I un select the "Skip template", I still have double. Do I have to stay with this off ?
Yes, basically:
- when you disable this option then the system will use default.php, you have a override of this file in your template so the system will use the file templates/your-theme-folder/html/com_users/registration/default.php and easyprofie.php will be ignored
- when you enable this option then the system will use easyprofile.php (this file force to load default.php from component and not the template).
You have double form when the registration page uses default.php from template because your default.php load a static form for registration and in a second time all plugins like Easy Profile that will include core fields. This is not a usual way to create registration form

I would like the form to be as the url I have added (all red, center, ...), How can acheive this ?

I have done this for you: edited line 12 and added lines 40,41
  1. more than a month ago
  2. General
  3. # 12
jsanglier Accepted Answer
looks good ! and thanks for the explanation !
  1. more than a month ago
  2. General
  3. # 13
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.