Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-01 04:56:18

viae
New Member
Registered: 2005-12-01
Posts: 3

Styles not parsing: templates in frames?

I started out with a problem getting the index.php page to appear. See background:

http://forum.textdrive.com/viewtopic.php?id=7533

I just deleted the default .htaccess and set Textdrive to messy links. Now, however, the pages are not getting their style information. It appears that this is occuring because Textpattern is parsing the files (both index.php and the style sheet) in a frameset.

Is that the problem? How do I fix it?

Offline

#2 2005-12-01 05:15:18

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Styles not parsing: templates in frames?

Frames are not in any part of Textpattern, and it will not work correctly if you use them. If frames are there, it’s either because you put them there yourself, or someone else has monkied with your copy of it.

Offline

#3 2005-12-01 05:28:03

viae
New Member
Registered: 2005-12-01
Posts: 3

Re: Styles not parsing: templates in frames?

I haven’t even gotten to modifying anything in Textpattern yet. I just installed it. I suppose I could reinstall, again…

See:
http://www.watchhouse.org/wilderness/

Offline

#4 2005-12-01 06:45:05

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Styles not parsing: templates in frames?

I’d guess you have a .htaccess file in the parent directory, or some other redirection or configuration cleverness that’s interfering with requests to /wilderness/.


Alex

Offline

#5 2005-12-01 09:23:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Styles not parsing: templates in frames?

“View Source” reveals you are indeed using frames. You’re using them to provide the domain masking you’re using.
<frame src="http://207.7.108.242/~gwilson/wilderness/" name="redir_frame" />

Offline

#6 2005-12-01 12:48:32

viae
New Member
Registered: 2005-12-01
Posts: 3

Re: Styles not parsing: templates in frames?

> “View Source” reveals you are indeed using frames. You’re using them to provide the domain masking you’re using.

That clicked. I’m using DynDNS, which has an option for “domain masking.” They must use frames to do that. I had no idea, I had never given it any thought — just fell for their magification without question. Great insight, Mary. I was too busy looking at the ground, when I should have been looking at the sky. It now makes perfect sense. But…

If you go to chilco.textdrive.com/~gwilson/wilderness the css still doesn’t work, even after also changing the css link in the document to a relative link to avoid the possibility that the stylesheet is also getting inserted into frames.

Its intersting that the stylesheet from the admin. interface does not have this problem. It uses a relative-linked style-sheet, which I thought might make a difference, but did not. The only other difference between the two stylesheets is the mainsite style is dynamic. I haven’t had a chance to make a static copy of the stylesheet to try out my hypoth. yet.

Any other ideas?

Thanks!

Offline

#7 2005-12-01 23:32:42

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Styles not parsing: templates in frames?

It may be looking for the CSS file at the wrong url? Try an absolute/full url.

Offline

Board footer

Powered by FluxBB