Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Beluga last won the day on September 30 2018

Beluga had the most liked content!

Community Reputation

422 Excellent

About Beluga

  • Rank
    Sr. Member

Recent Profile Visitors

7,499 profile views
  1. I assume this would be for the admin. I have never used the other modules, but if you have experienced the need for something more, I'm sure it is sensible to build it
  2. According to the instructions in this thread, you should be able to run it from the command line with "sublime"
  3. This is supposed to be pretty lean, but I have no idea of how well it works with modern web pages: https://www.netsurf-browser.org/
  4. Latest docs: http://tabulator.info/docs/4.2/clipboard
  5. I am willing to work on it I was just about to come back to this as I recently completed a couple of unrelated website rebuilds. I also want to resume my JavaScript studies (halfway through Eloquent JS at the moment). I haven't ran into any downsides or lacking features yet, but the issue tracker might be an enlightening place in that regard.
  6. The module is working otherwise great (thanks a lot!), but when visiting www. subdomain, the URLs of the rootParent children lack the domain. $siteRoot = $page->rootParent; $nav = ""; foreach ($siteRoot->children as $child) { $nav .= "<a href='$child->url'>$child->title</a>\n"; } This produces urls like https://pagename I can use <a href='/$child->name'> instead to make them work as relative URLs, but it would be nice to know what is going wrong. Setup: - Home - mysite.com - myothersite.com $config->MultisiteDomains = array( "mysite.com" => array( "root" => "mysite.com", "http404" => 27 ), "www.mysite.com" => array( "root" => "mysite.com", "http404" => 27 ), "myothersite.com" => array( "root" => "myothersite.com", "http404" => 1017 ), "www.myothersite.com" => array( "root" => "myothersite.com", "http404" => 1017 ) ); $config->httpHosts = array('mysite.com','www.mysite.com','myothersite.com','www.myothersite.com'); If I don't have the separate www. entries in MultisiteDomains, it does not work. It just throws me to the "Home" page, if I try to navigate to www. subdomain.
  7. Why didn't you call me? That's what everyone else I know does when they get printer trouble. Besides, a PW contributor like you gets free lifetime phone support from me. Regarding trying new distros, it should be possible to install the printer-related packages to a live system running from a USB stick and thus test without the hurdle of an actual OS installation. Anyway, that pink bug sounds fascinating!
  8. While the forum is getting some attention, how about disabling the quote tooltip that drives everyone crazy with its evil span insertion ways?
  9. Beluga

    Chart libraries

    Nope, just sad that there was the unnecessary fork. The forker could have just waited for a moment. It does not seem the two projects will be merging in the future.
  10. Beluga

    Chart libraries

    I continue the use of sexy Apex Charts. It is in the process of being updated to use SVG.js 3.0. It seems to have attracted a nice amount of attention and is getting patches from various contributors. C3.js had an unfortunate incident, where a developer thought it was abandoned and decided to fork it. Since the fork, the development of C3.js continued (slowly), so now there is the lovely situation of duplicated work and fractured user base typical in FOSS.
  11. Some weeks ago I started developing a fairly simple multisite using Soma's module, so I was suddenly faced with the need to use "fake domains" locally. After a lot of digging I happened upon a setup that works perfectly with Docker. I was surprised about how smooth it was in the end, because I had read a crazy amount of topics dealing with weird acrobatic methods to achieve this with Docker. I used a tutorial on setting up DNS caching (they have an Ubuntu version as well). It worked fine with my Arch Linux. Later I noticed Arch wiki has a topic about the same thing. My /etc/dnsmasq.conf looks like this: listen-address= port=53 bind-interfaces user=dnsmasq group=dnsmasq pid-file=/var/run/dnsmasq.pid domain-needed bogus-priv no-hosts dns-forward-max=150 cache-size=1000 no-negcache neg-ttl=3600 resolv-file=/etc/resolv.dnsmasq no-poll address=/test/ The last line allows me to use any .test domain. I copied the old contents of my /etc/resolv.conf to /etc/resolv.dnsmasq. I changed /etc/resolv.conf to only contain nameserver Then just sudo systemctl restart dnsmasq to see the thing in action. Finally, I had to protect /etc/resolv.conf. There are various ways, but I found I only needed to stop NetworkManager from overwriting it. In /etc/NetworkManager/NetworkManager.conf I added [main] dns=none Now I just use this in my Caddyfile and enjoy life: mysite.test, anothersite.test tls off
  12. Beluga

    Chart libraries

    It is interesting and because it is Korean, they support older IE versions Yet, we come to the question of "dependency rot" as for drawing SVGs, it depends on RaphaelJS, which is unmaintained. If the deps issue does not scare you, there is a WIP PHP class for feeding data to it.
  13. From Ryan's original post, I understood that PRs and requests would be a collective effort as well ("I thought we’d then move on to the requests repo and PRs if possible").
  14. I found this tip originally for WordPress. function filter_ptags_on_images($content){ return preg_replace('/<p>\\s*?(<a .*?><img.*?><\\/a>|<img.*?>)?\\s*<\\/p>/s', '\1', $content); } $text = filter_ptags_on_images($page->text); echo $text;
  15. Well, RockGrid and RockFinder are still essential to make it work with PW no matter which JS lib we use I will look into donating to Tabulator next to cover all bases. Regarding the earlier discussion about creating a module that makes RockGrid and Apex Charts talk to each other: I might look into it after my plate is cleared of various stuff (such as launching this proverb project).
  • Create New...