Изменить активность элемента инфоблока битрикс

<a href=»?active_id=<?=$arElement[«ID»]?>»> Активировать </a>
<? if ($_REQUEST[‘active_id’] != ») {
$obEl = new CIBlockElement();
$boolResult = $obEl->Update($_REQUEST[‘active_id’],array(‘ACTIVE’ => ‘Y’));
header(«Location: АДРЕС_КУДА_ВЕРНУТЬСЯ_ПОСЛЕ_АКТИВИРОВАНИЯ»);

?>

Изменить активность элемента инфоблока битрикс

2 мыслей о “Изменить активность элемента инфоблока битрикс

  • 22.03.2024 в 03:07
    Permalink

    Wow, marvelous weblog structure! How lengthy have you been blogging for?
    you make blogging glance easy. The overall
    glance of your website is wonderful, as smartly as the
    content material! You can see similar here dobry sklep

  • 28.03.2024 в 14:47
    Permalink

    Hello! Do you know if they make any plugins to
    help with Search Engine Optimization? I’m trying to
    get my blog to rank for some targeted keywords but I’m not
    seeing very good gains. If you know of any please share.
    Thank you! You can read similar article here: Najlepszy sklep

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *