Jump to content

adrianromega

Members
  • Posts

    30
  • Joined

  • Last visited

Recent Profile Visitors

3,262 profile views

adrianromega's Achievements

Jr. Member

Jr. Member (3/6)

15

Reputation

  1. Thank you for clarifying this. Good luck with your next modules.
  2. Thank you for this, but for now I do not see in what situation would be useful to have images with different sizes but the same no of pixels (area)... what was your motivation for this module ?
  3. Really useful module I consider to be this one, I have done something similar on one website but was not as elegant as this one. Thank you for your work.
  4. Hello It would like to play with this module, is there any link available to download and try it on? Thanks.
  5. Hello I am on windows 10 and I am having the same problem like Mike Rockett, [Symfony\Component\Filesystem\Exception\IOException] Cannot rename ...
  6. no problem, thank you for all your work.
  7. it seems to be fine now, thank you. I really like your module and all the possibilities it offers.
  8. thanks for your reply. I have tried also the new version with support for InputfieldWrapper. Based on your example, wiretabs-example.php, I have tried to use 2 InputfieldFieldsets inside first wiretab (InputfieldWrapper inside InputfieldWrapper), the display of fields is fine, but it is not saving values of fields properly...depends on the position of the nested InputfieldWrappers, some values are saved, some are not. With only one InputfieldWrapper inside another InputfieldWrapper, all is fine, but with more nested InputfieldWrappers, something is wrong. for the config below for example, is not saving the field values form the first InputfieldFieldset. <?php /** * since you can only return 1 array to the module, you have to wrap * the tabs in an inputfield wrapper */ $inputfields = new InputfieldWrapper(); //--------------------------------------------------- $general = [ [ 'name' => 'site_name', 'label' => __('Site Name'), 'type' => 'InputfieldText', 'value' => '' ], [ 'name' => 'email_address', 'label' => __('E-mail'), 'type' => 'InputfieldEmail', 'value' => '' ], [ 'name' => 'telephone', 'label' => __('Telephone'), 'type' => 'InputfieldText', 'value' => '' ], [ 'name' => 'fax', 'label' => __('Fax'), 'type' => 'InputfieldText', 'value' => '' ], ]; $general2 = [ [ 'name' => 'set_1', 'label' => __('Setting 1'), 'type' => 'InputfieldText', 'value' => '' ], [ 'name' => 'set_2', 'label' => __('Setting 2'), 'type' => 'InputfieldText', 'value' => '' ] ]; $general3 = [ [ 'name' => 'set_3', 'label' => __('Setting 3'), 'type' => 'InputfieldText', 'value' => '' ], [ 'name' => 'set_4', 'label' => __('Setting 4'), 'type' => 'InputfieldText', 'value' => '' ] ]; $tab = new InputfieldWrapper(); $tab->attr('title', 'General'); $tab->attr('class', 'WireTab'); $advanced = new InputfieldFieldset(); $advanced->label = __('Advanced Settings'); $advanced->description = __('These settings are not required'); $advanced->columnWidth = 50; $advanced->add($general2); $tab->add($advanced); $advanced = new InputfieldFieldset(); $advanced->label = __('Advanced Settings'); $advanced->description = __('These settings are not required'); $advanced->columnWidth = 50; $advanced->add($general3); $tab->add($advanced); $tab->add($general); $inputfields->append($tab); //--------------------------------------------------- $location = [ [ 'name' => 'address', 'label' => __('Address'), 'type' => 'InputfieldText', 'required' => true, 'value' => '' ], [ 'name' => 'postal_code', 'label' => __('Postal code'), 'type' => 'InputfieldText', 'required' => true, 'value' => '', 'columnWidth' => 33 ], [ 'name' => 'city', 'label' => __('City'), 'type' => 'InputfieldText', 'required' => true, 'value' => '', 'columnWidth' => 67 ], ]; $tab = new InputfieldWrapper(); $tab->attr('title', 'Location'); $tab->attr('class', 'WireTab'); $tab->add($location); $inputfields->append($tab); //--------------------------------------------------- return $inputfields;
  9. I found out the solution, there was another module to install, Inputfield Selectize Multiple . thanks again for this module.
  10. Nice module, just tried it and I do not know how to make it work for multiple page selection... In a field page config, in Input Field Type. Inputfield Selectize appears only for Single page selection... I am using the latest processwire 3. Thank you.
  11. Thanks for info, now is all clear. Using your module you can define all kind of fields, except for InputfieldImage and InputfieldFile.... what is your suggestion to have in "settings" fields for images or files (for logoes, backgound image, etc) ? I hope you understand what I mean....
  12. Hello Macrura. Interesting module, but how are you suppose to access all the defined fields in the front-end ? Thank you.
  13. yes, it is working as it should now. thank you for the quick fix and for your devotion for this superb project called Processwire,
  14. Hi Thanks for this nice module, you have created so far very useful modules, thank you again for all your contributions to Processwire. One thing I noticed, this module does not work (modules not displayed) for modules who are not implementing the ConfigurableModule interfacce but are using the new module configuration described in here. https://processwire.com/blog/posts/new-module-configuration-options/
×
×
  • Create New...