Answer the question
In order to leave comments, you need to log in
How to display properties in bitrix:news.calendar?
This is what bitrix:news.calendar looks like
$APPLICATION->IncludeComponent(
"bitrix:news.calendar",
"calendar",
array(
"AJAX_MODE" => "Y",
"AJAX_OPTION_ADDITIONAL" => "",
"AJAX_OPTION_HISTORY" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "N",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"COMPONENT_TEMPLATE" => "calendar",
"DATE_FIELD" => "DATE_ACTIVE_FROM",
"DETAIL_URL" => "",
"IBLOCK_ID" => "0000000000000000",//Допустим
"IBLOCK_TYPE" => "ARTICLE_JOURNAL",
"MONTH_VAR_NAME" => "month",
"NEWS_COUNT" => "0",
"SET_TITLE" => "Y",
"SHOW_CURRENT_DATE" => "Y",
"SHOW_MONTH_LIST" => "Y",
"SHOW_TIME" => "Y",
"SHOW_YEAR" => "Y",
"TITLE_LEN" => "0",
"TYPE" => "EVENTS",
"WEEK_START" => "1",
"YEAR_VAR_NAME" => "year"
),
false
);
array(5) {
["time"]=>
string(11) "16:35 "
["url"]=>
string(22) "url"
["title"]=>
string(15) "title"
["preview"]=>
string(188) "preview."
["DATE_ACTIVE_FROM"]=>
string(19) "16.04.2016 16:00:25"
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question