(1)
a. Remove the \"Your total Registration cost: ... \" from the main registration page. The previous post does not work. I have searched my dtregister.php file for all occurrences of TOTAL_REGISTRATION_COST and have marked the areas like this:
<!-- <tr>
.... (code) ....
</tr> -->
Is this the correct way to \"comment out\" PHP?
b. How can I edit the font color of \"Your total registration cost: ..\" ? (This was what I wanted to do before I wanted to remove it. I couldn\'t figure this out either. I\'d like to know for future use).
(2) How can I edit the spacing between Custom Fields? Right now my form looks too clustered and I would like to add space or <br> in certain areas. Is this possible?
1) The way you are commenting is for HTML. You will also need to comment the PHP inside of the HTML you already commented. To comment out PHP code, you use // in front of each line you want to disable. Or, you can put a /* in front of a section of PHP and all lines below it will be commented out until you close it with */
2) Modify styling in the main.css file here:
/components/com_dtregister/main.css
For form fields, you\'ll find this in the CSS file:
You can modify this to style the field label and spacing of that table cell. Changing the padding here will put more space in between your form fields.
I still can\'t figure out how to remove the Total Registration Cost line from the main Registration page because I can\'t figure out exactly where or how to comment out the lines.
Can you please show me where to edit the code properly so that the Total Registration cost line does not show?
I don\'t even think this is the correct code to be editing as I deleted this whole area of code and the text on the registration page is still there. The beginning of this code is line 10421 in dtregister.php for v2.4. Can you tell me on what line I should be editing?
Well, there are multiple places in the file to modify for this. Easier than commenting out, you can change a parameter. It is set to only show the cost line if the amount is greater than zero. Try just changing this to LESS than zero, which will never be the case, so this line will not ever show.