-
Posts
7,529 -
Joined
-
Last visited
-
Days Won
160
Everything posted by kongondo
-
Gotcha.
-
@adrian. Is this currently possible though? Are you saying it is possible for ProcessWire to detect which modules are helper/child modules?
-
Welcome to the forums @malvarco and thanks for sharing your work with us ?.
-
Hi @sambadave, The module needs a file field (FieldtypeFile). It does not work with ProcessWire image fields (FieldtypeImage). Using image->width() should have thrown an error since Pagefile does not have such a method as compared to a Pageimage object. IIRC, there is a way you can tell ImageSizer to resize custom images (e.g. in a FieldtypeFile) but I can't seem to find the relevant forums posts at the moment. How did you manage to do this? Are you saying you managed to use an image field with ImageMarker? ?
-
Yes, there is a review process. Normally, module authors would indicate this in their support thread, something along the lines of 'the module has been submitted to the modules directory and is awaiting review. The module is hosted on GitHub....link' ?.
-
@carlitoselmago, Do we have a link to this module's project page and/or download page?
-
@VeiJari, Works fine for me here with the code I posted above. <?php namespace ProcessWire; // get current user $user->of(false); // $user->project_references = $someOtherPage;// @note: not sure it works in all contexts // $user->project_references->add(1654); $user->project_references->add($pages->find("template=basic-page,parent=1651")); // $user->save(); $user->save('project_references');// saving just the multipage reference field What is $userToCreate?
-
A Media Manager field is not the same as an images field. It has no getTag() or findTag() methods. Please read more about this here and here. Currently, there is no direct way of achieving what you want.
-
Yes
-
@DV-JF, No, there isn't. For such cases, we have getMenuItems().
-
@DV-JF Use a try catch block like this: <?php namespace ProcessWire; $menuItemsAsArray = [];// only if use getMenuItems() $menu = ''; $menus = $modules->get('MarkupMenuBuilder'); try { // no error: render menu $menu = "<div>"; $menu .= $menus->render('footer-3', $scnd_options); $menu .= "</div>"; // OR IF USING getMenuItems() //$menuItemsAsArray = $menus->getMenuItems('footer-3'); } catch (\Throwable $th) { //bd($th, 'ERROR'); // get error message (No menu items found! Confirm that such a menu exists and that it has menu items.) $menu = $th->getMessage(); } // if using menu items array if(!empty($menuItemsAsArray)){ // build menu from array }
-
No, I don't think so. But you have 7-days post-purchase to change your mind and get a full refund.
-
Let's say you have Site A, Site B and Site C. Site A and Site B are ProcessWire sites whereas Site C runs on something else (Laravel, WP, some PHP forum, etc). You can use bootstrapping/include to access Site A whilst in Site A when in a CLI environment. You can also use bootstrapping to access Site A inside Site C. To access Site B inside Site A or vice versa, you use multi-instance approach. i.e. one ProcessWire inside another ProcessWire instance (site).
- 1 reply
-
- 1
-
-
Hi @RyanJ, Please see this post and the one after for the resolution. I am still working on a proper solution. Sorry for the inconvenience.
-
I was impressed by their response time actually. I thought I'd have to wait a while but they managed to resolve it via a live chat (took about 30 minutes).
-
Indeed they have! They say it was a one-time glitch in their system that caused the domain not to point to the IP address (or something along those lines). Just waiting for the propagation to finish globally but I can already see the site is working here. Thanks for your help as always @teppo. I'll mark this as solved.
-
Just tried. These cannot find the domain. They do find the sub-domains though. I'm chatting with namecheap. Let's see what they have to say.
-
@teppo, thanks for chiming in. I forgot to mention that I had already tried this as well as https://www.whatsmydns.net/. It doesn't work in these places. As far as I can tell yes. I've also checked reverse DNS Lookup and it points back to my domain name. I don't think so. Besides, they don't manage the domain for me. That's done by namecheap. Only thing Linode have are the value (hostname) of the reverse DNS. I'll try and report back. Thanks.
-
Quick update. MB version 026 and 027 have now been merged into master. Please see the linked posts and the extra fields section of the docs for the changes. Thanks.
-
@Ivan Gretsky Thank you for reminding me about this! Not only are there new features, but the dev version already has fixes for the issue you filed recently! I note that I added these features way back in January 2020! For now, I'll just blame the pandemic/isolation for my forgetfulness ?. I'll merge to master asap. Thanks.
-
Hi all, I have a site that suddenly is no longer reachable via its domain name. It can only be reached via its IP Address! The message the browser displays if you try to access the site is: server IP address could not be found. Funny thing is that its subdomains and other domains on the same server work just fine, reachable via their domain names. I have Googled and tried a few suggestions such as confirming the site is not getting blocked by my local network, to no avail. The site sits on a VPN server (Linode) but the domain names and dns are with Namecheap. The only recent change is Linode upgraded the VPN, to offer more storage. Sometimes back, I cannot remember how long, I upgraded the server to PHP 7.2 (I know, I need to upgrade again), but I didn't experience any issues. Any ideas where to look, what to try please? Thanks.
-
Exactly what you caught me typing, i.e., if you declare one and not the other, the other value gets automatically and proportionately resized. So, if you declare height, width will be auto and vice versa. If you set both height and width and have this setting 'post_small_image_size' => true, then you will get exact dimensions. Currently this is only explained in the code, e.g. here but the language can be improved. For instance, the 'no manipulation' is not exactly true as that dimension will be autosized..
-
I am afraid I don't understand the question. Do you mean editing an image, e.g. your 'welcome-waving' image by clicking on Edit, then the crop icon? Which settings are these? Maybe send me a screenshot of what you are trying to do? Thanks.