Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Helpful things to know

James Blair edited this page Nov 13, 2015 · 6 revisions

Generally

  • Remove the prefixed _ underscore from any system variables. E.g. _site_root with site_root.
  • Make sure to change sample.htaccess to .htaccess
  • And as always... check those permissions and user/group!

On Pages

  • For now, use nav to mimic pages:listing

On Fieldsets

  • include not supported yet. Coming soon.

Users

  • stick with using email as the log-in credential
  • Try adding the password: "******" field if you need to reset manually

With Addons

  • To get addon path
    • v1: Config::getAddOnsPath($addonName)
    • v2: addons_path($addonName)
  • To get addon name from meta.yaml: getAddonName()
  • To get addon name from class name: getAddonClassName()
  • To fetch tag parameter
    • v1: $this->fetchParam('param_name', null, null, false, false)
    • v2: $this->get('param_name');
Clone this wiki locally