NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:images-div [2009/04/25 08:06] 127.0.0.1 external edit |
english:phpwcms-system:article:contentparts:images-div [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== images <div> ====== | ====== images <div> ====== | ||
| + | |||
| + | FIXME short descriptiom | ||
| + | |||
| + | So that the output also generates the number of columns and the picture distance, the template must be extended. | ||
| + | |||
| + | - Copy and rename the file ##/template/inc_default/imagespecial.tmpl## to ##/template/inc_cntpart/imagespecial/mytemplate.tmpl##. //For **mytemplate.tmpl** you can set your own name. // | ||
| + | - After a recent call of the CPs this template appears in in the selection list and is selectable. | ||
| + | - Now we enhances the template at the appropriate place: | ||
| + | |||
| + | |||
| + | <code html> | ||
| + | <!--IMAGES_ENTRY_START//--> | ||
| + | <div style="float:left;" class="imageEntry" id="img{IMGID}"> | ||
| + | </code> | ||
| + | <code html|h Template enhanced |h> | ||
| + | <!--IMAGES_ENTRY_SPACER_START//--> | ||
| + | |||
| + | <div style="float:left;"><img src="img/leer.gif" alt="" border="0" height="150" width="{SPACE}"></div> <!-- space between images {SPACE}px --> | ||
| + | |||
| + | <!--IMAGES_ENTRY_SPACER_END//--> | ||
| + | |||
| + | |||
| + | <!--IMAGES_ROW_SPACER_START//--> | ||
| + | |||
| + | <div style="clear:both;"><img src="img/leer.gif" alt="" border="0" height="{SPACE}" width="100"></div><!-- space between image rows {SPACE}px --> | ||
| + | |||
| + | <!--IMAGES_ROW_SPACER_END//--> | ||
| + | |||
| + | |||
| + | <!--IMAGES_FOOTER_START//--> | ||
| + | |||
| + | <div style="clear:both;"><!-- clear //--></div> | ||
| + | |||
| + | </div> | ||
| + | |||
| + | <!--IMAGES_FOOTER_END//--> | ||
| + | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ===== quod vide: ===== | ||
| + | |||
| + | [[english/phpwcms_replacer_rts/frontend_init/cp_trigger/shorten-img-caption-text]] | ||