Simple Membership Plugin › Forums › Simple Membership Plugin › Customizing registration form (styling)
- This topic has 9 replies, 4 voices, and was last updated 2 years, 5 months ago by
Werewolf ATL.
-
AuthorPosts
-
September 28, 2018 at 10:25 am #16548
Creatium
ParticipantHi! I am trying to add some custom styling to my registration form. For that I need to edit the html template of it (using only CSS is not enough). I tried to copy add.php file from views folder to my theme template folder (I used this method for login, edit, forgot-password forms), but it does not replace the default one.
So my question is is there a way to modify the template of registration form? I know I could edit the original file in plugin folder, but it probably would be overwritten during an update.
September 28, 2018 at 11:25 pm #16551mbrsolution
ModeratorHi, I think your best option at present would be to use the Form Builder addon.
So my question is is there a way to modify the template of registration form? I know I could edit the original file in plugin folder, but it probably would be overwritten during an update.
If the Form Builder addon is not what you are looking for, then your other option is to edit the original file in the plugin folder as you stated above. Just remember to make a note of the changes and keep a copy locally. Every time you update the plugin just remember to upload those changes back to your site. Another option is to use a child theme, that might also work.
Kind regards
September 29, 2018 at 7:49 am #16554Creatium
ParticipantI am planning on using the Form Builder addon for other purposes. But I was unable to find if this plugin allows custom styling of the form design itself. Like adding custom classes or html code.
I am also using child theme, as I mentioned in my first posts. I tried copying add.php file to my theme folder and changing it, but changes did not appear in web. Other files I managed to edit successfully.
September 29, 2018 at 8:14 am #16555mbrsolution
ModeratorHi, have you already purchased the Form Builder addon?
September 29, 2018 at 8:32 am #16556Creatium
ParticipantNot yet. Since I am currently developing my site, I have several things to do. But its in my list as I will need custom checkboxes to show in the registration form. Besides other styling customization.
September 29, 2018 at 1:13 pm #16557The Assurer
ModeratorI was unable to find if this plugin allows custom styling of the form design itself.
You can always modify SWPM to your heart’s content… SWPM is licensed as Open Source code (but not the Premium Addons). The issue is that you’d “rather not” make changes directly to the views/add.php file. Unfortunately, aside from the CSS and DIV classes contained within that file; the structural layout is hard coded, using HTML tables. You are going to have to directly edit the file.
September 30, 2018 at 10:07 am #16558Creatium
ParticipantI just thought that there is a way to edit form without changing the original file, like template 🙂 Anyway, thanks for your time.
September 30, 2018 at 2:02 pm #16559Creatium
ParticipantJust bought Form Builder addon. Appears that it has the functionality of adding custom CSS classes and other styling options, so that’s is more or less what I needed.
October 1, 2018 at 1:51 am #16560mbrsolution
ModeratorI am glad to know that the Form Builder will help you.
Enjoy the plugin and addon 😉
March 21, 2024 at 9:18 pm #27831Werewolf ATL
ParticipantI am seeing this forum and not sure if there was ever an answer about the add.php page not showing the customizations to the CSS and HTML/PHP when it was uploaded to a child theme folder. I have downloaded it and attempted to add it to my child folder just like the login.php. But the site isn’t displaying that version of the add.php over the standard one that comes with the plugin. How do I get it to pick the custom one and not the base one?
Also, I see there is an add-v2.php that is designed differently. What is the short code to display that version instead of the other? Same for edit-v2.php.
-
AuthorPosts
- You must be logged in to reply to this topic.