You could do it with smarty though.
Code: Select all
{if $page_alias|truncate:5:"" == "show_"}
...
MY CODE
...
{/if}
What this code will do in your template is the following: It will limit the alias to the first 5 characters. If our alias is "articlename", the variable will contain: "artic". If our alias has a prefix like "show_articlename", the variable will contain "show_". It then compares these first characters of the alias string with a defined string. If that is equal it does something.
If you want to use another prefix, state the character length behind truncate and state the desired prefix where you read "show_".
Hope this could solve your issue...
Best
Nils