Search
Other Tabs & Accordions questions
Forum

Invalid Tabs&Accordians Modal ID

Alex Chartier's Avatar Alex Chartier
For some reason, T&A is rendering the <div> ID of the T&A button as Tabs&AccordionsModal The & is not a valid character in an ID.

Running J5.2.0, T&A 2.3.2PRO

Below is the markup being generated:
<div id="Tabs&amp;AccordionsModal" role="dialog" tabindex="-1" class="joomla-modal modal fade" data-url="http://localhost/index.php?rl_qp=1&amp;class=Plugin.EditorButton.TabsAccordions.Popup&amp;editor=term_cons_confirmation___content&amp;tmpl=component&amp;abc11ccb125551ccd2f429f6e3c1c649=1" data-iframe="<iframe class=&quot;iframe&quot; src=&quot;http://localhost/index.php?rl_qp=1&amp;class=Plugin.EditorButton.TabsAccordions.Popup&amp;editor=term_cons_confirmation___content&amp;tmpl=component&amp;abc11ccb125551ccd2f429f6e3c1c649=1&quot; name=&quot;Tabs &amp; Accordions&quot; title=&quot;Tabs &amp; Accordions&quot; height=&quot;1600px&quot; width=&quot;1200px&quot;></iframe>">
	<div class="modal-dialog modal-xl  jviewport-width80">
		<div class="modal-content">
			<div class="modal-header">
            <h3 class="modal-title">Tabs &amp; Accordions</h3>
                <button type="button" class="btn-close novalidate" data-bs-dismiss="modal" aria-label="Close">
        </button>
    </div>
<div class="modal-body jviewport-height70">
    </div>
<div class="modal-footer">
    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button></div>
		</div>
	</div>
</div>
Peter van Westen's Avatar Peter van Westen ADMIN
What editor are you using? Is this on the frontend or admin side?
Can you reproduce this with the Joomla default editor (TinyMCE) or with JCE?
Please post a rating at the Joomla! Extensions Directory
Alex Chartier's Avatar Alex Chartier
I am using JCE 2.9.61, I tried also CodeMirror with the same error. TinyMCE does not have the error. Front end. I do not get the error on the Admin side with JCE.
Peter van Westen's Avatar Peter van Westen ADMIN
On my J5 test sites, the button's html looks like:
<div id="jform_articletext_tabsaccordions_modal" role="dialog"...

I guess the issue you have is caused by your template.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription