Jump to content

Sten

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Sten

  1. Well I saw about /module/edit?name=InputfieldPageName So has someone a list for Hebrew transliteration in latin letters ? Thank you
  2. Hello, This is not directly about language module but I think I can get information from you. Can I add a vendor module to have all languages written automatically into name? I used this vendor module which is good with any language (hebrew, arabic...). How could I add it, so admin interface can use it ? Thank you
  3. Yes Thank you Wanse. Yes it works. Well I will use this way.
  4. Hello Jmartsch and Wanze, It is great to be assisted, thank you ?. I changed my config to have the global file field empty. So I put all my *.twig files in the views directory. I created partials directory for parts included in base.twig. So I keep home.twig and engagement.twig in views. in home.twig I have {% block home %} <div id="corps"> <div id="titres"> <div id="titre">{{ page.title }}</div> </div> <div class="hr"></div> <br> {% block engagement %}{% endblock %} {% endblock %} In engagement.twig, I have {% extends 'home.twig' %} {% block engagement %} <p>His cognitis Gallus ut serpens adpetitus telo vel saxo iamque spes extremas opperiens et succurrens saluti suae quavis ratione colligi omnes iussit armatos et cum starent attoniti, districta dentium acie stridens adeste inquit viri fortes mihi periclitanti vobiscum.</p> <p>Mensarum enim voragines et varias voluptatum inlecebras, ne longius progrediar, praetermitto illuc transiturus quod quidam per ampla spatia urbis subversasque silices sine periculi metu properantes equos velut publicos signatis quod dicitur calceis agitant, familiarium agmina tamquam praedatorios globos post terga trahentes ne Sannione quidem, ut ait comicus, domi relicto. quos imitatae matronae complures opertis capitibus et basternis per latera civitatis cuncta discurrunt.</p> {% endblock %} But still engagement block is not displayed.
  5. Hello @Wanse and all of you, This plugin is a must, thank you Wanse. For 2 days I have been searching, I guess I have a pattern problem with my twig templates. My global template is base.twig Inside I have {% block home %}{% endblock %} and several includes parts. Nothing from this block is displayed. It works only if I keep my global template file field empty. In my home.twig I have {% extends 'base.twig' %} {% block home %} <div id="corps"> <div id="titres"> <div id="titre">{{ page.title }}</div> </div> <div class="hr"></div> <br> {% block engagement %}{% endblock %} {% endblock %} What do you think ? In my base.twix I have all my html code... Thank you
  6. Hello Sephiroth, Thank you for your tutorial, it is very precious although this code above does not work for me. I had {% block content %} {% endblock %} which had no problems but did not display the block content. Thank you for any help. Sten
  7. Hi, Is it possible for home.twig or any other template to be inserted inside a other larger template which is like an empty enveloppe, a template parent ? And at the same time to have placeholder from several part ? Thank you
×
×
  • Create New...