clckwrks-0.20.0: A secure, reliable content management system (CMS) and blogging platform

Safe HaskellNone

Clckwrks.Acid

Synopsis

Documentation

data CoreState_v0 Source

CoreState holds some values that are required by the core itself, or which are useful enough to be shared with numerous plugins/themes.

Constructors

CoreState_v0 

Fields

coreUACCT_v0 :: Maybe UACCT

Google Account UAACT

coreRootRedirect_v0 :: Maybe Text
 

data CoreState Source

CoreState holds some values that are required by the core itself, or which are useful enough to be shared with numerous plugins/themes.

Constructors

CoreState 

Fields

coreSiteName :: Maybe Text
 
coreUACCT :: Maybe UACCT

Google Account UAACT

coreRootRedirect :: Maybe Text
 
coreLoginRedirect :: Maybe Text
 

getUACCT :: Query CoreState (Maybe UACCT)Source

get the UACCT for Google Analytics

setUACCT :: Maybe UACCT -> Update CoreState ()Source

set the UACCT for Google Analytics

getRootRedirect :: Query CoreState (Maybe Text)Source

get the path that / should redirect to

setRootRedirect :: Maybe Text -> Update CoreState ()Source

set the path that / should redirect to

getLoginRedirect :: Query CoreState (Maybe Text)Source

get the path that we should redirect to after login

setLoginRedirect :: Maybe Text -> Update CoreState ()Source

set the path that we should redirect to after login

getSiteName :: Query CoreState (Maybe Text)Source

get the site name

setSiteName :: Maybe Text -> Update CoreState ()Source

set the site name