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
{cf_work_row1} {!-- matrix --} | |
{cf_work_row1_proj} {!-- playa --} | |
{title} <- THIS WORKS! | |
{cf_project_feature:table cellspacing="0" cellpadding="0"} {!-- matrix --} <- THIS WORKS | |
img: {cf_project_feature} {!-- matrix --} | |
{cf_project_feature_img} <- THIS DOESNT WORK |
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
First set: | |
(0.067957 / 16.16MB) Stash: SET proj_list to value |+|proj_title|=|MS Society|&|proj_url|=|ms-society|&|proj_cat|=|{exp:gwcode_categories entry_id='196' style='linear' limit='1'}{cat_url_title}{/exp:gwcode_categories}|&|proj_img|=|http://xxx.xxx.xxx/uploads/images/hawkhurst.jpg|&|proj_size|=|{exp:low_random:number from="2" to="4"} | |
Retrieve: | |
(0.070703 / 16.12MB) Stash: RETRIEVED proj_list with value |+|proj_title|=|MS Society|&|proj_url|=|ms-society|&|proj_cat|=|{exp:gwcode_categories entry_id='196' style='linear' limit='1'}{cat_url_title}{/exp:gwcode_categories}|&|proj_img|=|http://xxx.xxx.xxx/uploads/images/hawkhurst.jpg|&|proj_size|=|{exp:low_random:number from="2" to="4"}|+|proj_title|=|Lambeth Council|&|proj_url|=|lambeth-council|&|proj_cat|=|{exp:gwcode_categories entry_id='197' style='linear' limit='1'}{cat_url_title}{/exp:gwcode_categories}|&|proj_img|=|http://xxx.xxx.xxx/uploads/images/theoldcourtroom.jpg|&|proj_size|=|{exp:low_random:number from="2" to="4"} | |
And the problem area: | |
====== |
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
My set tag: | |
{exp:stash:set parse_tags="yes" parse_depth="2"} | |
{exp:channel:entries channel="project" category="{segment_2_category_id}" disable="member_data|pagination" dynamic="no" orderby="random"} | |
{exp:stash:append_list name="proj_list"} | |
{stash:proj_title}{title}{/stash:proj_title} | |
{stash:proj_url}{url_title}{/stash:proj_url} | |
{stash:proj_cat}{exp:gwcode_categories entry_id='{entry_id}' style='linear' limit='1'}{cat_url_title}{/exp:gwcode_categories}{/stash:proj_cat} | |
{stash:proj_img}{cf_project_feature limit="1"}{cf_project_feature_img}{/cf_project_feature}{/stash:proj_img} | |
{stash:proj_size}{exp:low_random:number from="2" to="4"}{/stash:proj_size} |
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
// Google Map Custom Marker Maker 2012 | |
// Please include the following credit in your code | |
// Sample custom marker code created with Google Map Custom Marker Maker | |
// http://powerhut.co.uk/googlemaps/custom_markers.php | |
var point = new google.maps.LatLng(50.875311, 0.351563); | |
var myMapOptions = { | |
zoom: 5, |
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
$chars = $this->EE->TMPL->fetch_param('chars'); | |
$words = $this->EE->TMPL->fetch_param('words'); | |
$cutoff = $this->EE->TMPL->fetch_param('cutoff'); | |
$append = $this->EE->TMPL->fetch_param('append', ''); | |
$allow = $this->EE->TMPL->fetch_param('allow'); |
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
/** ------------------------------------- | |
/** Initiate parameters and vars | |
/** -------------------------------------*/ | |
$params = array( | |
'entry_id' => '', | |
'url_title' => '', | |
'weblog_id' => '', | |
'weblog' => '', | |
'custom_field' => '', |
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
/themes/wiki_themes | |
/themes/site_themes | |
/themes/profile_themes | |
/themes/cp_themes/corporate |
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
Base add-ons: | |
SnippetsSync [http://devot-ee.com/add-ons/snippetssync/] - Free, enables snippets and global variables to be saved as flat files | |
Switchee [http://devot-ee.com/add-ons/switchee/] - Free, duplicates and extends on php’s switch statement using simple EE code | |
Expresso/Wygwam [http://devot-ee.com/add-ons/expresso/ or http://devot-ee.com/add-ons/wygwam/] - Paid, WYSIWYG editors | |
EE Hive Hacksaw [http://devot-ee.com/add-ons/hacksaw/] - Free, text truncating plugin | |
CE Image [http://devot-ee.com/add-ons/ce-image/] - Paid, Image resizing plugin | |
Better Workflow [http://devot-ee.com/add-ons/better-workflow/] - Paid, workflow and entry preview | |
Situational: | |
Matrix [http://devot-ee.com/add-ons/matrix/] - Paid, fieldtype that enables tabular data rows to be inputted. E.G. photo gallery |
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
{sp_header} | |
{exp:channel:entries channel="editorial" disable="categories|category_fields|member_data|pagination" limit="1"} | |
<div id="bodyContent"> | |
<h1>{title}</h1> | |
{cf_editorial_body} | |
{sp_page_actions} | |
</div> |
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'); | |
switch($_SERVER['HTTP_HOST']) { | |
case 'local.dev': | |
$active_group = 'local'; | |
break; | |
case 'test.site': | |
$active_group = 'test'; | |
break; |
NewerOlder