I want to run an uber simple database query within a view using the Views PHP plugin and Global:PHP field, but I am not fully understanding this process, so any pointers would help.
There are 2 areas for entering php, value code and output; how do I pass the value to the output?
General advice and/or Pitfalls about querying the database using views would be dandy.
I thought this would be a quick (albeit dirty way) of getting a custom value, but am I just on the crock or something by trying this approach?
I'm trying to filter out repeated events from a date field. I'm using the module https://www.drupal.org/project/date_repeat_instance do be able to create repeat date events set on the content type. I then show them in a view. In the view they show correctly on the date they are supposed to but I also have a small tooltip that shows the actual node and that just shows all the dates like the image below.
I installed aegir 3 on ubuntu 18.04 LTS. when i installed aegir 3 drupal also got installed. I am trying to add a new site using openatrium 2 as the platform. when the site finishes installing i get the following errors in the aegir log. Any advice would be very helpful.
count(): Parameter must be an array or an object that implements Countable form.inc:1434
I am having an issue with my site working on smart phones. The page loads fine. However, as the user scrolls up or down through the page the page refreshes and goes to the top or bottom of the page. The user often loses their place on the page and must scroll down again. The page will refresh again causing much sadness and frustration. I am assuming it is part of the media query and having some elements may be too wide which causes the page to refresh to a new width/size.