WSN
Using a Frameset
Using a Frameset
By
05/22/07 (Edited 09/25/07)

Note that frames are bad for search engine ranking, which is why they're normally only used in the admin panel. Nonetheless, some people who don't need to worry about SEO may wish to use them on the user-side.

The direct approach of putting the frameset code in the wapper would be problematic since you don't want each page to create a new sub-frameset. To get around this you need to put the frameset in a custom template. Create a custom template with this content:
<html>
<head>
<title>{PAGETITLE}</title>
</head>
<frameset frameborder="1" border="1" cols="15%,85%">
<frame src="http://scripts.webmastersite.net/wsnlinks/manual/index.php?custom=yes&TID=leftframe" name="frameleft">
<frame src="http://scripts.webmastersite.net/wsnlinks/manual/index.php" name="frameright">
<noframes>Your browser must support frames to use this site.</noframes>
</frameset>
</html>


You could link to that directly with wrapper suppression (index.php?custom=yes&TID=yourtemplate&usewrapper=no), but you'll probably want to use the custom template anywhere hack (be sure to change the usewrapper value to 'no' there).

You can avoid having to update any links to the directory by moving everything into a subdirectory of where it currently is, then depositing your index.php from the custom template anywhere into the original directory, and having the frameset call the subdirectory's index.php.
Details Print Rate Report E-Mail


0/5 based on 0 votes. The median rating is 0.

Views: 199 views. Averaging 0 views per day.

Previous Article | Next Article

Features Showcase Purchase Services Resources Support