Spyderserve Web Development

Archives: Knowledge Articles

SAS moduleTpl Function

_module->moduleTpl($filename, $variables) Description Builds a list from an array of data Variables Name Required Description Type Values Default $filename Yes File path from template/ directory in module string $variables Yes array of variables with name as key array Result This function returns a string of the template file contents.

SAS obSubmit Function

obSubmit(object, module, action, method) Description Used to submit a request or data to the server and then handles return Variables Name Required Description Type Values Default object Yes The object that the result is applied to based on the stated method DOM Object module Yes The referencing Module ID int action  Yes The display or […]

wkhtmltopdf Installation on Centos [Quick Notes]

Here is a quick step by step guide to installing wkhtmltopdf on Centos 6.  Make sure to have root access to the system. 1. Install Dependencies sudo yum install -y xorg-x11-fonts-75dpi xorg-x11-fonts-Type1 2. Install wkhtmltopdf wget http://download.gna.org/wkhtmltopdf/0.12/ rpm -Uvh wkhtmltox- 3. Test wkhtmltopdf www.google.com google.pdf Source: https://jaimegris.wordpress.com/2015/03/03/how-to-install-wkhtmltopdf-in-centos-6-5/

[Quick Reference] Contact Form 7 Google Analytics Event

Add the following code to the Additional Settings field for your contact form to keep track of submissions inside of analytics. on_sent_ok: “ga(‘send’, ‘event’, ‘Contact Form’, ‘sent’);” Source: https://contactform7.com/tracking-form-submissions-with-google-analytics/

Gmail and G Suite Configuration [Quick Reference]

Enable POP/SMTP Support in your Gmail Account: On your computer, open Gmail. In the top right, click the Settings Gear Icon. Click Settings. Click the Forwarding and POP/IMAP tab. In the “POP Download” section, select Enable POP for all mail or Enable POP for mail that arrives from now on. At the bottom of the […]

Spyderserve  PO Box 5831 Valdosta, Georgia 31603 United States