Question

Photo of Dillan Cagnetta

0

Copy Block and change a few things

Hi all, i would like to copy the ACCOUNT ENTRY block but remove the inputs for GENDER and BIRTHDAY

I have a new site and we dont require this info at registration so i need to make a copy of the registration block

Can anyone please advice how to do this please.

 

Thanks

  • Photo of Ken Roach

    0

    Hi Dillan.  Have you worked through these two books?  http://www.rockrms.com/Rock/Developer

    You will be copying the block files (_.ascx and _.ascx.cs) and putting them into your Plugins/YourDomain/YourProject directory.  Then you can delete those attributes from the Block _.ascx.cs file.