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

Can I render it outside the body? #214

Open
josuevalrob opened this issue May 25, 2018 · 1 comment
Open

Can I render it outside the body? #214

josuevalrob opened this issue May 25, 2018 · 1 comment

Comments

@josuevalrob
Copy link

Hi, I made this question in the PKP forum

Is it possible to add a div inside the body and render all the content in that div?

how?

thanks!

@gnott
Copy link
Member

gnott commented May 29, 2018

I imagine yes, if in https://github.com/elifesciences/lens/blob/develop/reader/lens_view.js the $('body') selectors are changed, and in the HTML template you use it has the particular <div> tag you added. I didn't test it but it would probably work. I'm not entirely sure how PKP has connected it, or if you would be able to substitute it there.

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