Jump to content

Mike-it

Members
  • Content Count

    37
  • Joined

  • Last visited

Community Reputation

18 Good

About Mike-it

  • Rank
    Jr. Member

Recent Profile Visitors

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

  1. It looks great! Wanted to test but got: "This module does not indicate compatibility with this version of ProcessWire." Is it safe to use it anyway? I think @adrian suggestion is correct to add PW 3.x compatibility ๐Ÿ˜‰
  2. Sorry solved... I'm little embarrassed, we have set the field option_type as single page ๐Ÿ˜ž not as a Multiple Pages PageArray now it works...
  3. I got this notice: *Notice*: Trying to get property 'title' of non-object...
  4. @adrian Thanks, i successfully recreated your example, using Page Reference and it works perfect in a multilanguage site (also used the module you mentioned https://processwire.com/modules/process-page-field-select-creator/) But suppose to have a multiple selection for "License type" so any image should dsplay all available license assigned This works with a single selection echo $image->option_type->title; Don't understand why it doesn't work with a foreach am i missing something? foreach($images as $image){ foreach($image->option_type as $opt){ echo $opt->title; } } Any help is appreciated ๐Ÿ™ƒ
  5. Thanks @adrian i'll give a look, i ended up using this mentioned module https://github.com/Toutouwai/RepeaterImages
  6. Thanks @3fingers I have read the blog post, but i also thought it was a text omission (the option field), because of the example image, which i doubt is a photomontage ๐Ÿ™‚
  7. That is actually my plan B: modifying the DOM after the fact, client-side. But I still would like to know if there is a way to do this in PW.
  8. I'm going crazy with this. Looking at the post https://processwire.com/blog/posts/pw-3.0.142/ The picture "says" that options are supported as a field, (see License block) but it does not work for me in any version i tryed in version: 1.48, 1.65, 1.70 If the field is not supported i would not show an image of that type. Am i wrong?
  9. I have a script that generates a bunch of inputfields and then outputs a form. I am trying to group visually these things. Basically, I'd like the output to have the fields grouped by some <div>s. I know I can use fieldsets for this, but in this case I can't, because the form is used by other functions (Padloper's) that assume it has a flat structure (no nested fields). So I need a way to inject some extra markup into a flat list of fields. I thought about using an After hook to InputField::render to inject the extra <div>s and </div>s that I need, but it does not work, because while I can indeed inject some markup this way, it is still wrapped by the code that usually wraps the element, i.e. <div class="InputField..."ecc>, so there is no way to output markup that act as a container of several fields. Finally, using the setMarkup method of the form allows me to control the rendering of the fields, but it seems that it works on all fields or nothing. I haven' been able to change it just for a single field of the form. Any idea or suggestion? Thanks
  10. @ryan: Reopening this old thread... Searching for a short word (three letters) via the search.php template (which uses the ~= operator) works as described in pw 3.0.148, but does not seem to work anymore in 3.0.165. Attached the images Pre and Post upgrade on a clean installation of the Minimal Site Profile from v 3.0.133 to v 3.0.165
  11. Solved! found this topic Thanks to @bernhard that did: Translate file /wire/modules/Inputfield/InputfieldDatetime/types/InputfieldDatetimeText.php Set path: /wire/modules/Jquery/JqueryUI/i18n/jquery.ui.datepicker-de.js
  12. With the new ProcessWire 3.0.165, also the Module has upgraded to Version 1.0.7 but now there are 2 abandoned translations, right for language file. Any idea on how to solve?
  13. @adrian works like a charm, thanks!
  14. I have an external php script (launched by cron) that uses ProcessWire (i.e. by including index.php, as explained here). I have the ProcessRedirectIds module installed, and when I run the script I get this warning: Notice: Undefined index: REQUEST_URI in /var/www/www.mysite.example/site/assets/cache/FileCompiler/site/modules/ProcessRedirectIds/ProcessRedirectIds.module on line 66 Obviously there is no REQUEST_URI in this case, but the module seems not aware of this possibility...
ร—
ร—
  • Create New...