Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

10 Good

About xportde

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I will keep that in mind. Thank you Robin 👍
  2. 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')
  3. @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.
  4. 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.
  5. @Robin S I knew, that there is a way to do this, because it's ProcessWire! Thank you so much for the hint!
  6. 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.
  7. 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.
  8. Thank you @MarkE and @kongondo for your hints, I will try them out!
  9. 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.
  10. 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.
  11. Thank you, Adrian, that's exactly what I need!
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  • Create New...