Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: frodojrr - heinäkuu 08, 2007, 02:08:43 AP

Otsikko: Placed SMF inside my Template!
Kirjoitti: frodojrr - heinäkuu 08, 2007, 02:08:43 AP
I'm very proud of this.  I hacked around with the Template I chose, learned PHP on the fly, and placed my forum INSIDE my original template!

Please check http://www.pfrpc.com and go to the Turtle Forum!

http://www.pfrpc.com/forum/

Very nice, and it validates!  :)
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: metallica48423 - heinäkuu 08, 2007, 04:43:51 AP
Looks nice :)

Good job :D
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: L.G.S - heinäkuu 08, 2007, 02:14:35 IP
Its a stretch, but:

Could you say how you did this?
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: shadow82x - heinäkuu 08, 2007, 02:20:47 IP
Looks very nice and a light simple theme that fits right into your site. :)
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: frodojrr - marraskuu 04, 2007, 06:45:17 IP
I know it's been a long, long time since people posted on this topic.

Basically, here's all I did:

I placed my template inside index.template.php, and had to find the right places to do it via trial-and-error.  Then I placed the forum inside a DIV called forumwrapper.  That div only sets the width at 600 pixels and really does nothing else.

Is there a way I can lock that div at 600 pixels so it does not get any larger?   My layout breaks if the forum expands beyond 600px, and some people are linking photographs from other sites that are wider than 600 px, breaking my layout.
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: metallica48423 - marraskuu 04, 2007, 06:50:10 IP
tried the overflow attribute in CSS?  might have to google it though i don't remember what all the values are.

I know theres auto, scroll, and hidden though.
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: frodojrr - marraskuu 04, 2007, 06:56:11 IP
You're right.  I just thought of that.  Will try that.

Here's something odd.  When I view my page from my desktop in FF2.08, I see the forum inside my template.  When I use IE7, I see the site inside the default template.

Why would that be? 
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: frodojrr - marraskuu 04, 2007, 07:05:38 IP
BTW, the suggestion did work regarding the overflow.

overflow: hidden; fixed the problem on the page.  I'm sure some people will not be happy, but I worked too hard on the template.
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: metallica48423 - marraskuu 04, 2007, 07:29:01 IP
Thats interesting.  I'd make sure in the themes settings that your theme is defaulted and that everyone is reset to it (select it and submit the form regardless if both the boxes are set already)
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: frodojrr - marraskuu 04, 2007, 07:38:34 IP
That was it.  I reset everyone to "Classic Theme" and all seems consistent now.

Thanks.
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: metallica48423 - marraskuu 04, 2007, 07:58:07 IP
good to hear :)

Thanks :)
Otsikko: Re: Placed SMF inside my Template!
Kirjoitti: falguni1 - marraskuu 05, 2007, 12:30:26 AP
very good