Jump to content

kongondo

PW-Moderators
  • Posts

    7,473
  • Joined

  • Last visited

  • Days Won

    144

Everything posted by kongondo

  1. No, I don't think so. But you have 7-days post-purchase to change your mind and get a full refund.
  2. 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).
  3. 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.
  4. 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).
  5. 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.
  6. 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.
  7. @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.
  8. 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.
  9. @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.
  10. 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.
  11. 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..
  12. 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.
  13. Excellent! Glad you got it sorted ?.
  14. Edit the field blog_images Go to its Details Tab Scroll down to the bottom to the Use Tags section. Enable tags using one of options 2 - 4. I normally use 2 (user enters tags by text input). Save
  15. Sorry about this. The documentation can be improved (even completed! ?). You need to add the tag to an image in your blog post. These are the images in the blog_images field in a blog-post template. See attached (zipped) animated GIF (it seems I cannot upload GIFs anymore). featured-image-blog.gif.zip
  16. Thanks for reporting this @DV-JF. Incidentally, @Ivan Gretsky reported the same warning yesterday in the GitHub repo ?.
  17. Definitely not! That's not how we roll in this community. I guess you should start here then? https://processwire.com/docs/start/templates/ It's always the name of the field :-) <?php namespace ProcessWire; // will yield its value // @note: the value can be as simple as a string or integer, or more complex, e.g. an array or object // @note: that field must be present in the template that this page uses $page->name_of_field; In other words the 'name of the field' is a property (some would say attribute) of that page. Just like things (humans, buildings, animals, etc) have properties/attributes: height, width, etc. Edit Also note that $page always refers to the current page, but the principle of 'name_of_field' still applies. For example: <?php namespace ProcessWire; // this page we are viewing // get a property from it. $height = $page->height;// height is the name of an integer field in the template used by this page echo $height; // get another page not currently in view // get it using its ID $anotherPage = $pages->get(1234); // this other page uses the same template as our 'current page' above // so, we can get its height property as well $anotherPageHeight = $anotherPage->height; echo $anotherPageHeight; // @note: we only echo 'simple' field values, i.e. those that do not return an array or an object, etc
  18. Welcome to the forums and to ProcessWire @brandy :-). I don't know how much of the docs and/or tutorials you have gone through already. If you haven't already seen the docs about $page and $pages. I'll also throw in selectors. You'll get along better and farther with these under your belt.
  19. Welcome to the forums @jonassalen, Have a look at this thread. It should answer your question, but the solutions might need a bit of tweaking since the case there was to 'preserve' default language pages.
  20. What does this mean exactly? No save? No post? ? Depends on the type of field. Plain text? Not repeaters by the looks of it. Maybe a little bit more info will help get better responses :-).
  21. Maybe a sign that it's times for a break ?. Sometimes it helps to 'speak out your code' to determine if it makes sense. Have a look at that line. tableofcontents_table, I assume, is your Profields Table. Reading that out loud, your code is saying, find me siblings (PLURAL) of this page and get me the value of its (SINGLE) tableofcontents_table field. Doesn't sound right, does it? It's like saying 'find me 10 oranges (PLURAL) and show me its (SINGLE) price. That's wrong. The question would be, which orange's price? We have 10 oranges here! It should read, 'find me 10 oranges (PLURAL) and show me their (PLURAL) prices. Aha, so, we are dealing with a collection. Any collection has to be iterated (foreach) to get each members individual value. Alternatively, you could ask for the first(), last() or nth() orange to deal with one member only. OK, so I need to get some sleep too. The docs say this about $page->siblings(): $toc is a PageArray. If you run this in Tracy console: <?php d($page->siblings("template=tableofcontents")->tableofcontents_table);// null You will get the value null, hence your error message since you are doing this null->render(). Now for some unsolicited advice ?. TracyDebugger is your best friend. The table clearly is there and clearly is a sibling and its template is as stated and the table also. Whilst this might be the case, it is best to always check if your selector/query returned something (and its type) before you start working with it. Hope this helps. ps: Profields Table has its own VIP support forum, accessible to you if you have a current subscription
  22. Glad you got it sorted! ?. Hmm. That sounds like one-too-many hoops. This is an interesting one. I have never really thought of the guest needing to have a preferred theme, but I can see the setting in Users > guest. Why would the guest need a theme at all? I'll have a think unless someone beats me to this.
  23. moderator note Nice try, but no. The article is about migrating from D8 to D9. I have removed your (advertising) link.
×
×
  • Create New...