• Content count

  • Joined

  • Last visited

Community Reputation

9 Neutral

About adrianromega

  • Rank
    Jr. Member

Recent Profile Visitors

1,601 profile views
  1. for sure will come in handy. thank you for your work
  2. Hello It would like to play with this module, is there any link available to download and try it on? Thanks.
  3. Hello I am on windows 10 and I am having the same problem like Mike Rockett, [Symfony\Component\Filesystem\Exception\IOException] Cannot rename ...
  4. no problem, thank you for all your work.
  5. it seems to be fine now, thank you. I really like your module and all the possibilities it offers.
  6. 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;
  7. I found out the solution, there was another module to install, Inputfield Selectize Multiple . thanks again for this module.
  8. 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.
  9. 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....
  10. Hello Macrura. Interesting module, but how are you suppose to access all the defined fields in the front-end ? Thank you.
  11. yes, it is working as it should now. thank you for the quick fix and for your devotion for this superb project called Processwire,
  12. 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.
  13. Hello Interesting module, lots of possibilities, thank you for this. Just to let you know, there is a problem in file InputfieldHandsontable.module, line <?= $this->getCode() ?> should be inside jquery function scope or it won't work (hot is undefined).
  14. Hi BitPoet and thank you for your reply. Your suggestion was good, I have found the problem.... first of all, it was because of multilanguage option and second, I did not want to load the entire counter page and I was requesting the page path using $page->getPath(id), which it seems it does not works as I imagined in multilanguage sites, it does not get automatically the url for a particular language....
  15. Hello I am trying to do a counter for page views that works also when a page has template cache applied, so I am using Ajax to request a certain page (sending also as GET parameter id with the id of the page for which I increment the field views). I have used this method before, it worked perfectly, but now I cannot make it work... I am getting these problems... 1. The counter page that is accessed through ajax gets a 301 Moved Permanently status, not 200 OK status. 2. It does not get any GET parameters ($input->get->param nor $_GET)... 3. if I access the counter page directly in the browser, it works, I can access the $input->get or $_GET, my "views" field is being incremented, only when accessed with ajax it does not work... I am using PW 3.0.36. Please advise,