Skip to content

Instantly share code, notes, and snippets.

@proweb
Created July 24, 2016 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proweb/07622986bca02445a50189382d724c2b to your computer and use it in GitHub Desktop.
Save proweb/07622986bca02445a50189382d724c2b to your computer and use it in GitHub Desktop.
JBZOO category template (/media/zoo/applications/jbuniversal/templates/uikit/category.php)
if (isset($category)) {
$cat_name = $category->name;
$cat_alias = $category->alias;
$cat_description = $category->description;
$cat_alter_name = $category->params->get('content.category_title');
$cat_subtitle = $category->params->get('content.category_subtitle');
$cat_teasertext = $category->params->get('content.category_teaser_text');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment