Last active
March 23, 2017 03:03
-
-
Save qwersk/92bd97bd26ea95a90fcc07091e6c68c0 to your computer and use it in GitHub Desktop.
USER FRIENDLY URL RULE BITRIX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array( | |
| "CONDITION" => "#^/cases/(.+?)/.*#", | |
| "RULE" => "ELEMENT_CODE=$1", | |
| "PATH" => "/cases/detail.php", | |
| ), | |
| Detail page url in infoblock settings: | |
| #SITE_DIR#/cases/#ELEMENT_CODE#/ | |
| bitrix:news.detail parameter: | |
| "ELEMENT_CODE" => $_REQUEST["ELEMENT_CODE"], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment