Bixal / bixal-site-drupal

Bixal drupal site
https://www.bixal.com
0 stars 0 forks source link

BSD fixes #54: Allow contact us form to be functional. #133

Closed mpbixal closed 4 months ago

mpbixal commented 5 months ago

Known issues:

mpbixal commented 5 months ago

@mejiaj I was not able to use the contact-us template at all because of all the functionality that is needed for forms, instead I used your classes and attributes and added them to my Drupal form elements. Because of this, changes to the template in SB will not effect Drupal, but the CSS will.

mpbixal commented 5 months ago

I believe you may have to add this file to config ignore. Upon installation your email showed up in this form for me.

config/sync/contact.form.site_wide.yml

This was actually on purpose, but sneaky. I did not config ignore the entire site_wide settings. I had to have it install the contact form, but I wanted the important settings to be ignored. So you can change the recipients or the message and a deploy will not wipe that out, but if you were to delete the contact form, it would come back (without those sub settings).

mpbixal commented 5 months ago

@buddy-harlow I think it's find that it loads with my email there, that way there is at least some value and it will alert us if they don't change it. I think how config ignore works, is that the initial config import, the config makes it through, but once the config ignore is imported itself, it will no longer import. You can test this by changing both the label and the recipients and saving. When you cim, the label will revert, the recipients will not.