<ralphdahlgren.com>


 
Navigation
  • Home
  • Etomite CMS News
  • Code Library
  • Tutorials
    • Templates
    • New parseChunk() Tutorial
    • XHTML Objects
    • XMLHttpRequest
    • Complex Active Chunks
  • Ralphs Rants
  • Site Map
  • Login|Logout
 
Credits
 
Valid XHTML 1.1 Valid CSS! Powered By PHP Powered By MySQL
Powered By Etomite
 
 
Other Etomite Sites
dahlgren.slyip.com
n-vent.com
 

Complex Active Chunks

http://ralphdahlgren.com/complexActiveChunk.html

Stuff here...

More stuff here...

Data sent via Snippet: ComplexActiveChunk

Snippet: ComplexActiveChunk <?php
$data 
= "<p><b>Data sent via Snippet:</b> {$etomite->getSnippetName()}</p>";

return 
$etomite->parseChunk
(
  
$chunkName = "ComplexActiveChunk", 
  
$chunkArr  = array
               (
                 
'data'=>$data
               
)
);
?>

Chunk: ComplexActiveChunk
<?php global $etomite; ?>
<p><?=$etomite->makeUrl($etomite->documentIdentifier)?></p>
<p>Stuff here... </p>
<?php if(isset($_GET['showme'])): ?>
<p><?=$_GET['showme']?></p>
<?php endif; ?>
<p>More stuff here...</p>
{data}


Powered by Etomite 1.1 (Prelude).
MySQL: 0.0565 s, 15 request(s), PHP: 0.0201 s, Total: 0.0766 s, document retrieved from database
2010-09-07 11:51 PM