Instruction says to install the module using composer. I do not have composer set up in shared hosting server and I also have to learn how to use composer. All I did was structure > extend> Installed the module. I was able to successfully install the module.
In my article body, I use IMCE to upload and insert image at local, image's src is "/sites/all/files/imagename.jpg". Everything works fine.
When I move my site to remote server, at mydomain.com/subfolder/othersubfolder, every inline image is broken. To correct, I must adjust their's src to "/subfolder/othersubfolder/sites/all/files/imagename.jpg"
Is there any solution to prevent this happen everytime I upload from local to remote.
When I first tried this, nothing happened. I checked the logs and discovered I need the PHP phar extension enabled. I enabled that, but now the installation won't proceed without enabling allow_url_fopen in the PHP options.
I would like to create some statistics: total number of registered users, total number of subscribers, total number of registered users online on website without paid membership and so on.
I'm trying to find out a solution. DRUPAL8.
Create a table in the database with all the statistics I need, after that create a view page with the the information from that table, so I need to write some custom php code in that view with simple queries.
Is this a good approach? There are any rules? I'm new to Drupal, thanks in advance.
Can I build in API-first approach and still apply the usual approach to drupal theming? Go to production and then in the future (say a year's time) build a JS framework frontend that reads off content from the API-first drupal repository? Thsank you for any direction.