{project_gallery}
{!-- section --}
{bk_gallery_section}
<section class="gallery">
{!-- save count of current section --}
{exp:stash:set_value name="section_index" value="{blocks:count:of:type}" random}
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
123.125.71.87 | |
123.125.71.83 | |
86.178.200.107 | |
80.56.101.37 | |
89.123.45.57 | |
174.127.132.146 | |
174.127.132.148 | |
61.140.166.237 | |
89.123.5.255 | |
89.123.55.141 |
{exp:channel:entries...}
{!-- assumming /my/url?statement_id=... --}
{exp:switchee name="get:statement_id" parse="inward"}
{!-- match 0-50 --}
{case value="#^[0-9]$#|#^[1-4][0-9]$#|#^50$"}
{switchee variable="{statement_factor}" parse="inward"}
{case value="Agree"}
###Secure previews of draft entries with Resource Router
-
Make a copy of
index.php
and call itpreview.php
. Add any custom config values inpreview.php
that you might like when previewing entries, such as disabling caching. -
Create a rule for Resource Router that looks something like this:
$config['resource_router'] = array( // match any url
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
HTML: | |
<header id="js-cover" class="cover"> | |
<!-- Optionally specify image width stoppoints to reduce the maximum possible no of transforms per image --> | |
<!-- The appropriate image resolution will automatically be loaded --> | |
<img | |
data-stoppoints="480,768,1200" | |
data-src="http://res.cloudinary.com/<your account name>/image/fetch/w_auto,dpr_auto/http://<your full img url>" | |
class="cld-responsive cover-img" id="js-cover-img"> |
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
# ###################################################################### | |
# # REWRITE RULES # | |
# ###################################################################### | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
################################################################################# | |
# Redirect to canonical domain | |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
if( ! defined('PATH_THIRD')) { define('PATH_THIRD', APPPATH . 'third_party'); }; | |
/** | |
* Zenbu Transcribe support extension | |
* ========================================= | |
* Enables display of Transcribe language for the entry in Zenbu | |
* @version 1.0.0 | |
* @author Koen Veestraeten (@StudioKong) | |
* Based on the examples Zenbu MX Cloner and Zenbu Tag Formatting provided by Nicolas Bottari | |
* Zenbu MX Cloner: https://github.com/nicolasbottari/zenbu_mx_cloner.zenbu_addon.ee2_addon |
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
protected $hooks = array( | |
'@all' => array( | |
'member_id', | |
'screen_name', | |
'username', | |
'group_id', | |
'group_title' | |
), |
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
{!-- | |
These vars are used as a workaround for a bug in Solspace Calendar that causes | |
whitespace around if/else conditionals inside {events}...{/events} to be removed. | |
--} | |
{exp:stash:first_day_ph}first_day first_day{/exp:stash:first_day_ph} | |
{exp:stash:last_day_ph}last_day last_day{/exp:stash:last_day_ph} | |
{exp:stash:open}open {/exp:stash:open} | |
{exp:stash:Provisional}provisional {/exp:stash:Provisional} | |
{!-- Availability calendar --} |
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 | |
/** | |
* Routes | |
* | |
* Defines rules for routing requests to templates | |
* | |
*/ | |
$env_config['resource_router'] = array( | |
/* --------------------------------------------------------- |