Identifying preview mode inside XSLT

  • Thread starter Thread starter davejay
  • Start date Start date
Status
Not open for further replies.
D

davejay

Guest
LR allows to use a standard variable 'mode' in manifest.lrweb. Value can be 'preview' or 'publish'. But, how to use this variable inside xslt?
I would like to use this mode variable to alter the generated file contents in XSLT.

Thanks
 
AFAIK preview and publish announce to live_update.js that it needs to be active or not. As the original XSLT galleries didn't need live update, I'm not sure you need it in XSLT generation. But as I've not mixed lua and XSLT as Todd has, I' can't be 1''% sure.
Matt?
 
Status
Not open for further replies.
Back
Top