Created
April 18, 2012 21:10
-
-
Save timglabisch/2416589 to your computer and use it in GitHub Desktop.
PIMCORE-1481
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<zend-config xmlns:zf="http://framework.zend.com/xml/zend-config-xml/1.0/"> | |
<id>sample</id> | |
<name>sample</name> | |
<description>Embed contents from other URL (websites) via iframe</description> | |
<!-- the icon is optional, see above for details (this node is normally used to refer to an icon in the pimcore core icon-set) --> | |
<icon>/pimcore/static/img/icon/html.png</icon> | |
<version>1.0</version> | |
<myCustomConfig>MyValue</myCustomConfig> | |
</zend-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fooo | |
<?=mt_rand(0, 9999)?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Example</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<p> | |
This is just a simple example. | |
<?php echo $this->areablock('myAreablock',array( | |
"dontCheckEnabled" => true, | |
"allowed"=>array("sample"), | |
"group" => array( | |
"a" => array("sample") | |
) | |
)); | |
?> | |
<hr/> | |
<?php echo $this->areablock('myAreablock2',array( | |
"dontCheckEnabled" => true, | |
"allowed"=>array("sample"), | |
"group" => array( | |
"First Group" => array("sample") | |
) | |
)); | |
?> | |
<hr/> | |
<?php $areaBlock = $this->areablock("foobar", array("manual" => true))->start(); ?> | |
<table> | |
<tr> | |
<?php while ($areaBlock->loop()) { ?> | |
<?php $areaBlock->blockConstruct(); ?> | |
<td> | |
<?php $areaBlock->blockStart(); ?> | |
<?php $areaBlock->content(); ?> | |
<?php $areaBlock->blockEnd(); ?> | |
</td> | |
<?php $areaBlock->blockDestruct(); ?> | |
<?php } ?> | |
</tr> | |
</table> | |
<?php $areaBlock->end(); ?> | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment