acquia

Drupal Local Development Setup/Environment

我的未来我决定 提交于 2020-12-13 20:57:28
问题 Background I have been developing Drupal Sites for a little over 2 years now and I have noticed that my dev environments are not as user friendly and as simple as I have expected. The current process is we have a git repo where we store all the code, then we have a vagrant box setup as our virtual machine to run our local development in. The issue comes along with the fact of constantly having to go through loop holes of trying to get everything to work well together. Or there will be issues

.htaccess AuthUserFile variable based on environment

天大地大妈咪最大 提交于 2020-05-15 09:34:09
问题 I'm trying to load the .htpasswd file based on environment. If I hard code the URL it works fine. AuthType Basic AuthName "Password Protected" AuthUserFile /var/www/html/sitename.dev/docroot/.htpasswd Require valid-user Our hosting provider is providing a global variable you can use in htaccess. %{ENV:AH_SITE_ENVIRONMENT} The Acquia hosting environment — possible values are dev , test , or prod Using the variable we can check on which environment we currently are. If needed it can also be

Twitter Bootstrap Js (tabs, popups, dropdown) not working in Drupal

旧巷老猫 提交于 2019-12-12 04:55:26
问题 Firstly I design the site & convert it into HTML using Twitter bootstrap. The static model of my site is working absolutely fine all tabs popup etc working just fine. But when I give the HTML to developer’s for implementing dynamic code & template creating all things stop working only UI is there but no tabs, popup, dropdown is working I check the JS paths they all are fine. developer even plugged in the jQuery simple tabs they are working fine but twitter bootstrap JS is not working any idea