This file contains 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
vagrant@homestead:~$ sudo service apache2 status | |
● apache2.service - LSB: Apache2 web server | |
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled) | |
Drop-In: /lib/systemd/system/apache2.service.d | |
└─apache2-systemd.conf | |
Active: failed (Result: exit-code) since Fri 2018-03-30 12:23:01 UTC; 2min 17s ago | |
Docs: man:systemd-sysv-generator(8) | |
Process: 1481 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE) | |
Mar 30 12:23:01 homestead apache2[1481]: AH00112: Warning: DocumentRoot [/home/vagrant/projects/testinggrounds/public] does not exist |
This file contains 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
<VirtualHost *:80> | |
# The ServerName directive sets the request scheme, hostname and port that | |
# the server uses to identify itself. This is used when creating | |
# redirection URLs. In the context of virtual hosts, the ServerName | |
# specifies what hostname must appear in the request's Host: header to | |
# match this virtual host. For the default virtual host (this file) this | |
# value is not decisive as it is used as a last resort host regardless. | |
# However, you must set it for any further virtual host explicitly. | |
#ServerName www.example.com |
This file contains 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
(function ($) { | |
$(document).ready(function () { | |
makeSignatureKeyboardAccessible(); | |
}); | |
function makeSignatureKeyboardAccessible() { | |
var signaturePopup = $('.signature-wrapper-displayonly'); |
This file contains 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
$channelId = ee('Model')->get('Channel')->filter('channel_name', 'our_team')->first()->channel_id; | |
$entryId = (array_key_exists('id', $_GET)) ? $_GET['id'] : null; | |
$teamMember = ee('Model')->get('ChannelEntry')->filter('channel_id', $channelId)->filter('entry_id', $entryId)->filter('status', 'open')->first(); | |
// how do I get the channel field values for the team member ChannelEntry object??? |