Jump to content

duncan

Members
  • Content Count

    8
  • Joined

Posts posted by duncan


  1. /site/modules/ProcessMenuBuilder/ProcessMenuBuilder.css

    178 line

    div.handle i.fa-trash {
        position: relative;
        border: none;
        padding: 0.6em;
        /*margin-right: -2.125em;*/
        top: 1px;
    }

    fix: add comment margin

     

    Знімок екрану.png

    • Like 2

  2. dear kongondo, help the beginner:

    two languages on the site
    connected module 0.2.3

                        $menu = $modules->get('MarkupMenuBuilder');
                        $options = array(
                            'has_children_class' => 'has_children',
                            'current_class' => 'current',
                            'menu_css_id' => 'nav_home',
                            'menu_css_class' => 'slimmenu',
                        );
                        echo $menu->render('menu', $options);


    1 language - everything is fine, 2 language:

    Error: Exception: No menu items found! Confirm that such a menu exists and that it has menu items. (in /var/www/***/site/modules/ProcessMenuBuilder/MarkupMenuBuilder.module line 1415)
    
    <code>#0 /var/www/***/site/modules/ProcessMenuBuilder/MarkupMenuBuilder.module(105): ProcessWire\MarkupMenuBuilder-&gt;throwError()</code><br />
    <code>#1 /var/www/***/site/templates/home.php(24): ProcessWire\MarkupMenuBuilder-&gt;render(&#039;menu&#039;, Array)</code><br />
    <code>#2 /var/www/***/wire/core/TemplateFile.php(287): require(&#039;/var/www/...&#039;)</code><br />
    <code>#3 /var/www/***/wire/core/Wire.php(380): ProcessWire\TemplateFile-&gt;___render()</code><br />
    <code>#4 /var/www/***/wire/core/WireHooks.php(714): ProcessWire\Wire-&gt;_callMethod(&#039;___render&#039;, Array)</code><br />
    <code>#5 /var/www/***/wire/core/Wire.php(442): ProcessWire\WireHooks-&gt;runHooks(Object(ProcessWire\TemplateFile), &#039;render&#039;, Ar</code></b><br /><br /><small>This error message was shown because: you are logged in as a Superuser. Error has been logged. </small></p>


    What did I want to do?


  3. 1 hour ago, Christophe said:

    Hi,

    It's better to put them in /site/modules/... in order to keep the additional symbols after each update.

    Also, you can normally add them via the backend.

    thanks for your advice, so did)

    I wrote to Ryan, so he added to the release

    • Like 1

  4. please add the lines below to the /wire/modules/Inputfield/InputfieldPageName/InputfieldPageName.module:

            'ґ' => 'g',
            'Ґ' => 'g',
            'ї' => 'i',
            'Ї' => 'i',
            'є' => 'ie',
            'Є' => 'ie',
            'і' => 'i',
            'І' => 'i',
            'ь' => '',
            'Ь' => '',

    these are additional symbols of the Ukrainian alphabet


  5. Instruction for Ukrainian-speaking users:

    1. Завантажити архів (ZIP або CSV)
    2. В адмінці перейти: Setup - Languages - Add New
    3. Заповнити поля: Title -- Українська, Name -- uk
    4. Натиснути кнопку "Save"
    5. Натиснути кнопку "Choose File", щоб обрати завантажений архів, зачекати доки усі змінні завантажаться і натиснути "Save"
    6. У правому верхньому куті обрати Admin - Profile і перемкнути мову на "Українська". Рекомендовано вийти і зайти в адмінку
    • Like 1
×
×
  • Create New...