One of the biggest telecommunication companies in Greece just launched their new website, using Drupal 8. The site is a collection for what to do wrong in Drupal site, and I'll mention just a few of the findings here, for educational purposes, or maybe to get some attention to the awesome Greek Drupal Community.
Use this git hook, heavily inspired from https://www.drupal.org/project/dcq to have git run phpcs against the files you are about to commit when using ddev.
While this article is the de facto choice for everybody working with Drupal, you might run into some problems if you follow it blindly. Most important, composer global is under
Installation is actually pretty straightforward:
Occasionally, you might stumble upon a strange error, that happens both on production servers and dev server (ie with the php dev server). You might try to edit (enable/disable/reorder) a menu item in a Drupal menu, but this won't be saved.
This could happen on really big menus, with a lot of items in them. PHP is blocking this change, as a security measure!
For people not running the Suhosin patch, editing the following value in php.ini should do the trick:
In my case I had to bump this up to 3000!
I needed to create a list with the total count of flags, for a specific flag type, made by users. The query to do this for one user is this:
SELECT COUNT(*) FROM flagging WHERE uid=[user_id] AND fid=[flag_id];
Doing this with views, while not very difficult is a bit trivial. You need to start with a node view and not with a user view. From here on things go as follows:
Drupalcon is tomorrow in Prague, and I'm in the city for the last four days. I am really excited, as this will be my first Drupalcon (but not the last).
We are all divided among task teams and working with core. Ain't that amazing?
It's been three years since I originally created vardaxoglou.gr for my friend Yiannis. It was time a for redesign, that's sure. Yianniss' shooting style has changed in the last few years, as have the technologies we use for making websites. While most photographers still have flash sites I decided not to go down that road.
Vardaxoglou.gr is my latest creation and it is a fully responsive photographic website. Check it out if you are into dark designs! I hope to have a case study soon.