Перейти к содержанию

Yarin33

Пользователи
  • Постов

    7
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные Yarin33

  1. postContainer:

     

            <li data-role='custom-field' class='ipsResponsive_hidePhone ipsType_break'>
              {{if $comment->author()->core_pfieldgroups() => core_pfield()}}
              {{$field = \IPS\Member::loggedIn()->profileFields( \IPS\core\ProfileFields\Field::PROFILE )['core_pfieldgroups_1']['core_pfield_2'];}}
         <span class = 'ipsOnlineStatus_online11'> owner of: {$field} </span>
            </li>
            {{endif}}

     

    SPACIVA

  2. Hey guy, 

    I speak english but a big fun of this forum guys for the last months.

    I Just created a custom field here:

    image.png.89f677b37888fcea14a30fc6662b402f.png

     

     

     

    image.thumb.png.5f895b23a5b1622b51368a325b33c9fa.png

    Now, the user has to choose an option from the list.

    But - I want to put this inside the view of postCotainer.
     

    I know it should be like this:

    <span class="ipc_l"><i class="fa fa-info-circle"></i> {lang="$field"}:</span>
    <span class="ipc_r">{"$field"}</span>

    but I dont know what is the field value and how to put it...

    How  can I put it???

    Thanks

    GOD BLESS U ALL

×
×
  • Создать...