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

Popup Window with Blade Template Contents #40

Open
Marius0188 opened this issue Dec 1, 2014 · 1 comment
Open

Popup Window with Blade Template Contents #40

Marius0188 opened this issue Dec 1, 2014 · 1 comment

Comments

@Marius0188
Copy link

Hi there,

Is it possible to popup a Laravel 4 blade template view?
I have looked at:
$('element_to_pop_up').bPopup({
contentContainer:'.content',
loadUrl: 'test.html' //Uses jQuery.load()
});
but not sure why having the "element_to_popup" selector?
I do not want to popup the element contents. But an true external blade template view.

If I may give an example by means of pseudo code:
function showCreateCarsWindows() {
$().popup({
url: '/views/cars/create.blade.php
}).onClose(function({
//get the new carid (PK) that was inserted and select it in my select list (dropdown) as default
});
}

Please advise :)

Thanks in advance

@dinbror
Copy link
Owner

dinbror commented Nov 11, 2015

Hey @Marius0188
Sorry for the really really really late response :(
Thats not possible at the moment. You have at least to have a placeholder like ('element_to_pop_up') but more people have requested the feature. Will try to implement it in next release

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

No branches or pull requests

2 participants