blob: 845b8401dd1efc1fcc42015eaa47119b680b2770 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
% html(); return; /* vim:set ft=sitecing: */
%%derive layout = "/ancestry/layout.chtml";
<%constructor>
b_strict = false;
PN_PREV("/","overview","introduction to site-C-ing");
PN_NEXT("/exceptions","exceptions","exception handling overview");
</%constructor>
<%codemethod string title() %>
return "simple page";
</%codemethod>
<%method void content() %>
<h1>building a really simple page</h1>
<p>
Building a really simple page is really simple. I will not go into much detail
here. The example provided should speak for itself.
</p>
<p>
The component being written doesn't do much but show you the calendar for the
current month. First, take a look at <a
href="/view/htdocs/examples/calendar.chtml" title="the link opens in the frame
below" target="insert">the code</a> and, after you examined it, feel free to check out
<a href="/examples/calendar" title="the link opens in the frame below"
target="insert">the output</a>.
</p>
<div class="insert">
<iframe id="insert" name="insert" src="about:blank" width="95%" height="300">
<p>I wanted to put an <iframe> here, but your browser does not seem to
support it. That is okay, it still will open links somehow.</p>
</iframe>
</div>
</%method>
|