add toggle variables to lms/cms/preview/xml