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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,856
  • Total Topics: 21,292
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 829
  • Total: 829

Menu Link display in the "main table"

Started by EG, August 09, 2006, 11:10:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EG

sorry, found that hard to describe.

Im just setting up TP and have started adding to Menu items. 

My site currently has a "front end" of "information pages" and a link on the front page through tot hte forum.  I wanted to use TP to integrate the two.

So, I set up the menu items, and put the links from the menu to the pages we;ve already created, but what I cant get it to do, is to display those pages  withing the "framework" of the TP, i.e in the middle, with the left and right bars etc still remining.  It seems, it goes totally over to the URL link, or opens the URL link in a new page.

Is it possible, to get the link to open up within the framework... i.e where the forum would normally display ?

(I see I could do this by creating php articles... but since the pages are already there, it would make sense to just sort the display options thing out)

(p.s.... very impressed so far!)

IchBin

You can't have them included into the TP/SMF pages unless you include them in articles or blocks. That is what TP uses to display things. You can do it via HTML with an I-frame or PHP with the include(); statement.

EG

#2
OH yeah!  I see now!

the good old include function!  thanks :)

Nokonium

I have transfered html pages into articles on my South Gwent Ramblers site (see sig). Paste in everything between the <body> tags and work from there.

EG

yeah.  I thought about doing that... was just trying to save some time.... the include function works quite well, tho will have to twiddle perhaps with the header info on the orig files....


patme

I have same problem. Does anyone can give me an example of this include(); ? Lets say I have blahblah.htm nor http://www.blah.com and want to have it opened on frontpage when someone click on the menu link.

IchBin


patme

Thanks, almost working :)

Its loading my xxxx.htm file but all graphics, background etc. is gone and links on this page not working at all. Anything else should I include?

IchBin

If you can tell me what you're actually trying to do I could probably tell you lol. Are you talking about the file that you include the graphics links and stuff are not working? Have a link?

patme

#9
Ok. Lets say it differently:

I'd like to have a working google site on my TP frontpage accessible thru menulink. So I think fronpage should be working like a new frame or sth with this google site.

Edit:

I think I found the way:

echo'
<iframe src="http://www.google.com" height="350" width="100%" Scrolling="yes"></iframe>';


or maybe there is better way?

This website is proudly hosted on Crocweb Cloud Website Hosting.