- Posts: 26
- Thank you received: 0
Suppress title on Individual Registration form?
- Paul Seyler
- Topic Author
- Offline
- Junior Member
-
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
You will have to edit PHP files to achieve this... Both files you need to edit are located in /components/com_eventbooking/view/register/tmpl/
For the individual registration form, search for and remove the following line from default.php :
For the group registration, search for and remove this line from group.php :
For both edited files, SAVE-AS to /templates/YOUR-TEMPLATE/html/com_eventbooking/register/ to save it as a template override (create the folders are required).
Method 2
You *COULD* also hide these 2 page headings using CSS instead of editing PHP code (not as professional as removing the unwanted code, but it works!)
To do this using CSS *INSTEAD* of editing the PHP files, open /media/com_eventbooking/assets/css/custom.css and add the following line to the end of the file:
Both options (PHP saved as a template override, or CSS) will be upgrade-safe.
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Paul Seyler
- Topic Author
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 0
Paul
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Paul Seyler
- Topic Author
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 0
matthewsenvironmentalsolutions.com/us/cl...ividual-registration
Suppressing the title allowed me to move it below the logo. You can see the extra white space above the logo where the old title *would* have been. My next challenge is to pretty up the form below from the default single-column layout, but I'm afraid it's beyond my very limited CSS skills. Want to put some related fields beside each other (First Name/Last Name, City/State/Country, etc.) It may be beyond what I can get from this forum.
Thanks again for your help.
Paul
Please Log in or Create an account to join the conversation.
- Donal
- Offline
- Elite Member
-
- Posts: 240
- Thank you received: 17
James Riley wrote: Method 1:
For the group registration, search for and remove this line from group.php :.Code:<h1 class="eb-page-title"><?php echo $headerText; ?></h1>
For both edited files, SAVE-AS to /templates/YOUR-TEMPLATE/html/com_eventbooking/register/tmpl/ to save it as a template override (create the folders are required).
Hi James,
thanks for the useful info above. I have used it to override the shopping cart registration page layout.
1 thing I noted, which I thought should be mentioned, is that the override path I needed to use was /templates/YOUR-TEMPLATE/html/com_eventbooking/register/
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Tuan
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
Thanks for the note on the template manager, Tuan!Just want to mention that you can create template override using Joomla template manager docs.joomla.org/J3.x:How_to_use_the_Temp...r#Creating_Overrides
The one reason that I often go the CSS route myself is that it is a bit more version-proof. With template overrides and an extension that is updated regularly, you run the risk of new features not working or occasionally the extension breaking because the new code that the developer has added is being overridden by the old template override. Most the time, however, there is no problem with overriding. CSS can also be a bit less intimidating for the non-coding user. The downfall is that PHP is still processing the content, the content is still appearing in the HTML code anyways, if the user's browser doesn't support CSS (boy would our modern websites all be in big trouble!) then they see the content even though it is supposed to be hidden, and that you are likely having to make another file call for the CSS file.
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
Donal Lyne wrote: 1 thing I noted, which I thought should be mentioned, is that the override path I needed to use was /templates/YOUR-TEMPLATE/html/com_eventbooking/register/
Oops! Thanks for pointing that out Donal. I will modify the original post so that I don't accidentally lead others astray!
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
Paul Seyler wrote: Suppressing the title allowed me to move it below the logo. You can see the extra white space above the logo where the old title *would* have been. My next challenge is to pretty up the form below from the default single-column layout, but I'm afraid it's beyond my very limited CSS skills. Want to put some related fields beside each other (First Name/Last Name, City/State/Country, etc.) It may be beyond what I can get from this forum.
The spacing is actually part of your template and is present site-wide.
I did some checking on other pages, and I think that your site might actually look better throughout if you eliminate the padding-top site-wide. If your template provides a CSS override or customization, add:
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.