- Posts: 37
- Thank you received: 0
Change position of the checkboxs for the GDPR part of the registration form
- Cosmin Circu
-
Topic Author
- Offline
- Junior Member
-
Less
More
6 years 11 months ago #113489
by Cosmin Circu
Change position of the checkboxs for the GDPR part of the registration form was created by Cosmin Circu
Hi there
How can I change the position of the checkboxes from right to left or from left to right of the text in the GDPR part of the registration form? I have all 3 active: mail, privacy and T&C active but 2 checkboxes are on the left of the text and 1 on the right of the text....
Kind regards
Cosmin
How can I change the position of the checkboxes from right to left or from left to right of the text in the GDPR part of the registration form? I have all 3 active: mail, privacy and T&C active but 2 checkboxes are on the left of the text and 1 on the right of the text....
Kind regards
Cosmin
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #113501
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change position of the checkboxs for the GDPR part of the registration form
Hi Cosmin
If you want to change it, you will need to customize the code. The file which you need to customize is components/com_osmembership/view/register/tmpl/default_gdpr.php
Take a look at it and try to change it to meet your need
Regards,
Tuan
If you want to change it, you will need to customize the code. The file which you need to customize is components/com_osmembership/view/register/tmpl/default_gdpr.php
Take a look at it and try to change it to meet your need
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Cosmin Circu
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
6 years 11 months ago #113547
by Cosmin Circu
Replied by Cosmin Circu on topic Change position of the checkboxs for the GDPR part of the registration form
Hi Tuan
Thank you for the reply.
I`ve identified the elements in the indicated php file, played around, but the css part is time-consuming to work on, at this stage anyway. I will have to take it as it is for now. I`m still in the learning curve of building my website and prefer to concentrate on other aspects.
Maybe, for the future, you guys could continue the great job you`ve started, and implement some sort of easy way to move elements around in the forms/views. While the current setup might be advantageous for the more advanced users in css and php, I don`t think it helps guys like me ... working on a small project after work.
Kind regards
Cosmin
Thank you for the reply.
I`ve identified the elements in the indicated php file, played around, but the css part is time-consuming to work on, at this stage anyway. I will have to take it as it is for now. I`m still in the learning curve of building my website and prefer to concentrate on other aspects.
Maybe, for the future, you guys could continue the great job you`ve started, and implement some sort of easy way to move elements around in the forms/views. While the current setup might be advantageous for the more advanced users in css and php, I don`t think it helps guys like me ... working on a small project after work.
Kind regards
Cosmin
Please Log in or Create an account to join the conversation.
- Sven Mitscherlich
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 3
6 years 11 months ago #113552
by Sven Mitscherlich
Replied by Sven Mitscherlich on topic Change position of the checkboxs for the GDPR part of the registration form
Hi there,
I think the div's and classes are a bit cluttered up. It should be fixed in the release of Membership Pro!!
I did the necessary changes by myself in the following files:
components/com_osmembership/view/register/tmpl/default_gdpr.php
components/com_osmembership/view/register/tmpl/default_terms_and conditions.php
Change default_gdpr.php in the lower part as follows:
Change default_terms_and conditions.php in the lower part as follows:
Hope this helps somebody to fix this annoying issue.
... And keep up this great work and piece of software!
Greets from Germany
Sven
I think the div's and classes are a bit cluttered up. It should be fixed in the release of Membership Pro!!
I did the necessary changes by myself in the following files:
components/com_osmembership/view/register/tmpl/default_gdpr.php
components/com_osmembership/view/register/tmpl/default_terms_and conditions.php
Change default_gdpr.php in the lower part as follows:
Code:
(...)
if ($this->config->show_subscribe_newsletter_checkbox)
{
?>
<div class="<?php echo $controlGroupClass; ?> osm-subscribe-to-newsletter-container">
<label class="<?php echo $controlLabelClass; ?> for="subscribe_to_newsletter">
<?php echo JText::_('OSM_JOIN_NEWSLETTER'); ?>
</label>
<div class="<?php echo $controlsClass ?>">
<input type="checkbox" name="subscribe_to_newsletter" id="subscribe_to_newsletter" value="1" class="osm_inputbox inputbox" />
</div>
</div>
<?php
}
Change default_terms_and conditions.php in the lower part as follows:
Code:
(...)
?>
<div class="<?php echo $controlGroupClass; ?> osm-terms-and-conditins-container">
<label class="<?php echo $controlLabelClass; ?> ">
<strong><?php echo JText::_('OSM_ACCEPT'); ?> <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($article->id, $article->catid).'&tmpl=component&format=html'); ?>" class="osm-modal" rel="{handler: 'iframe', size: {x: 700, y: 500}}"><?php echo JText::_('OSM_TERM_AND_CONDITION'); ?></a></strong>
</label>
<div class="<?php echo $controlsClass ?>">
<input type="checkbox" id="osm-accept-terms-conditions" name="accept_term" value="1" class="validate[required] osm_inputbox inputbox" />
</div>
</div>
<?php
}
Hope this helps somebody to fix this annoying issue.
... And keep up this great work and piece of software!
Greets from Germany
Sven
The following user(s) said Thank You: Cosmin Circu
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #113558
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change position of the checkboxs for the GDPR part of the registration form
Hi Sven
Maybe you can upload the modified file here to help in case someone needs it?
Thanks for sharing the code
Regards,
Tuan
Maybe you can upload the modified file here to help in case someone needs it?
Thanks for sharing the code
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Sven Mitscherlich
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 3
6 years 11 months ago #113591
by Sven Mitscherlich
Replied by Sven Mitscherlich on topic Change position of the checkboxs for the GDPR part of the registration form
Not possible ... LOL
tried attaching the files as txt files then submit button is disabled ...
And as inline text in Code brackets I get blocked by site Firewall because it suspects a SQL injection ...
Sometimes security is a pita ... LOL
Greets
Sven
tried attaching the files as txt files then submit button is disabled ...
And as inline text in Code brackets I get blocked by site Firewall because it suspects a SQL injection ...
Sometimes security is a pita ... LOL
Greets
Sven
Please Log in or Create an account to join the conversation.
- Sven Mitscherlich
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 3
6 years 11 months ago #113592
by Sven Mitscherlich
Replied by Sven Mitscherlich on topic Change position of the checkboxs for the GDPR part of the registration form
Last try as a zip Archive ... Keep fingers crossed ...
Seems to work ... LOL
Seems to work ... LOL
Attachments:
The following user(s) said Thank You: Tuan Pham Ngoc, Cosmin Circu
Please Log in or Create an account to join the conversation.
- Cosmin Circu
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
6 years 11 months ago #113597
by Cosmin Circu
Replied by Cosmin Circu on topic Change position of the checkboxs for the GDPR part of the registration form
Hi there guys
That is exceptional work, Sven! Done backup of the site and new files uploaded to the server ( at least I know how to do that
) and looks great. There is somehow more symmetry to it 
Thank you all for the great support.
Cosmin
That is exceptional work, Sven! Done backup of the site and new files uploaded to the server ( at least I know how to do that


Thank you all for the great support.
Cosmin
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #113603
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change position of the checkboxs for the GDPR part of the registration form
Thanks Sven. If there are other customers like the layout you made, I will look at it and steal your layout 
Tuan

Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
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.
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.