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
{exp:stash:set | |
name = "canonical_uri" | |
save = "yes" | |
refresh = "525600" | |
}{exp:switchee variable="{last_segment}"}{case value="" default="yes"}{/case}{case value="{segment_1}"}/{segment_1}{/case}{case value="{segment_2}"}/{segment_1}/{segment_2}{/case}{case value="{segment_3}"}/{segment_1}/{segment_2}/{segment_3}{/case}{/exp:switchee}{/exp:stash:set} |
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
{!-- | |
Place the following line in <head> | |
{exp:string name="noindex"} | |
--} | |
{exp:string:set name="noindex"}<meta name="robots" content="noindex">{/exp:string:set} |
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
<title>{exp:stash:get name="title"}</title> |
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
{!-- | |
Place the following line in the <head> | |
{exp:string name="inline_styling"} | |
You'll need to create a textarea and set formatting to "None." The short name in the example is inline_styling. | |
--} | |
{exp:channel:entries |
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
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xmlns:ee_addon="http://ee-garage.com/nsm_addon_updater"> | |
<channel> | |
<title>cpb [ADD-ON_NAME] Changelog</title> | |
<link>http://curtisblackwell.com/expressionengine-add-ons/cpb-[WEBSAFE ADD-ON NAME]</link> | |
<description>cpb [ADD-ON_NAME] Changelog</description> | |
{exp:channel:entries | |
channel = "addons" | |
disable = "categories|member_data|pagination" | |
entry_id = "[ENTRY_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 | |
/* | |
Place the following line above the $plugin_info array in pi.[add_on_name].php: | |
require_once(PATH_THIRD . '[websafe_add-on_name]/config.php'); | |
*/ | |
if (! defined('ADD_ON_V')) { | |
define('ADD_ON_NAME', 'cpb [Add-on Name]'); | |
define('ADD_ON_V', '0.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
## OS X GENERATED FILES | |
.DS_Store | |
Icon | |
Icon? | |
Thumbs.db | |
._* | |
.Spotlight-V100 | |
.Trashes | |
## MISCELLANEOUS |
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
## OS X GENERATED FILES | |
.DS_Store | |
Icon | |
Icon? | |
Thumbs.db | |
._* | |
.Spotlight-V100 | |
.Trashes |
NewerOlder