tounderstand   1028

« earlier    

Theme sections · Shopify Help Center
Theme sections contain section specific theme settings. Note, that even though you can statically / manually add sections to different templates using the {%- section -%} tags, that any data added to those settings is STILL SHARED by all the templates that include the section. So, in other words, if you want to have data specific to certain templates which include the sections you need to use something like section blocks whereby you can specify the name of the template for which a portion of data pertains to. Then in your code you can detect the template name and use the data specific to that template.
shopify  documentation  guide  reference  section  theme  development  schema  sections  data  howto  example  toread  tolearn  totry  tounderstand 
yesterday by racl101
Theme sections · Shopify Help Center
Theme sections contain section specific theme settings. Note, that even though you can statically / manually add sections to different templates using the {%- section -%} tags, that any data added to those settings is STILL SHARED by all the templates that include the section. So, in other words, if you want to have data specific to certain templates which include the sections you need to use something like section blocks whereby you can specify the name of the template for which a portion of data pertains to. Then in your code you can detect the template name and use the data specific to that template.
shopify  documentation  guide  reference  section  theme  development  schema  sections  data  howto  example  toread  tolearn  totry  tounderstand 
yesterday by racl101
Ecommerce University | Shopify - using if statements within js.liquid files - Shopify Design
This forum contains a good explanation of why certain liquid template keywords like: {{ template }} do not return what you expect in .js.liquid files. So don't use it to try to detect the template from within the .js.liquid files. Instead, in the theme.liquid template, in the head tag do something like this:

<script>
var template = {{ template | json }};
</script>

and then use that variable in your JavaScripts that you include externally, like so:

if(template === 'index'){
console.log('homepage loaded');
}
shopify  ecommerce  university  forum  guide  reference  explanation  css  javascript  assets  template  detection  liquid  syntax  caveat  proviso  toread  tolearn  tounderstand 
yesterday by racl101
PHP and WordPress Hosting on DigitalOcean - ServerPilot
This service looks promising for hosting PHP projects like WordPress and Laravel in that it looks like it has very modern software stack, and yet, might be wasy enough for someone like Erick to use.
hosting  monitoring  service  server  php  wordpress  laravel  totry  tolearn  tounderstand 
yesterday by racl101
fileglob - list files matching a pattern — Ansible Documentation
This is for matching files but only locally. That is only in the machine that's running the ansible playbook.

To be able to find files matching a certain pattern on a remote host use the find module.
ansible  howto  example  guide  reference  fileglob  module  documentation  tutorial  toread  tolearn  totry  tounderstand 
14 days ago by racl101
MySQL :: MySQL 5.7 Reference Manual :: 4.2.6 Using Option Files
Check out the table under the heading: "Option Files Read on Unix and Unix-Like Systems" to see where (and in what order) MySQL checks for options.

Of specific importance for logging in passwordless, at least with Ansible, is the ~/.my.cnf file.
mysql  server  config  documentation  guide  reference  my.cnf  user  howto  example  toread  tolearn  totry  tounderstand 
17 days ago by racl101

« earlier    

related tags

accept  access  add  affinity  agent  ajax  algorithm  all  allow_url_fopen  amazon  amazonlinux  amazonlinux2  analyst  animal  ansible  antipattern  apache  api  app  apple  application  apt-get  array  arrays  ascii  assets  assign  assume  at  attacks  auth  authentication  auto  aws  awscli  balancer  bash  being  bestpractices  block  blocks  blog  boto3  browser  bucket  build  byte  capture  care  career  cart  cartjs  caveat  certificate  certificates  change  character  chmod  classic  cli  closure  cloud  code  column  command  commandline  commands  company  compare  composer  config  configuration  configurations  configure  connection  create  css  css3  csv  customize  data  database  date  datetime  ddos  debounce  decrement  deploy  design  designer  desired  destructuring  detection  development  device  devops  diagram  dictionary  dicts  difference  differences  digitalocean  disconnected  discount  documentation  dog  download  dry  dzone  ec2  ecmascript  ecommerce  edraw  encoding  engine  enum  env  environment  environments  error  es2015  es6  example  examples  excel  explanation  expressions  failure  faq  feature  features  file  fileglob  files  filter  filters  firewall  fix  flowchart  for  form  forum  functions  galaxy  getaddresses  getting  gettingstarted  gist  git  github  global  grant  group  guide  handlers  hard  hashes  hosting  hostname  hosts  howto  howtoforge  iam  id  ids  implementation  importing  include  increment  install  instance  instances  interesting  internationalization  introduction  itchy  javascript  jinja2  job  jquery  json  jwt  key  keychain  lambdas  lamp  language  laravel  laravel5.5  laravel5  layout  letsencrypt  library  limits  linux  liquid  lists  load  local  localhost  logic  longer  lookup  loop  looping  machine  macos  macosx  man  manager  mariadb  max  media  medium  min  mobile  module  money  monitoring  multiple  my.cnf  mysql  name  network  new  nginx  npm  object  objects  open  operator  os  output  overview  packagist  page  pam  patterns  permission  php-fpm  php.ini  php  php5.4  php5  pip  playbook  playbooks  plugin  policies  policy  portable  postman  ppa  prerequisite  prerequisites  prevent  price  private  product  project  proviso  pug  python  python2.7  python3  query  ransomware  rds  reference  replace  repository  request  reserved  resolution  resource  responsive  reusable  role  roles  root  route  rules  run  runtime  s3  sandbox  scaling  schema  scope  scotch.io  scotchio  script  secret  section  sections  security  self  server  serverfault  servers  service  services  setgid  setup  share  shell  shopify  sidekiq  sierra  signed  single  sitepoint  size  skin  slate  snap  software  spa  specs  spreadsheet  ssh  ssl  ssm  stackexchange  stackoverflow  started  startup  steps  store  string  strings  style  support  syntax  systems  t  tags  tasks  template  templates  templating  temporary  ternary  testing  theme  throttle  time  timezones  to  tofix  tolearn  tool  toread  totry  translation  trick  troubleshoot  truncated  tutorial  tutorials  type  ubuntu  ubuntu16.04  ubuntu18.04  udacity  unauthenticated  unicode  university  unix.stackexchange  unix  use  user  users  utf8  values  variable  variables  variant  vendor  vue  vue2  vuejs  wiki  windows  without  wordpress  worker  yaml  yarn 

Copy this bookmark:



description:


tags: