I'm putting the following code into the header ] prefix area of Page Info.
<?php
$unique_prefix = "pr_"; /* prevent overlays - must be started with a letter */
$mode = isset($_GET[$unique_prefix.'mode']) ? $_GET[$unique_prefix.'mode'] : "";
$rid = isset($_GET[$unique_prefix.'rid']) ? (int)$_GET[$unique_prefix.'rid'] : "";
?>
The page is set to the name prints2.php.
When I look at the source code after publishing, the prefix code is not there:
[!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<meta name="generator" content="RapidWeaver" />
<title>Prints Test</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link title="default" rel="Stylesheet" type="text/css" href="../rw_common/themes/beatrice_db/styles.css"/>
<link rel="stylesheet" type="text/css" media="screen" href="../rw_common/themes/beatrice_db/colourtag.css" />
<link rel="stylesheet" type="text/css" media="print" href="../rw_common/themes/beatrice_db/print.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../rw_common/themes/beatrice_db/css/header_image/img_01.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../rw_common/themes/beatrice_db/css/gradient/hide.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../rw_common/themes/beatrice_db/css/bodycol/white.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../rw_common/themes/beatrice_db/css/bg/color.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../rw_common/themes/beatrice_db/css/bw/1px.css" />
Any ideas what I'm doing wrong?
Thanks
David
ps. The page type is HTML and the theme is home-grown..
Comments
Have you checked to make sure you're using the special header tags correctly in the theme per the SDK?
Vasily
The High-Tech Coach
I will go and look in the SDK about special headers, but any pointers (no pun intended) would be welcome.
David
Vasily
The High-Tech Coach
Here is my index.html file: What do you think?