Page Included as Pod
Sites may choose to include a persistent login box in their design.Include a dynamic text area in your layout using a Page. This is a great technique for adding advertisments, announcements, and other featured text that is part of the site layout.
PLEASE NOTE: There are separate Quote of the Day and Ad Banner modules available.
CODE
Minimal (these parameters and their values do not change):
<cfmodule template="#site#"
fuseaction="page.pageaction"
>Where pageaction is the pageaction of the particular page you want to display.
All parameters:
<cfmodule template="#site#"
fuseaction="page.pageaction"
id="thispagepod"
class="pagepod"
showtitle="1|0"
>Optional Parameters:
- id = id name of surrounding div. If no id is passed, the id defauls to page + pageaction (the fuseaction without the period).
- class = class name of surrounding div
- showtitle = 1|0. Set to 1 (true) by default. This parameter turns on or off the page title, if it exists.
CSS
/* --- Login Box --- */
#pagepod // or whatever ID you asign
#pagepod h2
#pagepod .detailText
HTML
<div id="thispagepod" class="pagepod">
<h2>Page Title</h2>
<div class="detailText">
<p>Page Content</p>
</div>
</div>


