TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,991
  • Total Topics: 21,323
  • Online today: 545
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 285
  • Total: 286
  • @rjen

wondering if this is possible?

Started by elliel, September 13, 2006, 10:53:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

elliel

I was on TP then converted to joomla and now due to the myriad of problems with joomla I am now considering TP again.

But there are a few nice things that we use on joomla and I wondered if they would be possible using tiny portal.

One thing we use a lot is a joomla 'bot' that enables you to display external webpages within your site framework

So for example if you take your content module on the side (I hope I explain this clearly) and you put in something like 'Google' if the members then clicked on that link, the Google page would open here surrounded by the rest of THIS site, so you would still see the bloczone header, tabs etc on the top and all the modules down the side but in the middle here, would be the google page which you can use without leaving this site

Also you set this up in the joomla backend where you add 'static content' they call it.  So you put in the URL of the external site as eg

{wrap url="http://www.google.com/" width="100%" height="1200"}

but also above this url you can put your own text,  so it could be displayed like this:


Dear Members,

Here is a link to our favourite movie website.  If you want to discuss this movie, please post in this thread  (LINK TO THREAD ON FORUM IS HERE)

[ movie website is fully displayed underneath using that wrap text]


It's really very useful and we use it a lot.  I don't know much about coding but I wondered if someone who does, might know how to do it.

We do this with all kinds of sites, its really very useful, but I dont know how to begin to do it myself

any ideas?

akulion

you can do the same by using an IFrame in TP

Simply create a center block with an I Frame displaying some content

Be sure to give the IFrame a name

Then create a link in the side menu calling the Iframe by name with the link you want and it will change the content in the center without having to refresh the page :)

for more on IFrames refer to www.webmonkey.com (search for IFrames) the are simple to use and get the job done

elliel

ah ok, so its a centre block with the iframe code, and that will display the full external webpage so that it looks like its inside your site?

that would be excellent, and save me some headaches  *stupid joomla*

akulion

for that to 'auto fit' you will need some more thingies in the iframe



<iframe id="MYFRAME" src="MYPAGE.HTML" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>



something like above...it will auto resize to fit the content in automatically

elliel

excellent, thank you so much

my plan is to set it all up on my testforum first so we can play with it all for a bit, then all being ok, we will do the same on the main site and goodbye joomla
:)

akulion

u might also wana check this out it can easily be used with TP

http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

and my apologies i gave u the wrong code in the 2nd post of mine for auto resize


please check this page http://www.dynamicdrive.com/dynamicindex17/dowiframe2.htm

it contains the auto resizing script for iframes :)

elliel

I have tried to do this but its not working.  I set up a centre block but I cant create a link to it because it doesnt have a url?

The page is not displaying in the centre block anyway lol but I thought I would worry about that later and get the linking set up first

Also I want this 'page' to only be accessible from the link in the content box so that would mean that the centre block would have to be hidden? and I cant see where to do that

akulion

the trick is to call it by name

like in the iframe u specify <iframe id="MYFRAME"

so in the link you specify <a href="URL" target="MYFRAME">

elliel

Quote from: akulion on September 13, 2006, 10:42:42 PM
the trick is to call it by name

like in the iframe u specify <iframe id="MYFRAME"

so in the link you specify <a href="URL" target="MYFRAME">

I put that in but it just disappears and says <a href
after I save it.

I think I'm missing something but it will have to wait till morning as I have an early start tomorrow :(

Lesmond

You could do this in a article with the Dynamic Drive Auto resize iframe, then it would be easy to link to that page

This website is proudly hosted on Crocweb Cloud Website Hosting.