drupal-6.x
Last change
on this file since ffa4103 was
ffa4103,
checked in by Luis Peña <lpena@…>, 12 años ago
|
Cambiando el nombre de modulos a modules
|
-
Propiedad mode establecida a
100755
|
File size:
1.2 KB
|
Línea | |
---|
1 | <!-- $Id: display-block.html,v 1.5 2008/10/14 17:06:02 merlinofchaos Exp $ --> |
---|
2 | Block displays will show up on your blocks administration page. Once a block display is created and saved, it can be enabled and positioned in your theme by visiting <strong>administer >> site building >> blocks</strong> and selecting it from the list. |
---|
3 | |
---|
4 | Blocks <strong>do not</strong> accept arguments from any source; the only way to get arguments to a block is to provide defaults to it, possibly via the PHP Code default setting. |
---|
5 | |
---|
6 | <ul> |
---|
7 | <li>Edit the argument in question; you may want to override this argument if you have multiple displays using it.</li> |
---|
8 | <li>Change the "Action to take if argument is not present" to "Provide default argument". This will bring up a new box called "Provide default argument options".</li> |
---|
9 | <li>The most common default argument type used for blocks is Node from URL, where it attempts to determine if the URL refers to a node, for example if visiting 'node/1' or 'node/1/edit'. User ID from URL is also very common.</li> |
---|
10 | <li>If you change the default argument type to 'PHP Code' (note: You must have permission to use PHP code on your site) you can enter PHP to define the argument needed. Simply return the argument.</li> |
---|
11 | </ul> |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.