-
Posts
95 -
Joined
-
Last visited
Posts posted by peterfoeng
-
-
Wanze, this is a very nice module I am playing around with it now
-
I am running the dev 2.4.7, it seems that the field links are not working at all. Can someone else confirm this? Thanks much
-
I agree! My vote goes to Robben
-
Random question, what version is dev now? lol
-
Welcome to the club
-
Hi Soma,
I am using the latest modulemanager (2.1.2) and the latest processwire build, but for some weird reasons the module only list 10 modules available. I have increased the limit to 100 but no go. Any ideas?
-
Hi,
I am interested if you guys allow me to help
- 2
-
Very useful module, just got a chance to play around with this module on the project I am working on
- 1
-
I am playing around with this module but correct me if I am wrong, it seems that new images are always being generated everytime I see the page?
I download the latest module from Github but I think something is not right when it is being used with something like:
thumbnail,250,0
medium,550,0
the execution takes forever and everytime the page is being loaded, every images is being cropped all over again which I believe it should not.---------
UPDATE: I am submitting a pull-request for the issue I am having Please kindly review this PR here: https://github.com/apeisa/Thumbnails/pull/22/files
-
Hi,
First I will like to say my thanks for the module as I am using it in my solution. I needed to crop images based on their width only in some cases, I read the thread and there was a discussion of implementing it, not sure what was the conclusion but looking at code shows me that it is not implemented.
As I understand that ImageSizer's resize function can work without providing a height (or providing 0) and in this case it only considers width. Isn't it logical we remove the height condition from condition as follow,
($this->w < 1) {
throw new WireException(sprintf($this->_("Width not found for thumb: %s"), $thumb));return;}and if height is 0, then $sizer->resize($this->w, $this->h) will just work fine based on width.I have tested and it works fine but before I deploy it on production I need an opinion?Thanks
Haven't tested it yet but will a great addition! Thanks much
-
PHPStorm, and before that Sublime Text 3
- 1
-
I am wondering, if the prependTemplateFile is supported here?
I try to play around with this module over the weekend but no luck. It seems that it does not recognize the prependTemplateFile.
-
Hi GuruMeditation,
Regarding the profile scenario above, I am pretty sure profields will make it easier and save you time. I recently move across my billing & shilpping information from invidual fields to profields textarea which I believe should have saved me time and will be easier to maintain over the long run. Cheers- 1
-
Hi Ryan,
I am wondering if Page Fieldtype will be part of Table field in the future? Not sure if this is even possible though, lol
-
Hi Ryan,
Is this a replacement for the repeater fieldtype? somehow I guess
Cheers
-
Will be very useful also for things like shipping and billing as I am using individual fields to store user dafa like first name, last name etc...this is a huge time saver!
Cant wait for it to be available, thanks Ryan!
- 1
-
Hi everyone,
I try to test this module and it seems it does not work when I try the examples in the service-pages page that comes with this module. I have made sure that the template field is included in the config but it comes up with this error: Error: Template 'basic-page' is not allowed in queries
Not quiet sure what settings I did miss here. Here is the screenshot:
Appreciate any help to solve this issue Cheers
-
Hi adrianmak,
While there is not out of the box functionality, you can build this stuffs pretty fast. A lot of people including myself build the membership functionality following this link:
https://processwire.com/talk/topic/1716-integrating-a-member-visitor-login-form/?p=15919
Hope this helps
-
Hi,
Looking into the hosting, it seems pretty good and pretty sure can run processwire without issues. You might want to double check the requirement page again:
http://processwire.com/about/requirements/
Good luck with the first PW site!
-
The code looks fine to me. I have a project that implements the login functionality and the code is similar to mine. What sort of internal server error do you get?
-
if($items->order_product = $form_addtocart[item]) {
Above may not work as you need:
if($items->order_product == $form_addtocart[item]) {
Doube equals sign instead of single equal sign. The rest should be working as expected unless I am missing something
-
Hi,
I am wondering if we can also we move the fields on the template (global field) to the settings tab. I am having a bit of issue understanding of what needs to be done./** * Initialize the module * * ProcessWire calls this when the module is loaded. For 'autoload' modules, this will be called * when ProcessWire's API is ready. As a result, this is a good place to attach hooks. * */ public function init() { // add a 'hello' method to every page that returns "Hello World" $this->addHookAfter('ProcessPageEdit::buildFormSettings', $this, 'example'); } public function example($event) { $page = $event->object->getPage(); $form = $event->arguments("form"); echo $page->template; print_r($form); $wrapper = $event->return; $templateField = $wrapper->get('template'); $myField = wire('modules')->get('InputfieldText'); $myField->attr('name', 'hello'); $myField->label = "Hello there"; //$wrapper->insertAfter($page->get('title'), $templateField); $event->return = $wrapper; }
Can this be done? I wonder Thanks
-
Life saver Adrian! I was just thinking that it would be nice to have feature two days ago for the project I am working on at the moment. I haven't tested it but from the looks of it very promising. Cheers
-
I never dive in into module development yet, but how hard it is to change one of the field into page field type? Cheers
Delete Repeater Item
in General Support
Posted
Hi Rodwyn,
Welcome to PW forum Hopefully the example below help you out:
Things you need to remember with Repeater is that Repeater Item is an actual page in processwire but being hidden in the tree and obviously Repeater field is an array of pages (wirearray). For documentation please refer to this page: https://processwire.com/api/arrays/
Hope this helps