PDA

View Full Version : HTML wrapper in 4.0 Widget


BizAdventure
02-26-2010, 02:48 AM
An HTML wrapper would be great to have as a widget for my CMS.

This would be very helpful. I have a php page which shows the number of users I have in chat. If I had a widget that I could just point to this page and have it rendered, then I could show on the front page of my CMS the persons who are in the chat room.

Otherwise I have no idea how to integrate a php page that also includes html code on it.

This would simplify things for a LOT of people.

Anyone up to it?

mslsystems
03-04-2010, 07:15 PM
Add a new static html widget and then add this code

<!-- Custom Code Start Here -->
<center>
<iframe src="http://www.google.co.uk" width="100%" height="950"></iframe></center>
<!-- / Custom Code Ends here -->
</body>
</html>

then add your widget to the page layout you want

BizAdventure
03-14-2010, 09:26 PM
Thx, I actually figured this out. The width part has to be defined or it will look messed up in IE8 (ie, it will extend past your width...I am using fixed width).