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
<nav class="top-bar"> | |
<ul class="title-area"> | |
<li class="name"> | |
<h1><a href="{path=}">Top Site Label </a></h1> | |
</li> | |
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li> | |
</ul> | |
<section class="top-bar-section"> | |
{exp:taxonomy:nav | |
tree_id="2" |
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
<div class="section-container auto" data-section> | |
{exp:taxonomy:nav | |
tree_id="2" | |
display_root="no" | |
style="linear" | |
} | |
{if node_level == 1} | |
<section{if node_level_count == 1} class="active"{/if}> | |
<p class="title" data-section-title> | |
<a href="#panel{node_level_count}">{node_title}</a> |
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:taxonomy:prev_node tree_id="1" entry_id="{entry_id}"} | |
<h3>Previous node</h3> | |
<p><a href="{prev_node_url}">{prev_node_label}</a></p> | |
{if no_prev_node} | |
<p>No previous node!</p> | |
{/if} | |
{/exp:taxonomy:prev_node} |
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:taxonomy:next_node tree_id="1" entry_id="{entry_id}"} | |
<h3>Next node</h3> | |
<a href="{next_node_url}">{next_node_label}</a> | |
{if no_next_node} | |
<p>No next node!</p> | |
{/if} | |
{/exp:taxonomy:next_node} |
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:taxonomy:set_node tree_id="1" 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
if (ee()->extensions->active_hook('taxonomy_updated')) | |
{ | |
ee()->extensions->call('taxonomy_updated', $this->tree_id, $update_type, $data); | |
} |
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:taxonomy:entries parent_entry_id="{entry_id}" dynamic="no"} | |
<h2><a href="{exp:taxonomy:node_url entry_id="{tx:entry_id}"}">{tx:title}</a></h2> | |
<p>{tx:page_introduction}</p> | |
{/exp:taxonomy: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
{exp:channel:entries channel="some_pages" limit="1"} | |
{exp:taxonomy:set_node | |
tree_id="2" | |
entry_id="{entry_id}" | |
add_globals="yes" | |
} | |
<p>You are here: | |
{exp:taxonomy:breadcrumbs} |
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:taxonomy:nav tree_id="1"} | |
<li> <a href="{node_url}">{node_title}</a> {children} </li> | |
{/exp:taxonomy:nav} |