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
5
votes
1answer
4k 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 ...
4
votes
1answer
872 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 ...
3
votes
1answer
160 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 ...
3
votes
4answers
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 ...
3
votes
2answers
669 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: &...
3
votes
1answer
528 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 ...
2
votes
1answer
497 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 ...
2
votes
1answer
540 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 ...
2
votes
2answers
836 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 ...
2
votes
1answer
580 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 ...
2
votes
1answer
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 ...
2
votes
0answers
157 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'; $...
2
votes
1answer
263 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 ...
1
vote
2answers
503 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 ...
1
vote
3answers
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?
1
vote
1answer
90 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
2answers
51 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 ...
1
vote
1answer
79 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
1answer
142 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 ...
1
vote
1answer
703 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
0answers
28 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
0answers
390 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">...
1
vote
0answers
53 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: $...
0
votes
1answer
71 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
1answer
30 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
1answer
62 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
0answers
244 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 ...
0
votes
0answers
248 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 ...
0
votes
1answer
96 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 ...
0
votes
2answers
506 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
0answers
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 ...