row

  1. CMTV

    XF 2.0 Create relation entity if not exists

    Hi! I want for Trophy entity to have default relation with TrophyData entity. $structure->relations = array_merge($structure->relations, [ 'UP' => [ 'entity' => 'UserProgression:TrophyData', 'type' => self::TO_ONE, 'conditions' => 'trophy_id', 'primary' =>...
  2. CMTV

    XF 2.0 PHP <xf:codeeditorrow...

    Hi! I am trying to add PHP <xf:codeeditorrow in my admin template. I tried this code: <xf:codeeditorrow name="test_name" value="..." mode="php" data-line-wrapping="true" class="codeEditor--autoSize" /> But I get an error every time I hit...
Top