68 Classifieds API

Features
class tree: Smarty | index: Smarty | all elements

File/plugins/function.categories_parent.php

Description
  • author: $Author: suzkaw $
  • version: $Revision: 4 $
  • copyright: 68 Classifieds
Includes

Includes:

require_once(FILESYSTEM_PATH.'includes/classes/kernel/Categories.php') [line 16]

Include categories class

Functions
smarty_function_categories_parent (line 30)

This function is useful for using your parent categories in the navigation

To Call this function in your template you would use:

  1. {categories_parent}
  2.  {foreach from=$pcat item=entry}
  3.  <ul>
  4.  <li>{$entry.link{$entry.total}</li>
  5.  </ul>
  6.  {/foreach}

void smarty_function_categories_parent ( $params,  &$smarty)
  • $params
  • &$smarty