I was asked about adding extra pages to your websites, so I thought I would reply here.
There are a couple of ways that I am aware of to get extra pages.I know this is cheeky askign via PM for help but in your infinite wisdom can you remember a link to a tutorial or post describing how to add extra pages into IM.
I am attempting to use coppermine instead of the included gallery as to be honest the included gallery is "crap".
I have coppermine installed and using the existing members database...coppermine actually does all this for you with ease. However now i need to have it display with all the headers and footers from IM.
In joomla and other cms systems there is a "wrapper" option for such things but unless I am missing somethign obvious IM has nothing like this.
1) Use the KB Here http://integramod.com/forum/kb.php?mode=article&k=5 then you can use and iframe with the code
- Code: Select all
<IFRAME name=COPPER src=http] or a better option would be to use Dynamic Drive. In In overall_header.tpl add[code]<Dynamic><script> /************************************************ IFrame SSI script II- Ãà ¢Ã¢â€š ¬Ã… ¡ÃƒÆ’‚ © Dynamic Drive DHTML code library (http]height://Separate[/url] each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:var iframeids=["projects"] //Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):var iframehide="yes" var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers function resizeCaller() {var dyniframe=new Array()for (i=0; i<iframeids.length; i++){if (document.getElementById)resizeIframe(iframeids[i])//reveal iframe for lower end browsers? (see var above):if ((document.all || document.getElementById) && iframehide=="no"){var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])tempobj.style.display="block"}}} function resizeIframe(frameid){var currentfr=document.getElementById(frameid)if (currentfr && !window.opera){currentfr.style.display="block"if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntaxcurrentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight;else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntaxcurrentfr.height = currentfr.Document.body.scrollHeight;if (currentfr.addEventListener)currentfr.addEventListener("load", readjustIframe, false)else if (currentfr.attachEvent){currentfr.detachEvent("onload", readjustIframe) // Bug fix linecurrentfr.attachEvent("onload", readjustIframe)}}} function readjustIframe(loadevt) {var crossevt=(window.event)? event : loadevtvar iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElementif (iframeroot)resizeIframe(iframeroot.id);} function loadintoIframe(iframeid, url){if (document.getElementById)document.getElementById(iframeid).src=url} if (window.addEventListener)window.addEventListener("load", resizeCaller, false)else if (window.attachEvent)window.attachEvent("onload", resizeCaller)elsewindow.onload=resizeCaller </script><Dynamic>
2) instead of using IMPortal pages, you couls make your own with Blank Page Template - http://www.phpbb.com/phpBB/viewtopic.php?t=142506
I hope these help. Furthermore. The problem with framse of any sort is that you fo not transfer the styles into the site you view through them.
A