Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.modal class conflict in terms.php with Bootstrap #23267

Closed
sachieldvangel opened this issue Dec 11, 2018 · 3 comments
Closed

.modal class conflict in terms.php with Bootstrap #23267

sachieldvangel opened this issue Dec 11, 2018 · 3 comments

Comments

@sachieldvangel
Copy link

If you are submitting an issue for the Joomla! CMS, please submit it at https://github.com/joomla/joomla-cms/issues/new instead. You may remove this line from the issue template.

Steps to reproduce the issue

Use any template or otherwise incorporate Bootstrap into Joomla.
Enable the User - Terms and Conditions plugin.
Link an article to the Terms and Conditions plugin.
Attempt to register a new User via the frontend.
"Terms and Conditions" link will not be visible, only the "*" for required fields.

, and when a new user is registering, the link for the Terms & Conditions will not be visible because of the "display:none" and other issues with the .modal class.

Expected result

This line in the source uses a "modal" class on the link.

<a href="/index.php/component/content/article/12-club-docs/2-constitution-and-bylaws?tmpl=component&amp;Itemid=101" class="modal" rel="{handler: 'iframe', size: {x:800, y:500}}">Terms &amp; Conditions</a>

Bootstrap contains its own definition for .modal:
.modal { position:fixed; top:0; right:0; bottom:0; left:0; z-index:1050; display:none; overflow:hidden; outline:0 }

Actual result

The line only renders a "*" with no link to the complete terms and conditions.

System information (as much as possible)

Joomla 3.9.1
Helix Ultimate Template v 1.0.5
Bootstrap v4.1.3

Additional comments

Source of class definition is in /plugins/user/terms/field/terms.php:
line 106:
$attribs['class'] = 'modal';

@mbabker mbabker transferred this issue from joomla/jissues Dec 11, 2018
@ghost
Copy link

ghost commented Mar 4, 2019

can you please update on latest Version and use Default-Settings like Protostar?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23267.

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/23267

@ghost
Copy link

ghost commented Mar 16, 2019

Closed as no Answer; please reopen if needed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23267.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants