Skocz do zawartości
Hosting webh.pl - 20%

ArashDev

Użytkownik
  • Dołączył

  • Ostatnia wizyta

Treść opublikowana przez ArashDev

  1. Sorry, there was a typo <!--mothod 1--> <li {{if settings.dataaosforums_setting_ed}}data-address="location"{{endif}}> <!--method 2--> <li {{if \IPS\Settings::i()->dataaosforums_setting_ed == '1'}}data-address="location"{{endif}}>
  2. yes setting key: setting.php: //<?php $form->addTab( 'dataaos_setting' ); $form->add( new \IPS\Helpers\Form\YesNo( 'dataaosforums_setting_ed', \IPS\Settings::i()->dataaosforums_setting_ed, FALSE, array(), NULL, NULL, NULL, 'dataaosforums_setting_ed' ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'dataaostopics_setting_ed', \IPS\Settings::i()->dataaostopics_setting_ed, FALSE, array(), NULL, NULL, NULL, 'dataaostopics_setting_ed' ) ); $form->addTab( 'dataaos_about_plugin' ); $form->addHeader( 'dataaos_about_text' ); $form->addHeader( 'dataaos_support_links' ); if ( $values = $form->values() ) { $form->saveAsSettings(); return TRUE; } return $form;
  3. I finally do it. Thanks Now I want to add a settings in the plugin, so when I want the first option to be enabled, the following Variable will start working inside the tag and it will stop working when I disable it. <li data-address="location"> For this I tried below methods: <!--mothod 1--> <li {{if settings.datalocation_settings}}data-address="location"{{endif}}> <!--method 2--> <li {{if \IPS\Settings::i()->datalocation_settings == '1'}}data-address="location"{{endif}}> With these methods, the plugin works, but the settings do not. what's the problem?
  4. @DawPi Is it not possible to add this item to this tag like the class? What exactly does the add attribute option do?
  5. hi I am developing a plugin but I have a small problem. I want to insert below code snippet in the following tag! my code: data-adress="{{if member.language()->isrtl}}test1{{else}}test2{{endif}}" my following tag: <li class="ipsDataItem ipsDataItem_responsivePhoto" data-location='{$row->locationHash}' data-controller='forums.front.forum.topicRow'> result: <li class="ipsDataItem ipsDataItem_responsivePhoto" data-location='{$row->locationHash}' data-controller='forums.front.forum.topicRow' data-adress="{{if member.language()->isrtl}}test1{{else}}test2{{endif}}"> Which one should I choose? I try "Modify the chosen element(s) to add attribute(s)" but got an error!
  6. my license has expired! ? also there is one mistake in non-translated string
  7. hi @DawPi in the new version (4.7.2) in forum setting like below picture there is a mistake language string that It has been repeated twice
  8. ArashDev odpowiedział(a) na Ori temat w Szablony
    put here your forum or site link to check that

Konto

Nawigacja

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.