This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% set seomaticMeta = { | |
| seoTitle: seoTitle ?? seomaticMeta.seoTitle, | |
| seoDescription: seoDescription ?? seomaticMeta.seoDescription, | |
| seoKeywords: seomaticMeta.seoKeywords, | |
| seoImage: seoImage ?? seomaticMeta.seoImage, | |
| canonicalUrl: canonicalUrl ?? seomaticMeta.canonicalUrl, | |
| twitter: { | |
| card: seomaticMeta.twitter.card, | |
| site: seomaticMeta.twitter.site, | |
| creator: seomaticMeta.twitter.creator, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Craft; | |
| // This file could be placed into your public_html folder and visited to import a cheese product. | |
| $craft = require '../craft/app/bootstrap.php'; | |
| $craft->plugins->loadPlugins(); | |
| $criteria = craft()->elements->getCriteria(ElementType::Entry); | |
| $criteria->section = 'books'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [PHP] | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; About php.ini ; | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; PHP's initialization file, generally called php.ini, is responsible for | |
| ; configuring many of the aspects of PHP's behavior. | |
| ; PHP attempts to find and load this configuration from a number of locations. | |
| ; The following is a summary of its search order: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # humanstxt.org/ | |
| # The humans responsible & technology colophon | |
| # TEAM | |
| FAMILIAR - familiar-studio.com | |
| Keith Mancuso -- Tech Partner | |
| Carl Williamson -- Design Partner | |
| Ian Crowther -- Design Partner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80; | |
| server_name familiar.studio www.familiar-studio.com www.familiar.studio familiarstudio.com www.familiarstudio.com familiar.io familiar.is; | |
| return 301 http://familiar-studio.com$request_uri; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Site by Familiar | |
| ////////////////////// | |
| ////////////////////// | |
| ////////////////////// | |
| /////// | |
| /////// | |
| /////// | |
| /////// | |
| /////// | |
| /////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public PageReference checkIfNotNominee() { | |
| User theUser = GlobalVariables.getCurrentUser(); | |
| Coontact theContact = GlobalVariables.getCurrentContact(theUser); | |
| if (theContact.RecordTypeId != RecordTypeConstant.nomineeContactRecordTypeId) { | |
| PageReference page = System.Page.PosseCommunity; | |
| page.setRedirect(true); | |
| return page; | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% set segments = craft.request.getSegments() %} | |
| {% set newUrl = segments[2:segments|length] %} | |
| {% set newUrl = city.slug ~ newUrl %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Craft; | |
| class SalesforceController extends BaseController | |
| { | |
| private $scopes = array(); | |
| private $params = array(); | |
| public function actionGetStudents() { | |
| return 'test this stuff out'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.directive ('modal', function() { | |
| return { | |
| replace: false, | |
| link:function (scope, element, attrs) { | |
| element.fitVids(); | |
| } | |
| } | |
| }) |