PDA

View Full Version : Phrasegroup for Control Panel Stop Message?


JamesAB
02-07-2012, 04:31 PM
What is the variable to put in the $phrasegroups array to include Control Panel Stop Message phrases?

Is there a master list posted somewhere I could use as a reference to look up phrasegroups in the future?

Thanks for your help,
James

kh99
02-07-2012, 06:18 PM
For Control Panel Stop Message, it's cpstopmsg.

I don't know if there's a reference, but ifyou view the source of the Phrase Manager page, you can see them as the values of each options.

JamesAB
02-07-2012, 10:50 PM
Thanks for your help kh99.

--------------- Added 1328661197 at 1328661197 ---------------

I thought this would be simple...

Adding cpstopmsg makes the page show the generic database error
The Forum database has encountered a problem.

All I'm doing is changing this:
// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array('banning', 'cpuser');

To this:
// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array('banning', 'cpuser', 'cpstopmsg');

What am I missing here?

Thanks for your help,
James