Skip to Content Skip to Menu

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

subscribe form template

  • jufreaks
  • jufreaks
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
  • Add-ons
11 years 6 months ago #224798 by jufreaks
subscribe form template was created by jufreaks
hello

Could you help me how to change the template of the subscribe form?

I understand how to hide or add fields, but I really don't like the look of the form.
(informations icons are some time before the content, and the form is very classic.)

thanks
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #224825 by krileon
Replied by krileon on topic subscribe form template
You can change the icon legend to be before, after, both, or hidden within CB > Configuration > Registration and adjust "Show explanation for icons" as needed. You can enable/disable icons displayed within CB > Configuration > General and adjust "Show icons on fields" as needed. You can restyle the icon images within CBs template folder.

components/com_comprofiler/plugin/templates/TEMPLATE/images/mini-icons/


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.

  • jufreaks
  • jufreaks
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
  • Add-ons
11 years 6 months ago #224882 by jufreaks
Replied by jufreaks on topic subscribe form template
thanks,

I've seen where you set up icons before, after but in the form, my problem is for the cb_filefield, where the icon are before the content.... this can't be change in the registration tab




thanks
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #224918 by krileon
Replied by krileon on topic subscribe form template
Please specific as to what you're wanting to change about them. You can change what field icons are displayed within CB > Configuration > General. You can change the images themselves by changing their images at the below location.

components/com_comprofiler/plugin/templates/TEMPLATE/images/mini-icons/


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.

  • jufreaks
  • jufreaks
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
  • Add-ons
11 years 6 months ago #224952 by jufreaks
Replied by jufreaks on topic subscribe form template
what I want is to get the same template and css's I use in joomla for CB, .

actually what I want is to get acces on the html page where the form is written to change the look of the form:
for instance:

here is the contact form in my joomla template:



here is the one in CB subscription:



I can do the same form only with the css. I need to get acces to the html, but don't know how and where??

is it possible somehow?

thanks
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #224982 by krileon
Replied by krileon on topic subscribe form template
The form is completely generated internally. There is no HTML to change as it's not static. You need to use CSS to alter the page. You can change some of the basic HTML within the PHP file of your CB template, but it's only basics like submit button placement.

The only different I see is there is a legend around the Joomla form, the Required icon is a star next to the title, and no icons. You can add the legend by editing the HTML available to you in the PHP file of your CB template. The star you can probably try adding using CSS (selector:after then use content: '*'). The icons can be disabled within CB > Configuration > General. You'll find your CB template PHP file below.

components/com_comprofiler/plugin/templates/TEMPLATE/TEMPLATE.PHP

If your template doesn't have one then it's using the Default template PHP file.

components/com_comprofiler/plugin/templates/default/default.php

The registration form is handled in the CBRegisterFormView_html_default class and _renderdivs is the function you'd add your legend too (assuming CB profiles is set to use DIV layout).


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