Professional Documents
Culture Documents
So: The Blocks Creation Include in The Index - PHP File A New Div. This Div Can Be
So: The Blocks Creation Include in The Index - PHP File A New Div. This Div Can Be
So: The Blocks Creation Include in The Index - PHP File A New Div. This Div Can Be
To maker easy the project we want use the open source software HTML-BASED
CSS EDITOR. See the demo:
http://htmlcsseditor.sourceforge.net/demo/index.html
An interface suggestion is in 2
• Description:
The user create or edit the blocks of his site thru the interface. The new block are
created by pressing Add. The result of this action is the new block that appears in the
site visualization.
There are 5 block types (specified in 3). The only diference is the php function inside
the block.
So: the blocks creation include in the index.php file a new div. This div can be
created inside other div. Automatic is create a class in the style.css file with same
name of div
The user cans manager the block also. The action are Edit, Del, Up, Dow.
Edit > When the user selection the block to edit, it block shall have it border changed
to solid red with 2px for 2 seconds. The class elements of this block shall be
configured thru the css editor (yellow interface)
Del > delete the div (in the index.php) and the class (in the style.css)
• The code generated thru this module is salve in the index.php and style.css
1
index.php
<body>
<div id="container">
<div id="header"></div>
<div id="menu">
<div><?php show_menu(); ?></div>
</div>
<div id="content"><?php page_content(); ?></div>
<div id="rodape"></div>
</div>
</body>
style.css
2
Add a block :
Localization: Root V
Add
Block Manager
Block: Action:
Del Down
Design Block
Menu Block
Login Block
Design Block
3
Design Block
<div> </div>
Content Block
<div> page_content(); </div>
Menu Block
<div> show_menu(1,1,-1); </div>
Login Block
<div> login(); </div>
Search Block
<div> search(); </div>