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
[[!FormIt? &store=`1` &hooks=`spam,redirect` &submitVar=`checkout` &redirectTo=`[[*id:scFirstChild]]` ]] [[!scCartUpdate]] | |
<div id="simplecart"> | |
<form action="[[~[[*id]]]]" method="post" id="form_cartoverview"> | |
<input type="hidden" name="updatecart" value="true" /> | |
<div class="table-responsive bottommargin"> | |
<table class="table cart"> | |
<thead> | |
<tr> |
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
[[!getPage? | |
&elementClass=`modSnippet` | |
&element=`getResources` | |
&parents=`[[!getUrlParam? &name=`parent`]]` | |
&depth=`0` | |
&limit=`3` | |
&pageVarKey=`page` | |
&includeTVs=`1` | |
&includeContent=`1` | |
&hideContainers=`1` |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-s | |
RewriteRule ^(.*)$ rest/index.php?_rest=$1 [QSA,NC,L] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^(.*)$ rest/index.php [QSA,NC,L] | |
</IfModule> |
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
<?php | |
/** | |
* Found at: Controllers/Box.php | |
* | |
* Handle requests to [URL]/Controllers/Box. Automagically handles CRUD (GET/POST/PUT/DELETE) for the xPDOObject class myBox. | |
*/ | |
class MyControllerAuth extends modRestController { | |
public $classKey = 'modUser'; | |
public $defaultSortField = 'id'; |
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
<?php | |
// Facebook App id & secret | |
$fb_app_id = isset($fb_app_id) ? $fb_app_id : NULL; | |
$fb_app_secret = isset($fb_app_secret) ? $fb_app_secret : NULL; | |
$access_token = $fb_app_id . '|' . $fb_app_secret; | |
// Other options | |
$page_id = isset($page_id) ? $page_id : NULL ; | |
$chunk = isset($chunk) ? $chunk : 'getPageFeedTpl' ; |
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
a { | |
text-decoration: none; | |
color: #08C; | |
transition: all 0.3s ease-out; | |
position: relative; | |
padding: .5em; | |
margin: -.5em; | |
} | |
a:hover { color: #0AF; } |