• Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About felted

  • Rank
    Jr. Member

Recent Profile Visitors

642 profile views
  1. felted

    This was the trick - thank you!
  2. felted

    The problem ist, that the site is a onesiter. The URL is always: http://xxx.biz/de/ for german and http://pw.xxx.biz/en/ for english. Any content i get with: $datenschutz_content = $pages->get('/datenschutz/'); <?php echo $datenschutz_content->title; ?> Output (title) for the URL http://xxx.biz/de/ is: datenschutz Output (title) for the URL http://xxx.biz/en/ is: data protection Everthing is fine. But now i need the name of the page datenschutz. If i unterstood correctly, the var $page contains only the content of the current page. So all the examples here are not working. Example: If the URL: http://xxx.biz/de/ I need the page name: datenschutz and if the URL: http://xxx.biz/en/ i need the page name: data_protection (importend is the underscore) I hope, it was a litte understandable Thanks, Detlef
  3. Hello, i get the content of a page with this code: $datenschutz = $pages->get('/datenschutz/'); This are the settings in the BE: But the output in DE and in EN is the same: <?php echo $datenschutz_content->name; ?> <div class="modal-modal mfp-hide" id="<?php echo $datenschutz->name; ?>"> <!-- Output DE: --> <div class="modal-modal mfp-hide" id="datenschutz"> <!-- Output EN: --> <div class="modal-modal mfp-hide" id="datenschutz"> How i get the page name für different languages? Thanks, Detlef
  4. felted

    Thanks - now i have found it.
  5. Hi, i have installed the plugin <Pages Export/Import> on my system <ProcessWire 3.0.117> But unfortunately i can't find the menuepoint export/import as expected. Can anyone help me? Thanks, Detlef
  6. That was it. Many thanks for your help!
  7. Hi, i have a litte strange problem with CKEditor and mystyles.js I have followed this guide: https://github.com/processwire/processwire/blob/master/wire/modules/Inputfield/InputfieldCKEditor/README.md#custom-editor-js-styles-set In mystyles.js i add: { name: 'Test', element: 'test' }, But only the styles without my line are shown. After i press Strg+F5 i can see my custom style in the dropdown. But after saveing, my styles are gone. Then i press Strg+F5 -> my styles are shown. After saving my styles are gone. And so on... Delete cache an relogin did not do anything. Can anyone help me? Thanks, Detlef
  8. felted

    I found the problem I saved the document with codierung CP1252. After chanching to UTF-8 everything is fine. Thanks for your help! Detlef
  9. felted

    Hello, i would like to convert germand Umlaute url-conform. ü = ue ä = ae usw... I use this code: $tmp = $sanitizer->pageName("Über", true); But the output for über is: ber And the output für Größe is: gre Can anyone help me? Greetings and thank you, Detlef
  10. felted

    Thank you.
  11. felted

    Where can i find the PageTable field? Thanks, Felted
  12. I have a lot of repeaters. So I need the suffix to identify the repeater.
  13. Hello, I am new here and have a question Sorry for my bad english. how can I output the title from an Options Fieldtype inside a repeater? This is my Backend: And this is the code: // This site is a onepager $portfolio = $pages->get('/Portfolio/'); echo "title: ".$portfolio->repeater_portfolio[0]->Category_repeater1037->title; Unfortunately I cant get any output. Can anyone help me? Thanks, Felted