Skocz do zawartości

ArashDev

Użytkownik
  • Postów

    87
  • Dołączył

  • Ostatnia wizyta

  • Wygrane w rankingu

    1

Treść opublikowana przez ArashDev

  1. 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;
  2. 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?
  3. @DawPi Is it not possible to add this item to this tag like the class? What exactly does the add attribute option do?
  4. 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!
  5. my license has expired! ? also there is one mistake in non-translated string
  6. 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
  7. ArashDev

    Kolorowe ikony menu

    put here your forum or site link to check that
×
×
  • 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ę.