Can I make My dolphin 7.0.9 website accept iframes HTML?
Can I make My dolphin 7.0.9 website accept iframes HTML? |
from my understanding iframes have to be done one of 2 ways: You either have to manually put the iframe code into your database, or - which I prefer - use a php block and add ?> to the beginning of your code and <?php { } to the end of your code - like so:
>? <iframe .....rest of your iframe code> </iframe> <?php { }
Hope this makes sense. caredesign.net |
Just a bit of added information that I have not seen discussed when talking about the iframes. How about using a dynamic block instead of an iframe. Of course this would be depending on your personal preference and/or the functionality that you need. But I have started using the dynamic Blocks instead of the iframes and like using those better. plus, no worries about iframe codes not working properly.
I have added 2 images to show my usage of the dynamic Block. In image #1, there are a bunch of links. The section that says Progress Note is a php block. Clicking any of the links on the page will change the section that says "Progress Note" to the corresponding page. In my second image, that would be the display if clicking on the Triage link on the left. The url for the link is: <a href="page_name.php?variable=<?php echo $variable?>" class="top_members_menu" onclick="return !loadDynamicBlock(453, this.href);">Link Name</a> the number in red (453) is the number of the block that you want the page to display in. There are 2 ways to get the block number. Either find the block in your sys_page_compose table and it would be the id number of that block. or using an element inspector such as FireBug. Or the default one that firefox and chrome come with and see what the number of that block is. Looking at my third image, you can see the shaded area in the inspector which gives me the id of that block. Hope this makes sense. caredesign.net |
Where do you want to put an iframe; because where will dictate how. Geeks, making the world a better place |
Just a bit of added information that I have not seen discussed when talking about the iframes. How about using a dynamic block instead of an iframe. Of course this would be depending on your personal preference and/or the functionality that you need. But I have started using the dynamic Blocks instead of the iframes and like using those better. plus, no worries about iframe codes not working properly.
I have added 2 images to show my usage of the dynamic Block. In image #1, there are a bunch of links. The section that says Progress Note is a php block. Clicking any of the links on the page will change the section that says "Progress Note" to the corresponding page. In my second image, that would be the display if clicking on the Triage link on the left. The url for the link is: <a href="page_name.php?variable=<?php echo $variable?>" class="top_members_menu" onclick="return !loadDynamicBlock(453, this.href);">Link Name</a> the number in red (453) is the number of the block that you want the page to display in. There are 2 ways to get the block number. Either find the block in your sys_page_compose table and it would be the id number of that block. or using an element inspector such as FireBug. Or the default one that firefox and chrome come with and see what the number of that block is. Looking at my third image, you can see the shaded area in the inspector which gives me the id of that block. Hope this makes sense. Thanks for this bit of information, it might prove rather useful. Geeks, making the world a better place |
I was so happy to come across this. I have several pages from our old website and I was a little distressed at the thoin the new dolphin based site. With the dynamic block, I only have to redo the first page, and I can call the rest in the dynamic block as they are now. Saved me countless hours of work. One drawback for me though. If I have clicked a link which loads the page in the block, and for any reason I have to refresh, it reloads the original php block and does not remember that I clicked the link.For my current needs, this is something I can live with. caredesign.net |