Drupal 8 https://dev.drupal.cz/ cs Kalendářové zobrazení ve sloupci https://dev.drupal.cz/forum/jak-na-to/kalendarove-zobrazeni-ve-sloupci <span class="field field--name-title field--type-string field--label-hidden">Kalendářové zobrazení ve sloupci</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/petr" class="username">petr</a></span> <span class="field field--name-created field--type-created field--label-hidden">St, 05/18/2022 - 11:36</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-9" hreflang="cs">Drupal 9</a></div> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Ahoj,</p> <p>potřebuji vypsat seznam akcí po měsících, ale <strong>včetně</strong> dnů, kde nic není. Všechny kalendářové moduly co jsem zatím zkoušel, tak natvrdo počítají se zobrazením v gridu a používají tabulku.</p> <p>Neřešili jste něco podobného?</p> </div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="6" id="comment-5416" class="comment js-comment"> <mark class="hidden" data-comment-timestamp="1652904846"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/users/radimklaska_full.jpg?itok=y1YrzzhN" width="99" height="100" alt="Radim Klaška" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/6" class="username">radimklaska</a> dne St, 05/18/2022 - 22:14</p> <span class="permalink"><a href="/comment/5416#comment-5416" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5416#comment-5416" class="permalink" rel="bookmark" hreflang="cs">Neslo by udelat view co…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Neslo by udelat view co vypise eventy a bude agregovat po dnech?</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5416&amp;1=default&amp;2=cs&amp;3=" token="jv4g-S4U7DTKcgwirTQx1KRQGkjx4MaE07iqkFNk4u8"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372676&amp;2=comment_forum&amp;3=comment_forum" token="Rrq-EjYpkcTKkxsvai198B10MKRxZ4eSktBcuwI102s"></drupal-render-placeholder> </section> Wed, 18 May 2022 09:36:17 +0000 petr 372676 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/kalendarove-zobrazeni-ve-sloupci#comments line 63 of QueryFactory.php https://dev.drupal.cz/forum/chyby/line-63-queryfactory-php <span class="field field--name-title field--type-string field--label-hidden">line 63 of QueryFactory.php</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/21" hreflang="cs">Chyby</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/gibonart" class="username">GibonArt</a></span> <span class="field field--name-created field--type-created field--label-hidden">Pá, 04/22/2022 - 17:47</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Ahoj lidi, při pokusu o upgrade webu nejsem schopen se přihlásit do administrace či provádět jakoukoliv operaci mimo zobrazení webu (https://rucnimytijablonec.cz/user). Hlásí to po povolenéí verbose: The website encountered an unexpected error. Please try again later.<br /><em>Error</em>: Class 'Drupal\Core\Config\Entity\Query\Query' not found in <em>Drupal\Core\Config\Entity\Query\QueryFactory-&gt;get()</em> (line <em>63</em> of <em>core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php</em>).<br /><br /> Obnovil jsem vše komplet ze zálohy, kdy vím, že vše fungovalo (komplet jsem TRUNCATEnul databázi i smazal vše s FTP a opět vše nově nahrál a importoval dtb). Nicméně stále problém. Nedaří se mi rozlousknout co je issue a ani jsem nenašel uspokojivý výsledek na google.</p> <p> </p> <p>Díky</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="1576" id="comment-5411" class="comment js-comment by-node-author"> <mark class="hidden" data-comment-timestamp="1650648713"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/users/unnamed_0.jpg?itok=UA1zA7Lo" width="100" height="100" alt="GibonArt" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/gibonart" class="username">GibonArt</a> dne Pá, 04/22/2022 - 19:31</p> <span class="permalink"><a href="/comment/5411#comment-5411" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5411#comment-5411" class="permalink" rel="bookmark" hreflang="cs">SOLVED</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Netuším co bylo či nebylo špatně, ale žádný z manuálně zálohovaných souborů nepomohl. Regulérně jsem nahrál poslední 8kový file system a starou databázi. To se rozběhlo. Pak už aktualizace přes admin rozhraní. Psycho :)</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5411&amp;1=default&amp;2=cs&amp;3=" token="m51BjOhb5vrpoTJLL0ckWL2r0eIPOETknM_OyXOvK3U"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372671&amp;2=comment_forum&amp;3=comment_forum" token="7JzQBor_xpCQkOnJZpVUWf3OYwNSXH8UUx_pLIPMJ3o"></drupal-render-placeholder> </section> Fri, 22 Apr 2022 15:47:47 +0000 GibonArt 372671 at https://dev.drupal.cz https://dev.drupal.cz/forum/chyby/line-63-queryfactory-php#comments Modul Geolocation Field https://dev.drupal.cz/forum/jak-na-to/modul-geolocation-field <span class="field field--name-title field--type-string field--label-hidden">Modul Geolocation Field</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/noxer" class="username">Noxer</a></span> <span class="field field--name-created field--type-created field--label-hidden">Čt, 03/03/2022 - 19:51</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Neviem pohnúť s Geolocation Field modulom . Po nainštalovaní modulu pridám do typu obsahu pole geolocation. V zobrazení formuláru zvolím možnosť Geolocation HTML5.   No a pri tvorbe obsahu a odkliknutí poľa geolocation mi prehliadač zobrazí hlášku "No location data found. Reason: PERMISSION_DENIED." Napadá vás niečo? V minulosti som s tým pracoval a išlo to v pohode</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="251" id="comment-5386" class="comment js-comment by-node-author"> <mark class="hidden" data-comment-timestamp="1646386184"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/noxer" class="username">Noxer</a> dne Pá, 03/04/2022 - 10:29</p> <span class="permalink"><a href="/comment/5386#comment-5386" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5386#comment-5386" class="permalink" rel="bookmark" hreflang="cs">Prehliadač</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Neuvedomil som si, že to blokuje prehliadač. Pri nezabezpečenom pripojení HTTP z bezpečnostných dôvodov prehliadač blokuje polohu</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5386&amp;1=default&amp;2=cs&amp;3=" token="b33sAZgqSHVAa0dVux7BkA4CkL6YmcjqMSUT2I_eVz4"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372656&amp;2=comment_forum&amp;3=comment_forum" token="gmFX_yjnsPtc42IexA4NWL_NDpuONDBrr480TGDxzgs"></drupal-render-placeholder> </section> Thu, 03 Mar 2022 18:51:02 +0000 Noxer 372656 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/modul-geolocation-field#comments Zobrazení bloku jen na určité stránce https://dev.drupal.cz/forum/jak-na-to/zobrazeni-bloku-jen-na-urcite-strance <span class="field field--name-title field--type-string field--label-hidden">Zobrazení bloku jen na určité stránce</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/romikfcb" class="username">romikFCB</a></span> <span class="field field--name-created field--type-created field--label-hidden">Čt, 12/16/2021 - 09:13</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Dobrý den,</p> <p>v předchozím Drupalu bylo nastavení bloku, na které stránce si ho přeju zobrazit. V drupalu 8 ale tuto možnost nikde nevidím? Poradíte prosím? Potřebuju blok zobrazit jen na určité stránce / kategorii</p> <p>Děkuji</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="1296" id="comment-5361" class="comment js-comment by-node-author"> <mark class="hidden" data-comment-timestamp="1639658942"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/romikfcb" class="username">romikFCB</a> dne Čt, 12/16/2021 - 13:49</p> <span class="permalink"><a href="/comment/5361#comment-5361" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5361#comment-5361" class="permalink" rel="bookmark" hreflang="cs">re:</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Tak jsem zjistil, že to nastavení tam má normálně být, že to asi rozbil nějaký plugin. Jenže ty už jsem dlouho neinstaloval. Jak se tedy dopátrat k tomu, proč se mi toto nastavení nezobrazuje?</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5361&amp;1=default&amp;2=cs&amp;3=" token="orhEAZLSNhXmj66n5ibAXIOEsGapfTnrw1RFphnHqWk"></drupal-render-placeholder> </div> </article> <article data-comment-user-id="0" id="comment-5371" class="comment js-comment by-anonymous"> <mark class="hidden" data-comment-timestamp="1640694023"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <span>Petr111 (neověřeno)</span> dne Út, 12/28/2021 - 13:20</p> <span class="permalink"><a href="/comment/5371#comment-5371" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5371#comment-5371" class="permalink" rel="bookmark" hreflang="cs">Měl jsem stejný problém. Pak…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Měl jsem stejný problém. Pak sem vygooglil ze problém je v modulu Rules. Po poslední aktualizaci vše opět funguje.</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5371&amp;1=default&amp;2=cs&amp;3=" token="vYL41G5JH3H4IQzaNBynwBW1-u3HQib_-aNysBS1-fw"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372641&amp;2=comment_forum&amp;3=comment_forum" token="XWySZilx2Jm3glvf23JdVNeLqurR81fwvQMh_aBbe68"></drupal-render-placeholder> </section> Thu, 16 Dec 2021 08:13:59 +0000 romikFCB 372641 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/zobrazeni-bloku-jen-na-urcite-strance#comments Manuální upgrade Drupal 8 na Drupal 9 https://dev.drupal.cz/forum/chyby/manualni-upgrade-drupal-8-na-drupal-9 <span class="field field--name-title field--type-string field--label-hidden">Manuální upgrade Drupal 8 na Drupal 9</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/21" hreflang="cs">Chyby</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/gibonart" class="username">GibonArt</a></span> <span class="field field--name-created field--type-created field--label-hidden">Ne, 12/12/2021 - 13:44</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Ahoj, chtěl jsem zkusit upgrade stávajícího webu z D8 na D9 a postupoval jsem podle https://drupalize.me/tutorial/update-drupals-minor-version?p=3233#method1. Klasika smazat core, vendor složky plus všechny soubory z root adresáře. Nahrát nové core a vendor plus soubory. Jít na web a spustit update.php. Nicméně hláška: Na stránce došlo k neočekávané chybě. To je strašně super hláška.</p> <p>Nedá se nějat vydebugovat co je problém?</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="26" id="comment-5351" class="comment js-comment"> <mark class="hidden" data-comment-timestamp="1639405933"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/26" class="username">kmajzlik</a> dne Po, 12/13/2021 - 15:32</p> <span class="permalink"><a href="/comment/5351#comment-5351" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5351#comment-5351" class="permalink" rel="bookmark" hreflang="cs">/admin/reports/dblog…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>/admin/reports/dblog neporadi?</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5351&amp;1=default&amp;2=cs&amp;3=" token="lBR-yVvGuxouG4gBdL_e1iu0pUabrvYcsbR3QJFYES8"></drupal-render-placeholder> </div> </article> <article data-comment-user-id="371" id="comment-5356" class="comment js-comment"> <mark class="hidden" data-comment-timestamp="1639418178"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/users/logo_125.png?itok=BvS2LFKM" width="100" height="100" alt="www.cotus.net" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/peterko" class="username">peterko</a> dne Po, 12/13/2021 - 18:56</p> <span class="permalink"><a href="/comment/5356#comment-5356" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5356#comment-5356" class="permalink" rel="bookmark" hreflang="cs">settins.php</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Ja som pridal jeden riadok do settins.php</p> <p><code>$config['system.logging']['error_level'] = 'verbose';</code></p> <p>A vypísalo mi problém s nainštalovanou custom themes pre D8 - stačilo upraviť core_version_requirement v info.yml</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5356&amp;1=default&amp;2=cs&amp;3=" token="kz8B5Yhgqq89iFblASQJQHHcjb2pKSliSxOgwVNmyHw"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372636&amp;2=comment_forum&amp;3=comment_forum" token="tmwEAKHe4s9GGULCtSu-L4LUY5aTbqonNfbiPMawXAQ"></drupal-render-placeholder> </section> Sun, 12 Dec 2021 12:44:47 +0000 GibonArt 372636 at https://dev.drupal.cz https://dev.drupal.cz/forum/chyby/manualni-upgrade-drupal-8-na-drupal-9#comments Webform - pole Computed Twig - načtení uložené hodnoty https://dev.drupal.cz/forum/jak-na-to/webform-pole-computed-twig-nacteni-ulozene-hodnoty <span class="field field--name-title field--type-string field--label-hidden">Webform - pole Computed Twig - načtení uložené hodnoty</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/cernyt" class="username">cernyt</a></span> <span class="field field--name-created field--type-created field--label-hidden">Ne, 12/05/2021 - 13:10</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Dobrý den,</p> <p>mám formulář vytvoření modulem <strong>Webform</strong> v kterém využívám řadku polí <strong>typu Computed Twig</strong>. Výsledke pole ukládám do databáze volbou "<strong>Store value in the database</strong>". Výsledek v databázi skutečně zapsaný je. Nicméně když v administraci prohížím odeslané odpovědi, nebo je vyexportuji - <strong>nezobrazí se mi hodnoty polí z db</strong>, ale opet aktuáně dopočtená v moment exportu.</p> <p>Lze nějak docílit toho, aby se mi zobrazovali/exportovali výsledky polí, které se uloží do db v moment odeslání formuláře? A nikoliv znovu dopočtené v moment zobrazení/exportu?</p> <p>Díky za radu</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372626&amp;2=comment_forum&amp;3=comment_forum" token="FWl7-JoOpplR10kr3nFqSdCiV7s0Hk5YCW4EP1C5_Xw"></drupal-render-placeholder> </section> Sun, 05 Dec 2021 12:10:11 +0000 cernyt 372626 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/webform-pole-computed-twig-nacteni-ulozene-hodnoty#comments Nemohu vytvořit překlad obsahu z češtiny do angličtiny https://dev.drupal.cz/forum/jak-na-to/nemohu-vytvorit-preklad-obsahu-z-cestiny-do-anglictiny <span class="field field--name-title field--type-string field--label-hidden">Nemohu vytvořit překlad obsahu z češtiny do angličtiny</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/hovorapav" class="username">hovorapav</a></span> <span class="field field--name-created field--type-created field--label-hidden">Út, 11/16/2021 - 13:26</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Mám již aktivní webovou stránku na které mám nastavený default language na angličtinu a mám vytvořený veškerý obsah v češtině. Teď ale potřebuji přidat anglický překlad obsahu, ale když se to pokusím editovat, přepne mě to do české verze a mohu editovat pouze tu. Již existující překlady, které jsem vytvořil před vydáním stránek si nemohu zobrazit ani editovat, ani když se stránky přepnou do angličtiny přes language switcher tak se nezobrazí již existující anglické verze. Jsem začátečník s drupalem a toto jsou mé první webové stránky. Mohl by mi někdo poradit prosím?</p> <p>I have a live site running with default language English and I have created all my content in Czech, but when i try to add the English translation it always moves me back to czech. I have some english pages already created when site wasn't live, but when i try to edit it, it moves me to czech again. The english content isn't even displayed when i switch the language of the site to english. It's my first time creating website with drupal so I don't have much experience. Can someone please help me?</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372621&amp;2=comment_forum&amp;3=comment_forum" token="Qi1aCDbGou4xf9xg-ODbTNbKlTjZzJeDmUOMAPiBnAI"></drupal-render-placeholder> </section> Tue, 16 Nov 2021 12:26:13 +0000 hovorapav 372621 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/nemohu-vytvorit-preklad-obsahu-z-cestiny-do-anglictiny#comments Ako pristupovať k vývoji vrámci drupalu na frontende? https://dev.drupal.cz/forum/jak-na-to/ako-pristupovat-k-vyvoji-vramci-drupalu-na-frontende <span class="field field--name-title field--type-string field--label-hidden">Ako pristupovať k vývoji vrámci drupalu na frontende?</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/martin" class="username">martin</a></span> <span class="field field--name-created field--type-created field--label-hidden">Pá, 11/12/2021 - 09:58</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-9" hreflang="cs">Drupal 9</a></div> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Ahoj, rád by som sa dozvedel, ako pristupujete v drupali z hľadiska frontendu vývoju. Jedná sa mi nie len o jednoduché blogy,... ale taktiež o veľké stránky, eshopy, stredne veľké stránky s veľmi custom grafikou podobnou "plagátom". </p> <p>Aké spôsoby prístupu k vývoji mám na mysli:</p> <p>1) pridávanie class priamo v admine pri vyklikávaní blokov</p> <p>2) písanie kódu priamo v twigu s tým, že si attachujeme custom block</p> <p>3) Veľmi sa mi páči prístup s drupal + storybook (prístup k vývoji ako v prednáške: <a href="https://www.youtube.com/watch?v=3tA8MRipc1k">https://www.youtube.com/watch?v=3tA8MRipc1k</a>). Rád by som sa dopracoval k tomu, aby som nakódoval twigi, cez hook by som si natiahol dáta do šablóny. Ak by sa niečo v admine zmenilo, upravím len hook. Hot a live reload by mi zabezpečil webpack. Ešte nájsť spôsob ako v peknom modalnom okne editovať content (ako to vie https://www.thebrickfactory.com/stacks/).</p> <p>4) iné...</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="146" id="comment-5321" class="comment js-comment"> <mark class="hidden" data-comment-timestamp="1637074638"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/users/Z%20Bosny%20-%20%C4%8Dtverec_0.jpeg?itok=_Wi8975X" width="100" height="100" alt="Honza Pobořil" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/honza-poboril" class="username">Honza Pobořil</a> dne Út, 11/16/2021 - 15:57</p> <span class="permalink"><a href="/comment/5321#comment-5321" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5321#comment-5321" class="permalink" rel="bookmark" hreflang="cs">Vždy záleží na potřebách…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Vždy záleží na potřebách projektu a co má rád tým (to většinou 😉).</p> <p>K tomu co jsi psal bych přidal ještě decoupled přistup: Drupal použiju jako headless CMS a frontend tvořím v něčem úplně jiném. Osobně mi vyhovuje <a href="https://nuxtjs.org">Nuxt</a> (Vue), protože má developer experience a na úplně jiné úrovni než Drupal (to asi cokoliv z JS světa).</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5321&amp;1=default&amp;2=cs&amp;3=" token="npy9oQPh-ynD0XdhRZiDBd8Z2Q-znkmaL_9fwUFDVAI"></drupal-render-placeholder> </div> </article> <article data-comment-user-id="26" id="comment-5326" class="comment js-comment"> <mark class="hidden" data-comment-timestamp="1637489241"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/26" class="username">kmajzlik</a> dne Ne, 11/21/2021 - 11:07</p> <span class="permalink"><a href="/comment/5326#comment-5326" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5326#comment-5326" class="permalink" rel="bookmark" hreflang="cs">Alternativu k Nuxt muze byt…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Alternativu k Nuxt muze byt na mensi stranky GatsbyJS.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5326&amp;1=default&amp;2=cs&amp;3=" token="gGWiHbDbPwipieIlfi7BZ-bkzG8I4YU-5NEUzLFD9FE"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372616&amp;2=comment_forum&amp;3=comment_forum" token="DNMY-TU31XVu5oaluWDtl9f1OzOWCpBLnEHEutGomwA"></drupal-render-placeholder> </section> Fri, 12 Nov 2021 08:58:54 +0000 martin 372616 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/ako-pristupovat-k-vyvoji-vramci-drupalu-na-frontende#comments inline image token content-type https://dev.drupal.cz/forum/jak-na-to/inline-image-token-content-type <span class="field field--name-title field--type-string field--label-hidden">inline image token content-type</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/jozef-karo" class="username">Jozef Karo</a></span> <span class="field field--name-created field--type-created field--label-hidden">St, 11/03/2021 - 14:53</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Ahojte, nainštaloval som tento modul, v ktorom mi funguje dobre datumový token. Ale vôbec mi nejde token [content-type:name]. viete mi poradiť kde aký kód by som mal upraviť alebo tak. Ide mi o to že mám viacero typov obsahu chcel by som aby podla obsahu mi to triedilo do danej zložky.</p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="86" id="comment-5291" class="comment js-comment"> <mark class="hidden" data-comment-timestamp="1635967379"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/users/picture-2875431-1486570938%20%281%29.png?itok=WeolfxOw" width="100" height="100" alt="Miro Michalicka" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/mirom" class="username">mirom</a> dne St, 11/03/2021 - 20:22</p> <span class="permalink"><a href="/comment/5291#comment-5291" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5291#comment-5291" class="permalink" rel="bookmark" hreflang="cs">Ahoj, predpokladam ze…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Ahoj, predpokladam ze problem bude s tym, ze inline image pri uploadovani nema kontext o tom, do akeho obsahu je nahravany a preto ten token nemoze byt pouzity</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5291&amp;1=default&amp;2=cs&amp;3=" token="DFH5zgSBlMxTGGcVDBXJ2Nc7orcV_aHs6Z--XA1p7xg"></drupal-render-placeholder> </div> </article> <article data-comment-user-id="2121" id="comment-5296" class="comment js-comment by-node-author"> <mark class="hidden" data-comment-timestamp="1636045950"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/jozef-karo" class="username">Jozef Karo</a> dne Čt, 11/04/2021 - 18:12</p> <span class="permalink"><a href="/comment/5296#comment-5296" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5296#comment-5296" class="permalink" rel="bookmark" hreflang="cs">Ahoj, ale už pri výbere …</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Ahoj, ale už pri výbere  typu či ide o článok alebo stránku, by tento údaj mohol nejako vyťažiť keby viem ako tak by to bolo super pripadne urobiť si vlastný modul.</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5296&amp;1=default&amp;2=cs&amp;3=" token="H0JNgkNha8fwdHNNsSCfDOSBDvsEdmTV-YsE_QdCu18"></drupal-render-placeholder> </div> </article> <article data-comment-user-id="26" id="comment-5331" class="comment js-comment"> <mark class="hidden" data-comment-timestamp="1637489370"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <a title="Zobrazit profil uživatele." href="/user/26" class="username">kmajzlik</a> dne Ne, 11/21/2021 - 11:09</p> <span class="permalink"><a href="/comment/5331#comment-5331" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5331#comment-5331" class="permalink" rel="bookmark" hreflang="cs">ale v tom inline neni zadna…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>ale v tom inline neni zadna entity reference apod do toho content type. teoreticky muze byt ten obrazek re-used v jinem nodu jineho typu</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5331&amp;1=default&amp;2=cs&amp;3=" token="RacAgSpXKVwL0hL2EICPNvp3fnuPevNXW8HUYZsv4is"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372601&amp;2=comment_forum&amp;3=comment_forum" token="2IYsPfJrM34LlYZPd4F1O2z5e_15X4aN6CltvtaD89k"></drupal-render-placeholder> </section> Wed, 03 Nov 2021 13:53:35 +0000 Jozef Karo 372601 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/inline-image-token-content-type#comments Modul na reklamu https://dev.drupal.cz/forum/jak-na-to/modul-na-reklamu <span class="field field--name-title field--type-string field--label-hidden">Modul na reklamu</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Fórum</div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="cs">Jak na to?</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><a title="Zobrazit profil uživatele." href="/user/jozef-karo" class="username">Jozef Karo</a></span> <span class="field field--name-created field--type-created field--label-hidden">Ne, 10/03/2021 - 20:54</span> <div class="field field--name-field-drupal-version field--type-entity-reference field--label-inline clearfix"> <div class="field__label">Drupal version</div> <div class="field__items"> <div class="field__item"><a href="/drupal-8" hreflang="cs">Drupal 8</a></div> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Ahojte, aký je podľa vás najlepší modul na reklamu, kde napríklad od zakazníka bud text alebo obrázok a zadám 500 preklikov ,8000 zobrazení, zobrazovať 30 dní. Pozeral som modul https://www.drupal.org/project/gamw. Ale moc mi nevyhovuje. </p></div> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article data-comment-user-id="0" id="comment-5286" class="comment js-comment by-anonymous"> <mark class="hidden" data-comment-timestamp="1633354388"></mark> <footer class="comment__meta"> <article class="profile"> <div class="field field--name-field-dcz-user-image field--type-image field--label-hidden field__item"> <img loading="lazy" src="/sites/default/files/styles/thumbnail/public/default_images/user-placeholder_0.png?itok=nOY2lA1j" width="100" height="100" alt="Drupal user" class="image-style-thumbnail" /> </div> </article> <p class="comment__submitted">Napsal uživatel <span>Anonym (neověřeno)</span> dne Po, 10/04/2021 - 15:33</p> <span class="permalink"><a href="/comment/5286#comment-5286" hreflang="cs">Trvalý odkaz</a></span> </footer> <div class="content"> <h3><a href="/comment/5286#comment-5286" class="permalink" rel="bookmark" hreflang="cs">Ahoj, na D7 jsem používal…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Ahoj,</p> <p>na D7 jsem používal https://www.drupal.org/project/simpleads . Pro D8 je placeny, ale umi, co pozadujes.</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=5286&amp;1=default&amp;2=cs&amp;3=" token="uanWJN8vmF5vQw2oP2fu0DGc0tmYJY_2-IsgkKbX7w8"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Přidat komentář</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=372596&amp;2=comment_forum&amp;3=comment_forum" token="YYJWdvyLc_tL8GWaw6GgoTTXy2l1mLHIqDd2iQ29xKs"></drupal-render-placeholder> </section> Sun, 03 Oct 2021 18:54:20 +0000 Jozef Karo 372596 at https://dev.drupal.cz https://dev.drupal.cz/forum/jak-na-to/modul-na-reklamu#comments