Component Code

The Code component is reprensentado by the icon:  and allows you to run PHP code.


To modify the behavior of a component code, double click on the component name located in the central workspace, it opens a popup window called "Component Configuration Window". The following figure shows the window for the component code:



The first field of the window shown in the figure above is a field called "Name Component", in this you can enter a name for the component. The second field to enter php code without the opening and closing tags:

 <?php ?>  

At the bottom of the window are three buttons appear: Save, Apply, Cancel. The Save button: Saves the changes made to the component and close the window. The Apply button: Saves the changes made to the component without closing the window. The Cancel button: Closes the window without saving changes to the component.

No hay comentarios:

Publicar un comentario