Created
November 15, 2015 21:51
-
-
Save d1i1m1o1n/765b3e236c73f37db887 to your computer and use it in GitHub Desktop.
Bitrix rating (voite) in template
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
<?$APPLICATION->IncludeComponent( | |
"bitrix:iblock.vote", | |
"ajax", | |
Array( | |
"IBLOCK_TYPE" => $arParams["IBLOCK_TYPE"], | |
"IBLOCK_ID" => $arParams["IBLOCK_ID"], | |
"ELEMENT_ID" =>$arResult["ID"], | |
"MAX_VOTE" => $arParams["MAX_VOTE"], | |
"VOTE_NAMES" => $arParams["VOTE_NAMES"], | |
"CACHE_TYPE" => $arParams["CACHE_TYPE"], | |
"CACHE_TIME" => $arParams["CACHE_TIME"], | |
), | |
$component | |
);?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment