-
Hello @Tajrebatee !
1) If you need to show a new field in the header of the profile page, then enable this field in the View Person form which is shown in the View Info block. Then add the RAW block with the JS/JQuery script moving this field to the necessary place.
2) The adding the new fields to the profile could be done via the code's modification. You need to correct the unit or getSnippetMenuVars methods in the modules/boonex/persons/classes/BxPersonsTemplate.php file to add there processing of the user field's choice.
-
Thank you for replying. Here is how I added that field and what it has (see images below). I appreciate any more input based on this clarification.
-
Thanks. Can you clarify where the above code goes to?
is it to this file like @LeonidS suggested above (modules/boonex/persons/classes/BxPersonsTemplate.php)
or in your "advanced" module?
-
This is a code to use in the Advanced Menu module. You need to create a new custom menu item handler in the module, give it any name you wish (see examples in the module) and use the provided code as a "Handler's PHP code". Then follow the instructions given in the module (see the bottom of the page, the section "What to do next?")