

![]() | |
Home Documentation Replacement Tags | 2011/01/02 |
![]() | |
![]() | |
![]() |
This is the outdated phpwcms project site.
phpwcms Replacement TagsSomething new is coming soon. Always keep in mind to check GitHub for the newest release. A flexible tool for special content parts ![]() ![]() ![]() ![]() { ![]() ![]() Returns the complete article content. If you have inserted code in template's main block you have to use this tag anywhere in the template. Use this only once. ![]() ![]() ![]() { ![]() ![]() Generates a breadcrumb menu like the one on top of this page. ![]() ![]() ![]() { ![]() ![]() Creates a simple navigation table based on the currect structure level. ![]() ![]() ![]() { ![]() ![]() Produces a complete menu - the same as on the left. ![]() ![]() ![]() { ![]() ![]() ![]() ![]() ![]() This will create a spaceholder HTML image tag (transparent GIF). Sample: { ![]() ![]() ![]() ![]() { ![]() ![]() All output of "my_external.php" script will be inserted. This is very powerful. You can use any availabe content var of phpwcms for your script or connet to other external sources. Sample: <?php echo PHP_VERSION." // date: ".date("Y-m-d"); ?> = output: 5.6.40-nmm10 // date: 2025-07-11 ![]() ![]() ![]() { ![]() ![]() With the help of this replacement tag ![]() Sample: { ![]() ![]() { ![]() ![]() ![]() Sample: { ![]() ![]() { ![]() ![]() ![]() Sample: { ![]() ![]() The base directory for these 3 tags is "picture", located in the phpwcms root dir. You can use other path values, e.g. for parent dir use "../" ![]() ![]() ![]() [ ![]() ![]() This creates a HTML link to an article with ID (integer). String represents the text that is linked. Sample: [ ![]() ![]() [ ![]() ![]() This creates a HTML link to a structure level with ALIAS (string). Second string represents the text that is linked. Sample: [ ![]() ![]() [ ![]() ![]() Creates an link to URL (opens in a new browser window) around the string. Sample: [ ![]() ![]() [ ![]() ![]() Creates an link to URL (opens in same browser window) around the string. Sample: [ ![]() ![]() ![]() ![]() { ![]() ![]() This is the replacement tag for a random image. Put this anywhere in text or template to show a random pic. Alle images inside the given image path are used. All jpg, jpeg, gif and png extended files are supported. Sample: { ![]() ![]() ![]() You should not use the old random image replacement tags anymore: { ![]() ![]() ![]() There a php script (img/random_image.php) reads and delivers the images; slow because images will not be cached by webbrowser. ![]() ![]() ![]() {DATE_LONG|MEDIUM|SHORT|ARTICLE}, {TIME_LONG|SHORT|ARTICLE} ![]() Look at the samples and the "*" part — it's self-explanatory. The date and time format is set in "conf.template_default.inc.php". You can set different language for the month and dayname — at the moment supported: EN, DE, IT, FR (see the template config). ![]() Sample: { ![]() { ![]() { ![]() { ![]() { ![]() { ![]() { ![]() ![]() ![]() ![]() [ ![]() ![]() This creates the typical go 1 page back javascript link '<a href="javascript:history.back();" target="_top" alt="go back">string</a>'. Tip! String can also be an image. ![]() ![]() ![]() [ ![]() ![]() ![]() Creates a special link to the print layout of current page. Only { ![]() ![]() ![]() ![]() [ ![]() ![]() ![]() ![]() ![]() Use these to format your texts in any content. Maybe also if HTML tags are not allowed. These replacement tags corresponds with same HTML tags: [ ![]() ![]() ![]() ![]() ![]() ![]() ![]() More replacement tags in preparation ![]() The development of replacement tags is in progress - there might be new available in current version. Check the forum too - I do not have time to fill in the documentation often. Sorry.
|
![]() |
![]() ![]() ![]() |
![]() |
![]() |
![]() |
Copyright © 2002-2008 Oliver Georgi · XML RSS · GitHub · SourceForge.net · Google Code |
![]() |