Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: cme1st2302 - maaliskuu 16, 2008, 12:45:35 AP

Otsikko: Forum tabs on another page
Kirjoitti: cme1st2302 - maaliskuu 16, 2008, 12:45:35 AP
I was wondering if I can copy the tabs like they are in the forum to another page (.shtml)

If so what files or code do I have to copy?

Chris
Otsikko: Re: Forum tabs on another page
Kirjoitti: metallica48423 - maaliskuu 16, 2008, 01:13:37 AP
have you looked into ssi.php?

http://www.simplemachines.org/community/index.php?topic=14906.0

in the main folder of your SMF install should exist two files.

ssi_examples.php
ssi_examples.shtml

Open them up in your browser :)

Otsikko: Re: Forum tabs on another page
Kirjoitti: cme1st2302 - maaliskuu 16, 2008, 01:23:25 AP
I will look into that, Thanks!!

I just have to say you are very prompt and informative with your answers.  It makes less knowledgable people like myself think there is hope after all.

By the way.....Do you ever sleep???

Chris
Otsikko: Re: Forum tabs on another page
Kirjoitti: metallica48423 - maaliskuu 16, 2008, 01:41:28 AP
According to my profile: no
http://www.simplemachines.org/community/index.php?action=profile;u=6160;sa=statPanel
Otsikko: Re: Forum tabs on another page
Kirjoitti: cme1st2302 - maaliskuu 18, 2008, 12:30:16 IP
I looked at the files you suggested on my site.  They show them in a list.  Is there a way to make them look exactly the same.
Otsikko: Re: Forum tabs on another page
Kirjoitti: Eliana Tamerin - maaliskuu 18, 2008, 12:32:13 IP
He sometimes sleeps from 2-11, but usually wakes up in 10 minute intervals between there to check on this site. :P
Otsikko: Re: Forum tabs on another page
Kirjoitti: metallica48423 - maaliskuu 18, 2008, 02:34:17 IP
what do you mean by it shows in a list?  the ssi_menu() function should show it styled and all

Eliana:  Sad, but True :P
Otsikko: Re: Forum tabs on another page
Kirjoitti: cme1st2302 - maaliskuu 19, 2008, 12:13:46 AP
They look exactly like they do here http://www.sjaaaa.com/Forum/ssi_examples.shtml (http://www.sjaaaa.com/Forum/ssi_examples.shtml)

I want them to look like they do here http://www.sjaaaa.com/Forum (http://www.sjaaaa.com/Forum)

Chris
Otsikko: Re: Forum tabs on another page
Kirjoitti: cme1st2302 - maaliskuu 21, 2008, 08:36:51 AP
Any idea why it would not show up styled?  Do you have anywhere I can look at to see what they should look like in the ssi_examples.shtml?

Thanks,
Chris
Otsikko: Re: Forum tabs on another page
Kirjoitti: metallica48423 - maaliskuu 21, 2008, 01:08:35 IP
i have an idea as to why, but i don't know what to do about it.

The way the menu was displayed changed, i think.   Since ssi_menu calls that, it may be the reason. 
Otsikko: Re: Forum tabs on another page
Kirjoitti: cme1st2302 - maaliskuu 21, 2008, 03:00:56 IP
Thanks again, haven't heard from you in a while....you catching up on sleep?

Anyway....is there a way to copy some code from the forum index.template.php to another page to create the same effect?
Otsikko: Re: Forum tabs on another page
Kirjoitti: metallica48423 - maaliskuu 22, 2008, 02:19:13 AP
well, you could always just copy the source HTML and be sure to include the CSS from SMF. (making sure to remove the class="current" or whichever from the one thats highlighted)