Skip to Content Skip to Menu

How to create pre-made Profile layouts - installer

9 years 6 months ago #262328 by pepperstreet
Hello, I am curious about the new Canvas powered user profile layout. You have provided this quick and easy "Load Canvas Layout" in tools section. Is there any way to create this on my own? Preferably as a standalone or plugin installation.

Purpose: Create and distribute nice looking profile pages incl. layout, styles, settings and fields.

Any suggestions are welcome.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago - 9 years 6 months ago #262400 by krileon
It's just doing database queries to move the tabs/fields around so yes you could have it in a custom plugin or just a phpmyadmin database query if you wanted. Specifically the code for it is in loadCanvasLayout of the following location.

IN: administrator/components/com_comprofiler/controller/controller.default.php
ON: Line 360


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.
Last edit: 9 years 6 months ago by krileon.

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

9 years 6 months ago - 9 years 6 months ago #262471 by pepperstreet
Replied by pepperstreet on topic How to create pre-made Profile layouts - installer
o.k. that's a beginning.

Is there any way to make it "easy & universal" and "waterproof" for end-users? I mean, create an installable package that does not destroy an existing setup... or should it be for new and fresh CB installations anyway? Maybe the latter creates less issues and problems ;)

What about the previous QuickStart installer package? How was this one created?
Last edit: 9 years 6 months ago by pepperstreet.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262484 by krileon
You could write a plugin that on install it runs its installer script which moves tabs/fields around then uninstalls it self. CB QuickStart is created using our custom CB Package Builder plugin that can generate Joomla installable packages, but it's not compatible with CB 2.x yet.


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.
The following user(s) said Thank You: pepperstreet

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

Moderators: beatnantkrileon
Powered by Kunena Forum