adrianromega
Members-
Posts
30 -
Joined
-
Last visited
Everything posted by adrianromega
-
Thank you for clarifying this. Good luck with your next modules.
- 11 replies
-
- megapixels
- resize
-
(and 3 more)
Tagged with:
-
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 ?
- 11 replies
-
- megapixels
- resize
-
(and 3 more)
Tagged with:
-
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.
-
for sure will come in handy. thank you for your work
-
[WIP] ProcessMailer - A module for managing and sending newsletters
adrianromega replied to abdus's topic in Modules/Plugins
Hello It would like to play with this module, is there any link available to download and try it on? Thanks. -
wireshell - an extendable ProcessWire command line interface
adrianromega replied to marcus's topic in API & Templates
Hello I am on windows 10 and I am having the same problem like Mike Rockett, [Symfony\Component\Filesystem\Exception\IOException] Cannot rename ... -
no problem, thank you for all your work.
-
it seems to be fine now, thank you. I really like your module and all the possibilities it offers.
-
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;
-
I found out the solution, there was another module to install, Inputfield Selectize Multiple . thanks again for this module.
-
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.
-
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....
-
Hello Macrura. Interesting module, but how are you suppose to access all the defined fields in the front-end ? Thank you.
-
yes, it is working as it should now. thank you for the quick fix and for your devotion for this superb project called Processwire,
-
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/
-
FieldtypeHandsontable: Excel-like Inputfield
adrianromega replied to bernhard's topic in Modules/Plugins
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). -
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....
-
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,
-
How to add field called flagicon to Setup >Languages Section?
adrianromega replied to Kemal's topic in Multi-Language Support
Hello. I have a very strange problem in regards to this topic. I have added an image field to language template (simple image, named one_image), formatted to be Single item, attached to each language 1 image (flag) and in the front end I am accessing this field in a loop like this: foreach($languages as $language) { $url = $page->localUrl($language); $hreflang = $homepage->getLanguageValue($language, 'name'); echo "<a hreflang='$hreflang' href='$url'>$language->title <img src='".$language->one_image->url."' /></a>"; } The strange part is that is that is not showing this flag image for the default language (first language, ro) when I select another language (en, fr)... The images are uploaded, I have checked in the DB and admin area. In the front end, for the default language, it is showing only the folder path the image, not outputting the actual file name, for example "/site/assets/files/1010/" . I have attached and detached 2 times this field from the language template, the results are the same. I have also tried different formatting for this image field, nothing works, same results... I am using processwire 3.0.36. I have also attached 2 printscreens. Any advice ? -
Hello Adrian I wanted to try your module, but it seams not to be working. In settings I have left everything blank and unchecked. I am using processwire 2,5,3, $config->advanced = true and "Display 'name' field in content tab?" is enable. Even so, the page name is not changing when I am updating the title. Please help. Thank you.
-
Hello and thanks for this great module. It seams to be working fine except that when is activated for a template, if that template contains image fields, after dragging and dropping the image, this module breaks the upload response and immediate image that was uploaded is not shown (instead is returned the return form inject function of this module). The version control is activated only for body field... Just wanted to mention this. Please tell me is I am doing something wrong. Thank you.