Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by xportde

  1. @FireWire Thank you for the page-edit-fix, this was one of the most important things to make this module usable in real! From our point of view, a separate translation permission would make perfect sense, because not everyone, who can edit a page, should do translations. Mainly because the service is subject to a charge, one should be sensitive when giving the translation service permission. Best regards, Thomas.
  2. Currently, it seems that only superuser can use the translation service. Is it possible to enable translations by permission and role?
  3. Thank you for the clarification! In fact, the translations service works as expected, and the hint text is only a cosmetic issue. We have unfortunately discovered another problem with CKEditor fields in inline mode, where the translation is not transfered into the target field. Knowing this, we may use the regular mode for CKEditor. Maybe, it's very tricky to implement the translation service here, because the inline editor is loaded dynamically on demand. Best regards, Thomas.
  4. We were on the verge of developing such a module ourselves, but you have beaten us to it ... Thank you very much for this great work! Unfortunately we have a problem with the integration of the translation service into text fields, because our default language is set to german, as also set in Fluency module settings. But in text fields, we can only translate englisch texts from english, instead from german. Have we done something wrong? Thank you in advance, Thomas.
  5. How does one enable executables to be uploaded to the File field? Just adding the file extension to the accepted extensions does not seem to work. screenshot attached (ignore the label 'video')
  6. @Mike Rockett Hi Mike, Google should index those pages, but only in one language. To achieve this, we simply leave out all language related metatags, this is no problem. Corresponding to this, the sitemap should also be monolingual, even if all languages are activated in the backend for being edited and previewed.
  7. Hi @Mike Rockett, first of all many thanks for this useful module! I have a language related question: Would it be possible in the near future to exclude certain languages from sitemap via modules config page? We have many customers, who want to prepare other languages in the backend, so the languages have to be enabled and active, e.g. for having preview option. But the languages should not be shown in sitemap, until the translations etc. are finished. Thanks in advance, Thomas.
  8. @Robin S I knew, that there is a way to do this, because it's ProcessWire! Thank you so much for the hint!
  9. No, is happens actually in a SelectOptions field ($value) render template, that generates css classes depending on settings made by user: $css = ''; foreach ($value as $device) { switch ($device->value) { case 'mobile': $css .= ' sm-hide'; break; case 'tablet': $css .= ' md-hide'; break; case 'desktop': $css .= ' xlg-hide lg-hide'; break; } } echo $css; In case of checking the mobile option, $css contains ' sm-hide'. But in the calling template, only 'sm-hide' is delivered, without the trailing whitespace: <section class="class1 class2 class3<?=$page->render->devices?>"> is rendered as <section class="class1 class2 class3sm-hide"> Of course we could set the space directly after 'class3', but in case of no selected device option it would be unnecessary.
  10. Hello together, I have a question about field templates: When the output of a field template (using with $page->render->field) starts with a whitespace, it will be automatically trimmed off. Is it possible to suppress this behaviour, in case we need the whitespace explicitely? Thanks in advance, Thomas.
  11. Thank you @MarkE and @kongondo for your hints, I will try them out!
  12. Hi Kongondo, first of all many thanks for this useful module! My question is about the behaviour of RM fields on save. Usually, we fill the RM fields with some static html markup. After saving pages with RM fields, these fields always are anounced as "changed", but why? Is is possible to prevent this? Best regards, Thomas.
  13. Hi @teppo, thanks for the great module, we already use it with several customers. I have a question concerning the savePageIndex-Hook: It works perfectly on saving a single page, but not, when I use the "Index pages now"-function in module settings page. How could I achieve this? Best regards, Thomas.
  14. Thank you, Adrian, that's exactly what I need!
  15. Hello together, I try to preset the password on creating users of a certain role by the hook Users::added in ready.php. This is successful (the pass field value is stored in the database), but in the following screen, where the new user data have to be specified, the password input is still required. Is there any chance to prevent this? If this is not possible, and the password would be entered manually, how could I read it later unhashed via API to send a mail to the new user? The scenario is: A user with appropriate permissions adds other users with other role, which should be informed by email about their credentials. Thanks in advance, Thomas.
  16. Hi Adrian, thanks for clearing this out! No problem, if your module is intended for restricting to one branch, then we will suggest our client to use it that way. Greeting, Thomas.
  17. Do you mean Image maximum width / height? So I misunderstood the notes Maximum width / height of resized images (pixels), I thought, this settings are for resizing, not for uploading? But in fact, it corresponds with the equivalent image fields. Maybe you could write the notes accordingly (Max width / height for uploaded images)? Greetings, Thomas.
  18. Hi Adrian, we use your excellent module for a customer, who wants restrict access to users in exactly that way, that your module gives (by role name). Now, they want to let some users act for more than one role name. This seems to be possible by activating the desired roles in user settings, but isn't working. I.e., the user always has access to the branch of the first limiting role, but not to further one(s). So, it looks like it ist not possible to combine two ore more restricted roles for one user? Greeting, Thomas.
  19. Hi kongondo, because there's no option for limiting uploaded images to image width and/or height in MM settings (or is there?), we've found out, that the PW-native image field limitations from the underlaying field media_manager_image works (input > maximum image dimensions). Unfortunately, this restriction works quiet, i.e. the MM-upload will be finished without error or warning, but the image will correctly not stored because of violating the image field dimension rules. Would it be possible to apply the image field rules already in MM upload screen, so that the user can see possible violations before start uploading (like the maximum file size rule from MM settings)? Greetings, Thomas.
  20. Thank a lot, @dragan, that's exactly I wanted to now! I was not aware of the custom field/value usage.
  21. Hello together, I'd like to find some pages by PageListerPro having a date greater than today. The value after the comparison operator can only be set by date picker. Is there any possibility to set a generic expression for today (or now) as value? This would be helpful especially for bookmarks. Thanks in advance, Thomas.
  22. Thank you, Adrian, now everything works as expected, also in fields of type TextAreas!
  23. Hi Adrian, since 0.1.4, the support of HTML tags seems to be broken in fields of combined field types, e.g. FieldsetPage or Textareas. Could you check this out, please? Thanks in advance, Thomas.
  24. Hi there, is it possible to preview a multi-language page in a deactivated language? In "Page edit > View" only the active languages for the page are displayed. Our customer wants to translate contents in a certain language before unlock it, but naturally wants to see a preview while working. Thanks in advance, Thomas.
  • Create New...