Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.
James Blair edited this page Nov 12, 2015 · 7 revisions

#The Unofficial FAQ

Remember folks, a wise man once said... "It's not automagical, but it's pretty straight-forward." We know there will be questions and to help expedite your amazing experience, and to allow us to continue to 💥 the 🐛 we created this magical list to answer some of your questions before trying to field them all individually.

First things first

  • Please start by RTFM you might find what you're looking for.
  • The Dude abides... by the do & don't rule's of creating Issues
  • We ❤️ you and thank you for your willingness, time, and effort to make v2 the best CMS on the planet.

Common Issues with Workarounds

I can't log into the Control Panel####

  • Did you try going to /cp instead of /admin?
  • Check your folder permission's: site local & statamic should likely be 774 or 777 if all else fails. Read More

I can't log into the Control Panel

  • Did you try going to /cp instead of /admin?

Known Issues with Wereworkingons

  • Creating fieldset from CP yields exception error
  • Uploading non-image files to assets gets exception error

Helpful things to know

Generally

  • Replace striptags with strip_tags
  • Replace _site_root with site_root
  • Regex replace theme:partial src="([a-z]+)" with partial:\1

On Pages

  • For now, use nav to mimic pages:listing

On Fieldsets

  • include is no longer supported

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