{{indexmenu_n>810}}
====== RANDOMCATEGORY_ALIAS/ID ======
A quite simple solution to show a random category by alias- or id and show the result at the place of the TAGs **{RANDOMCATEGORY_ALIAS}** / **{RANDOMCATEGORY_ID}**.
\\
----
**rt_random_category_alias** V1.0 18.07.10
Docu: -- \\
Forum: [[http://forum.phpwcms.org/viewtopic.php?f=28&t=20397]]
**Author:** K.Heermann (flip-flop) http://planmatrix.de \\
**CMS Version:** >= 1.3 \\
**Version:** V1.0 \\
Tag: {RANDOMCATEGORY} \\
Filename: **rt_random_category_alias.php**
Folder: ** template/inc_script/frontend_render/ **
**Condition:** -> [[http://www.phpwcms-docu.de/config_dateien.phtml|/config/phpwcms/conf.inc.php]] \\
* ##$phpwcms['allow_ext_render'] = 1;##
----
----
\\
===== Script: =====
\\
* In "$hidden_category" category IDs can be registered, which are excluded from selection. //(23,56,74,12,...) do not use apostrophes!//
* If you need the id instead of the alias, please uncomment the line below "%%// Output id%%" and comment the line below "%%// Output alias%%". \\ Update 19.07.2010 KH: Two TAGs **{RANDOMCATEGORY_ALIAS}** und **{RANDOMCATEGORY_ID}**.
\\