Skocz do zawartości

Ranking

  1. DawPi

    DawPi

    Manager


    • Punkty

      1

    • Postów

      78 226


  2. aXen

    aXen

    Użytkownik


    • Punkty

      1

    • Postów

      2 290


  3. Marcin Lis

    Marcin Lis

    Użytkownik


    • Punkty

      1

    • Postów

      150


Popularna zawartość

Treść z najwyższą reputacją w 12.02.2019 uwzględniając wszystkie działy

  1. Wersja 4.0.0

    675 pobrań

    The plugin show secondary groups on website in: Topics Hovercard Profile Search Include with Secondary Groups Icon in 3.0.0 version. ? Install Go to: AdminCP -> System -> SITE FEATURES -> Plugins, Click on the link manual upload, Select file .xml from packet and click install button ?️ Update Go to: AdminCP -> System -> SITE FEATURES -> Plugins, Search plugin and click Upload a new version, Select file .xml from packet and click install button. ? Templates for pHTML files From version 4.0.0, special templates have been made available for developers of custom themes. Profile @param $member - \IPS\Member @param $showTitle - Boolean - Show title widget? (Default: true) {template="aXenProfileSecondaryGroups" group="plugins" location="global" app="core" params="$member, true"} Hovercard @param $member - \IPS\Member {template="aXenHovercardSecondaryGroups" group="plugins" location="global" app="core" params="$member"} Search @param $member - \IPS\Member {template="aXenSearchSecondaryGroups" group="plugins" location="global" app="core" params="$member"} Topics @param $comment - \IPS\Member author {template="aXenTopicsSecondaryGroups" group="plugins" location="global" app="core" params="$comment"} ? Release Notes: GitHub Releases, GitHub Tags
    Darmowy
    1 punkt
  2. Robisz rozszerzenie do: applications/cms/sources/Records/Records.php /** * Get elements for add/edit form * * @param \IPS\Content\Item|NULL $item The current item if editing or NULL if creating * @param \IPS\Node\Model|NULL $container Container (e.g. forum), if appropriate * @return array */ public static function formElements( $item=NULL, \IPS\Node\Model $container=NULL ) { Ta metoda zwraca $formElements, więc dla zwróconej wartości przed przekazaniem jej dalej dajesz tak jak niżej. Przykładowe dwa pola o ID 3 i 4: Kod z testów (na sztywno ww. pliku, ale Ty zrób Plugin): if ( \count( $options ) or \count( $toggles ) ) { $formElements['create_record_state'] = new \IPS\Helpers\Form\CheckboxSet( 'create_record_state', $values, FALSE, array( 'options' => $options, 'toggles' => $toggles, 'multiple' => TRUE ) ); } #elInput_content_field_3 #elInput_content_field_4 $formElements['field_3']->value = isset( \IPS\Request::i()->ocena ) ? \IPS\Request::i()->ocena : NULL; $formElements['field_4']->value = isset( \IPS\Request::i()->poziom ) ? \IPS\Request::i()->poziom : NULL; return $formElements; }
    1 punkt
  3. Zrobiłem poprawkę na stronie profilu. fixed.xml
    1 punkt
Ten Ranking jest ustawiony na Warszawa/GMT+02:00
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.