Skip to main content

Questions tagged [modal]

A modal is a dialog popup window that is displayed on top of the current page.

Filter by
Sorted by
Tagged with
2 votes
1 answer
315 views

Create record from modal edit form

Is there a standard Joomla mechanism / development pattern for creating a modal edit form to create an item from within another item? I've used this tutorial to create a modal list view, where you ...
0 votes
2 answers
564 views

How to style a page inside s-box popup

After an update of few components and Joomla some of front-end users noticed that when inside article's creation clicking on "Introduction image" shows a modal (/index.php?option=com_media&view=...
0 votes
1 answer
74 views

Link to article in module

Good day. There is a custom field in my module mod_expandAjaxReq.xml <fieldset name="basic" addfieldpath="/modules/mod_expandajaxreq/models/fields"> <field name="...
0 votes
1 answer
209 views

Button in the Joomla Toolbar should open a Modal Confirm Window

I work on a Joomla Site View for my component with content which can be unlocked via points. In this thread I fixed my controller problem already, so now I have a simple button, and if I press it, the ...
0 votes
1 answer
89 views

Loading a JS file with web asset manager for Bootstrap modal

I'm loading a Bootstrap modal file in HtmlView.php and then a js file to manage it with the following schema: joomla.asset.json ... "assets": [ { "name": "almacen....
2 votes
1 answer
135 views

How to initialize joomla modal through js

I'm customizing a view in my component, I have tabs, each tab contains a modal, but when adding a new tab using js, I don't know how to initialize the new tab's modal via js?
1 vote
0 answers
71 views

How to preserve hyperlinks in Joomla4 when using enqueueMessage()?

How can I add a hyperlink in an error message in Joomla4? I used hyperlinks in enqueueMessage text in joomla 3.x without any problems. Now I'm using Joomla 4.x and it removes the hyperlink -- it ...
1 vote
1 answer
266 views

Use Text-Editor in UIkit Modal (Module Backend)

For a new Project i would like to have an editor instance inside a modal popup (click on an object to add / edit details). I have my Custom Field that loads an editor like so: $editor = JEditor::...
1 vote
2 answers
278 views

Is it possible to open a lightbox in Joomla 3.9 from an external link inside an Epub?

I'm a writer. I'm creating an enhanced Epub novel with Sigil. Within the novel, I display small size pictures. For each picture, I want the reader to click on the legend below the picture that will ...
3 votes
0 answers
797 views

JHtml::_('bootstrap.renderModal',,,); Joomla Bootstrap List of all parameters that can be used?

First I want to thank @Lodder and @Irfan for the below code which helped out a lot. The code below will create a button that launches a native Joomla Bootstrap modal. $modalTitle = 'myModal'; $...
1 vote
1 answer
260 views

How to disable close modal box when click background?

I use Joomla modal to popup an internal link. JHTML::_('behavior.modal'); <a class="modal" href="contact-us.html" rel="{size: {x: 480, y: 500}, handler:'iframe'}">...
1 vote
0 answers
716 views

Joomla 4 alpha display modal with insert image button

I am developing a custom module in Joomla4 alpha, using a bootstrap rendered modal window so that the user of the component will assign images from media in the Joomla back end to the extension ...
2 votes
2 answers
1k views

Login menu item as modal

Is there any way of opening the "login" menu item as a modal box? This would allow the user to stay on the same page after logging in. I don't want 3rd party extensions as they tend to crack with ...
3 votes
1 answer
568 views

Subform inside modal

I am using subform form field type inside my plugin parameters (I am reusing a form in several places of my plugin parameters, with success). What I really need to manage is to use each subform ...
0 votes
0 answers
352 views

Why can't I use a modal close button in the Joomla! modal body?

I have managed to get front end editing opening in a modal. Which is pretty useful in my opinion. However the cancel button is irrelevant in this situation. In the normal operation it cancels ...
5 votes
1 answer
5k views

Click on custom button opens modal window

I've got some custom buttons in my Joomla component and I want them to open in a modal window like with the batch button in the com_content component. Anyone has got any idea on how to do it? Thank ...
2 votes
1 answer
593 views

Reload admin form after save field in database

In a custom component I need the user in the edit view of an item to be able to load a field in the editor field through modal and ajax. The case is the user can fill an editor field from a text ...
0 votes
1 answer
129 views

How can I pass a value from a field in a modal to a processing script using SEBLOD?

I have a button in a list & search form that when clicked displays a modal where the user can select an item from a dropdown and click another button to call a processing script. The user can ...
1 vote
3 answers
1k views

I need extension to create popup

I'd like some advice. which extension is recommended for anyone needing to open an html page in a pop-up after clicking on an image?
2 votes
1 answer
617 views

Template Modal Conflict

Joomla 3.6.5 Joomshaper Helix 3 Template link FavimageHover Module link I have the FavimageHover module installed on my site, it works great until I try and add images via the front-end. There seems ...
1 vote
0 answers
417 views

Modal rendering issue

I am using the following code to render a Modal window in Joomla! 3.6.5, inside administration: echo '<a href="#modal-test-modal" role="button" class="btn btn-success" data-toggle="modal">...
0 votes
1 answer
75 views

ReferenceError: openMyModalNew is not defined error in Ijoomla Guru 5 [closed]

Little time ago I install Ijoomla Guru 5 and only now I realize that tutorials not opening in modal window. I get error ReferenceError: openMyModalNew is not defined. As right now I haven't access to ...
0 votes
0 answers
25 views

Explain Different Dialog Appearances?

I'm having a problem with a modal dialog. It's not displaying consistently, and I'm not understanding the issue. If you go to this page: http://joomla.connectdaily.com/index.php/calendar click on ...
1 vote
0 answers
58 views

How to use handler: 'string' in joomla modals

Im looking for some examples of how to use {handler: 'string' ...} for joomla modals, as used in editors-xtd buttons plugins $button->options = '{handler: 'iframe' ......}'; but I want to use: $...
2 votes
1 answer
1k views

Joomla 3: display view with toolbar in modal

I'm developing an MVC component for Joomla 3.x with currently 3 views: VIEWS |-PAGES (displays all pages in a list, ordinary joomla view) |-view.html.php |-TMPL |-default.php |-PAGE (forms ...
3 votes
4 answers
3k views

JForm in modal window

I create a modal window when clicking on a custom toolbar button, like I was explained here and now the doubt I have is on how to create the JForm for this modal window, because they should submit ...
4 votes
1 answer
933 views

How can I make a modal menu item?

I would like to make a Menu item for a contact form. I would like to either make a modal calling whatever contains the form (component/module/article) or opening it as a submenu, like in yootheme ...
1 vote
1 answer
152 views

JEvents Frontend 'Download as iCal file' not working

My site here: http://aycliffe.kent.sch.uk/icalrepeat.detail/2015/09/18/351/newspaper-with-mr-durrant I am unable to use the button 'Download as iCal file' the modal window appears but then goes again ...
3 votes
1 answer
169 views

I would like to add more custom batch widget, so how to set custom html helpers to the JHtml class

I know I will have to update the model $batch_commands array and also add the new methods/commands I want to run beyond the normal. But this questions main focus is to add more fields/widgets the ...
1 vote
1 answer
739 views

load iframe without session inside administration

I have inserted a button in a system plugin that will open an iframe in a modal window. The iframe content is administration login page. The issue is if I am logged in administration, the iframe also ...
1 vote
2 answers
526 views

Loading component only in fancybox window

I have setup fancybox2 in my joomla3 site. It is working, but I need to display only the component area inside the window when a link is clicked. Is there a way of doing this? My fancybox js ...
2 votes
1 answer
532 views

How can I prevent Joomla from loading template.css when opening a page in a modal

I am using the Membership Pro plugin on a page, and there is a link to a terms and conditions page that comes from the plugin. I am opening this link in a bootstrap modal which is working great. The ...
3 votes
2 answers
691 views

Joomla Modal Field Redirect

I have created a upload modal field to upload content into the images directory and it all works perfectly fine, except the redirect after the upload. This is the upload Form in the modal window: &...