Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-27 00:15:06

Crash Override
New Member
Registered: 2005-12-26
Posts: 3

Displaying Textpattern within a frame

I have noticed that when trying to display Textpattern within a frame with 100% width, Internet Explorer enforces a scroll bar along the bottom of the frame even when it is seemingly unneccessary.

I have tried modifying the template and stylesheet but the scrollbar still persists.

Does anyone have any ideas as to how to remove this minor nuisance?

Offline

#2 2005-12-27 00:38:48

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Displaying Textpattern within a frame

Just to be curious, in the name of all things holy, why would you do a thing like that ?

Offline

#3 2005-12-27 01:10:00

Crash Override
New Member
Registered: 2005-12-26
Posts: 3

Re: Displaying Textpattern within a frame

…Because I want a menu bar at the top of the browser that leads instantly to all key areas of my site.

The site is composed of Textpattern-CMS, a Gallery and a Forum etc.. I want the menu bar to be visible and identical in all points of the site without having to constantly edit the PHP of all 3 pieces of software every time I choose to edit the menu.

So, any ideas?

Last edited by Crash Override (2005-12-27 01:18:27)

Offline

#4 2005-12-27 02:04:37

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Displaying Textpattern within a frame

Yep, use PHP or Apache’s Server Side Includes to remotely or locally include the menu you want.

Offline

#5 2005-12-27 02:10:34

reid
Member
From: Atlanta, Ga.
Registered: 2004-04-04
Posts: 224
Website

Re: Displaying Textpattern within a frame

> Crash Override wrote:

> …The site is composed of Textpattern-CMS, a Gallery and a Forum etc.. I want the menu bar to be visible and identical in all points of the site without having to constantly edit the PHP of all 3 pieces of software every time I choose to edit the menu.

Create a file on your site somewhere (like maybe within a folder named “includes”) and call it header.html. In that file, place only the code for your header and menu bar. In each place in your 3 apps’ templates that there’s a header, replace it with a PHP include to call that common header.

I don’t know about your other apps, but you can customize the templates in Textpattern so that they will look like most any other part of your site. That would be a better solution than frames.


TextPattern user since 04/04/04

Offline

#6 2005-12-27 02:46:38

Crash Override
New Member
Registered: 2005-12-26
Posts: 3

Re: Displaying Textpattern within a frame

I hadn’t thought of that at all. This is much trendier and modern, well done.

Thank you both very much. …I’m enjoying trying this out.

Offline

#7 2005-12-27 03:50:11

edburdo
Member
Registered: 2004-09-20
Posts: 79
Website

Re: Displaying Textpattern within a frame

>> This is much trendier and modern, well done.

And much nicer for visitors and search engines too! :)


Eric

Offline

Board footer

Powered by FluxBB