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 js / ajax #841

Closed
daveed opened this issue Nov 18, 2013 · 2 comments
Closed

Modal js / ajax #841

daveed opened this issue Nov 18, 2013 · 2 comments
Labels

Comments

@daveed
Copy link

daveed commented Nov 18, 2013

Hi,

I would like to know what is the best practice to display modals in Locomotive?
Hide modal contents in the DOM and display on click?
Is there a way to dynamically load the content of each modal which I know how to do but in Locomotive there is no controller/action where I can point to.

Thanks

@did
Copy link
Member

did commented Nov 21, 2013

hi @daveed!

An example here to display a modal: https://github.com/locomotivecms/engine/blob/master/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee

What kind of content do you want to display in your modal?

@did
Copy link
Member

did commented Oct 19, 2015

Locomotive v3 uses now Bootstrap for the UI/UX which makes easy to add modal, style elements in the back-office.

@did did closed this as completed Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants