1. jpa
  2. Support
  3. Wednesday, September 06 2017, 05:13 PM
Hi! I'm trying to find out, how to add a custom text + image before the registration form. I tried to set another group before the default group and put a HTML separator inside with custom HTML. But then the title of that group is always visible too, and I just want the plain HTML in front of the complete form without any title. I also don't see a option to disable the title of the grouping fields yet ...

Also I was thinking about a HTML override of the easyprofile.php (inside com_user/registration), but that does also not seem to work out well, because the text appears after the form and not before.

Third and last thought was, if it is possible to put the registration form in a module and load it with loadposition after an joomla article, but it seems no module for it is available to load registration form.

Do you have any more ideas how to solve this problem?

Thank you!
admin Accepted Answer
Admin
Hi,
Have you tried to add a Joomla Custom module before Registration form? normally all templates allow this.
  1. more than a month ago
  2. Support
  3. # 1
jpa Accepted Answer
Pro
Thanks for your suggestion. I created a new position in template before "component" but after "message" position gets loaded. In this position I load as suggested the custom HTML module. This works great and was quite easy solution!

The only minor issue I found: when a validation fails and the form field becomes red, then the form scrolls to the top of the page. If you have now custom text at the top then it scrolls to the top of that, too and if the text is large you must scroll down manually again to the form. I thought maybe the messages will appear at "message" position, but it seems like they show at top of component position. This is not a big deal, but maybe could be improved somehow.

Anyway the ability to add custom HTML before the component form would be a cool feature and maybe is easy to add. Also if there would be a way to hide the grouping field titles would be nice or if they at least have own class names according to their title so you can hide them with CSS easily would be cool.

Also it would be nice if you could hide this field with a option "* marked fields are required". I did it with a language override, but then you also have to hide the space of it with CSS.

P.S.: By the way, the new version of easy profile works great even with other jquery libs loaded. You fixed that issue last time for me and now it works great out of the box.

Thanks again!
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,

Anyway the ability to add custom HTML before the component form would be a cool feature and maybe is easy to add. Also if there would be a way to hide the grouping field titles would be nice or if they at least have own class names according to their title so you can hide them with CSS easily would be cool.
This is already possible, you can create a field of type HTML Delimiter and put your static HTML in a field position.
- You can set this field to show only in Registration and/or Edit profile page
- To hide title you can enable parameter "Hide title in edit/registration profile page" (see screenshot)
- You can manage layout with CSS because each field have a own class:
- - to set style of label you can use this CSS selector
ALIAS_OF_FIELD-group .control-label

- - to set style of input container you can use this CSS selector
ALIAS_OF_FIELD-group .controls


Also it would be nice if you could hide this field with a option "* marked fields are required". I did it with a language override, but then you also have to hide the space of it with CSS.
you can add this CSS code to make this:
.spacer-container{display:none;}
  1. more than a month ago
  2. Support
  3. # 3
jpa Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 4
  • Page :
  • 1


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