Open remote page as modal view in bootstrap - django

I thought this is very simple think to do, but I can't found it on internet.
How could I open outside page ( like https://google.com/ ) as a modal view?
I don't want to:
Open page in new tab
Open page in new popup window like:
onClick="MyWindow=window.open('http://www.google.com','MyWindow',width=600,height=300)
Open my own pre-prepared page as described here
Is there a way to do this? It should be reight?

You can try to use iframe:
<iframe src="https://google.com"></iframe>

Related

How to customize django-rosetta admn page

Since when I open django-rosetta on the admin page by setting ROSETTA_SHOW_AT_ADMIN_PANEL = True in the settings file. I am able to open it on the admin page, but when it opens it takes full-page, and I am unable to go back to the homepage(as there is no button) except when I press the back button of the browser. Is there any solution for this, or do I have to override the rosetta home page?
eventually i have to override html page for this, no other option :(

How to Disable `back` and `forward` button of the browser window

In my applicaiton, I requried couple of things to be added.
No forward/Back Browser button should work for reach a hash.
Instead of brower back forward, there should be a back and forward button has to added in the applicaiton itself.
how to achive this both?
I am looking for a component to use globally for both 2 requriements.
Thanks in advance.
Disabling the native back/forward buttons of the browser in Ember.js is quite unusual but could possibly be achieved by using the NoneLocation class. To enable that open the config/environment.js file of your app and change the locationType property to none.
If you want to display back/forward buttons in your app you can use the History API and specifically window.history.back() and window.history.forward()

¿How to use routes inside a Modal in Emberjs?

sorry for my English. I will try to explain better I can.
I have an application in EmberJS, this application have its routes. Also, when I click in a button, I should show a Modal Window and change the route. That problem was resolved. The problem is. This modal window must to be a kindly of wizard, so when the user click on next, I should to change the route and show inside the modal the correct content, when the user click in next again, the route must to change again but the new content should be showed into the modal too.
The problem seems to be, ember takes my application outlet and show the new content inside that outlet, not inside of the outlet defined into the modal.
How I achieve this?

Continue’ button on checkout page in opencart does not works

Button "continue" on checkout page under delivery details doesn't work, but The ‘billing details’ continue button and other always seems to work. When click on the button, the waiting GIF is loaded and nothing happen.
This is because you do not have FancyBox. No dought you are using 1.5v and you are getting jQuery bugs. Check Firebug I am sure it will confirm. Just download and put Fancybox in.
1) Download FancyBox
(http://fancyapps.com/fancybox/#license)
2) Upload after extracting to:
www.yoursite.com/fancybox
(just leave it in the root or a CDN)
3) Open
opencart>catalog>view>theme>default>template>common>header.tpl
or if you have your javascript libraries in footer:
opencart>catalog>view>theme>default>template>common>footer.tpl
Add after common.js
<script type="text/javascript" src="/fancybox/jquery.fancybox.js?v=2.0.6"></script>

Help inserting iframe into Joomla 1.5.9

I've done some research and learned that for Joomla 1.5.9 to work with iframe tags you must set permissions in article manager > parameters > filtering groups to whitelist the super administrator, and then set user manager > select user > user editor to "Editor - No Editor". After doing this, then opening an article, opening the html editor and inserting the iframe like so:
<iframe src="http://thewebsite.tumblr.com/" width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>
The editor continues to strip out the iframe code. Why would this happen?! I'm sure all of the settings I've mentioned earlier are set according to the tutorials I've come across. Are there any factors I need to take into consideration that I'm missing? Is there another way to insert an iframe into a custom template?
I hope someone can help!!
Inside an Article you are best of using a plugin :
http://extensions.joomla.org/extensions/4144/details
it gives you the ability to insert an iframe by using e.g. {iframe width="90%" height="300" frameborder="1" scrolling="yes"}url{/iframe} also within the TinyMCEeditor.
If you don't need antyhing else inside the article you can use menu item/link. Internal Link - Wrapper
When the Wrapper link is selected, it expands to display the Wrapper layout. This is used to show an external web site inside a page in your web site, using an HTML IFrame. The external web site is contained inside the Wrapper. You can navigate to different pages in the wrapped web site, all inside the page of your web site.
http://docs.joomla.org/Help16:Menus_Menu_Item_Wrapper