Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Override Write and Profile Page

  • janvan
  • janvan
  • OFFLINE
  • Posts: 21
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #237122 by janvan
Override Write and Profile Page was created by janvan
Hello,

I would like to know the best way to override the two following views:
- User Form
- User Profile

I would like to be able to put fields one by one to specific location. (and not use position in the admin interface)
Like this I can display form exactly like I want.

I think I need to create a template plugin, then is there some specific functions to call to display the "field form" and "field value" ?

And If I want to display a tab "user plugin", if you have also some example :)

In other words, I want to place fields and tab myself on the page.

Finally, is there a way to "customize the display of a field type form", like If I want to put the name of the field as a placeholder in a textfield, use chosen.js for the display on a dropdown field etc... (only hack solution or plugin is possible). Event if this is hack if you have a pointer of the code where the fields are rendered ?

Thanks in advance :)

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago #237172 by krileon
Replied by krileon on topic Override Write and Profile Page
Best I can suggest is look into CB Profile Pro. There's no easy way to do this without developing a plugin to completely output new views using CB triggers.

Finally, is there a way to "customize the display of a field type form", like If I want to put the name of the field as a placeholder in a textfield, use chosen.js for the display on a dropdown field etc... (only hack solution or plugin is possible). Event if this is hack if you have a pointer of the code where the fields are rendered ?

No, field output is generated dynamically. Some fieldtypes need very specific output. The only way to override this is to flat out replace it using a new plugin and triggers.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum