I wanted to get list of all nodes in a menu tree in Drupal 7, so I wrote this recursive function
Progressive De-coupling using Static Site Generation + RESTful web services or GraphQL
This architecture is suitable for sites where the End Users are anonymous and the content does not change that often, say, once an hour.
I wanted to find out what version of CKEditor I have in my new Drupal 8 site. So rather than digging through the code, I found a quick workaround. Open the edit node page, open console, in Chrome right click -> Inspect. Then in the console prompt type
I moved a whole Drupal site to https mode, and Openlayers maps stopped working in node edit mode. There is a simple fix. Go to the configuration screen:
Today I finally decided to take Drupal 8 for a spin as it is in beta 15 phase - so it must be getting closer. Also, it has just been announced that there will be an upgrade path between beta versions from now on: beta-to-beta-updates. Surprisingly the install of Drupal 8 was almost identical to installing Drupal 7.
I use "Linux Mint 17.1 Rebecca" which comes with PHP 5.5.9, which is a Drupal 8 minimum requirement.
First I created the database and configured my local apache vhost.
Then, in the command line, I downloaded the tarball:
Normally I'm not a command line kind of gal, I can use it but prefer clicking on brightly coloured buttons, dragging and dropping and generally living in the 21st century. For Drush I make an exception, beyond straight forward and each line is supercharged, it's definitely the way to go for both site creation and module / theme installation (creating your sub-themes too). Drush is more than just a tool - it's a powertool!
Today I installed PHP debugger on my Linux Mint Vbox, it was really easy, for a change, as I attempted to do this previously and it was always quite tricky. So this is what I did, if you feel brave and are running linux ...
As we're muttering and stuttering through, say a Monday morning, and nothing seems to be going to plan; sometimes its good to reflect on the positives in life. So thoughts for the day are 10 things we really love about Drupal.
Drupal 7's internationalization modules seem to work great, with only one small problem ....
Everything is working fine except your front page steadfastly refuses to be in more than one language.
If you want to use a node as your front page (rather than a content feed), and you want to be able to switch languages for that home page node, then you need a couple of tweaks. This was also an issue with Drupal 6 and there are lots of cries for help and fixes out there for Drupal 6.