We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    In the snippet code in the manager, add these lines somewhere after the config file is included (I put it at line 103, or right after the line that loads the iebuttonfix.js)
    	$modx->regClientStartupScript('assets/snippets/webloginpe/js/ieButtonFix.js');
    	
            // add optional stylesheet - sottwell Aug 2009
    	if(isset($stylesheet)) {
    	   $modx->regClientCss($stylesheet);
    	}
    

    Now you can specify a stylesheet in the snippet’s config file or the snippet parameters if you prefer. Personally, I used the main WebLoginPE snippet’s configuration to set it, along with a few other global parameters that are subject to occasional change, so I don’t have to fiddle with them again in the config files.
    &stylesheet=Stylesheet;text;assets/templates/templatename/wlpe.css &groups=Web Groups;text;clients &customTable=Custom Table;text;client_attributes &customFields=Custom Fields;text;firstname,lastname,companyname,title &notify=Notify Addresses;text;[email protected],[email protected]
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org