TinyPortal

Development => Support => Topic started by: Olorin on November 10, 2007, 11:36:51 AM

Title: Just add header of SMF and left colomn of TP on a page
Post by: Olorin on November 10, 2007, 11:36:51 AM
Hello everyone,

I don't know if my title is very clear. In fact I would like to include the header of SMF and right colomn of TP on my links manager's pages. This manager has also an header file so I think I just have to "call" the SMF header and the left colomn of TP, but I don't know how to do :(
Probably I have to add someting in the footer file too...

This links manager is in a different folder of my website so maybe it's more complicated...

Thanks in advance for your help!
Title: Re: Just add header of SMF and left colomn of TP on a page
Post by: Zetan on November 10, 2007, 12:01:44 PM
Do you have TP installed?


And where are the "Links Page"? A separate html page, or a TP Article?


Never mind.. it's in a different folder.
You can't add parts of TinyPortal to other web pages.
You can add all of your links to a TP Article and use just a right or left panel from TP in that one Article.

You can also add the SMF menu to another page on your server.


[Edit] Do you have TP or SMF installed at all?
Title: Re: Just add header of SMF and left colomn of TP on a page
Post by: Crip on November 10, 2007, 12:20:47 PM
@ ZTN ;) :up:
Title: Re: Just add header of SMF and left colomn of TP on a page
Post by: Olorin on November 10, 2007, 12:30:22 PM
Sorry, yes I already use SMF with TP, and my links manager can't be simply add in a article I think (it's freeglobes (http://demo.freeglobes.net/)).

So as I said, I think I just need the code for calling the header of SMF and the left colomn of my TP and put them in the header file of my links manager.
But is it so simple?
Title: Re: Just add header of SMF and left colomn of TP on a page
Post by: Zetan on November 10, 2007, 01:12:36 PM
Well, here is an available list of which features you can add to other web pages on the same server.

http://yoursite.com/ssi_examples.php

and

http://yoursite.com/ssi_examples.shtml

Those are very basic fucntion calls. SMF is the best place to learn how to use SSI functions.


You cannot add parts of TP to other web pages. So, you'll either need to find a way to include that page in a TP Article, or forget it.

One way would be to use an iframe, it's a simple solution, but not necessarily the best.
Title: Re: Just add header of SMF and left colomn of TP on a page
Post by: Olorin on November 11, 2007, 01:57:18 PM
Ok, thanks a lot, I didn't know this ssi_example page! That will be useful.

So I think I will just add the SMF header in the header of my links manager, but I just see the ssi for calling the menu header, and apparently it's only from the basic theme, how can I call my customed header currently on my forum?

(sorry, so now my question concern only SMF, not TP ^^;)