I’m using a settings table to define some colors for the site which are used to show status of certain cells and rows
These colors are applied accross the entire site
Can I just add these to All Pages > Global code ?
$CellRed = ExecuteScalar(“SELECT Settings.Value FROM Settings WHERE Settings.Setting=‘CellRed’”);
$CellOrange = ExecuteScalar(“SELECT Settings.Value FROM Settings WHERE Settings.Setting=‘CellOrange’”);
$CellGreen = ExecuteScalar(“SELECT Settings.Value FROM Settings WHERE Settings.Setting=‘CellGreen’”);
$RowRed = ExecuteScalar(“SELECT Settings.Value FROM Settings WHERE Settings.Setting=‘RowRed’”);
$RowOrange = ExecuteScalar(“SELECT Settings.Value FROM Settings WHERE Settings.Setting=‘RowOrange’”);
$RowGreen = ExecuteScalar(“SELECT Settings.Value FROM Settings WHERE Settings.Setting=‘RowGreen’”);