For post.tpl

Variable Name

Description

Field

$postData

Post data (array)

array(

  'id' => '',

  'title' => '',

  'content' => '',

  'excerpt' => '',

  'slug' => '',

  'feature_img' => '',

  'time_created' => '',

  'time_modified' => '',

  'status' => '',

  'is_top' => '',

  'language' => '',

  'category' => array(

    array(

      'id' => '',

      'category' => '',

      'description' => '',

      'slug' => '',

      'parent' => '',

      'language' => '',

      'sort_order' => '',

      'meta_id' => '',

      'type' => '',

      'post_id' => ''

    )

  ),

  'tag' => array(

    array(

      'id' => '',

      'tag' => '',

      'description' => '',

      'slug' => '',

      'language' => ''

    )

  )

);

 

$postCategoryList

Categories the post belongs to (for breadcrumbs)

array(

  array(

    'id' => '',

    'category' => '',

    'description' => '',

    'slug' => '',

    'parent' => '',

    'language' => '',

    'sort_order' => '',

    'meta_id' => '',

    'type' => '',

    'post_id' => ''

  )

);

$tagListPost

Post tags

array(

  array(

    'id' => '',

    'tag' => '',

    'description' => '',

    'slug' => '',

    'language' => ''

  ),

  array(

    'id' => '',

    'tag' => '',

    'description' => '',

    'slug' => '',

    'language' => ''

  )

);

$prevNext

Previous and next post (use slug to make URL: {\(baseUrl}/{\)lang}/post/{$prevNext.prev.slug}.html)

array(

  'prev' => array(

    'id' => '',

    'title' => '',

    'slug' => ''

  ),

  'next' => array(

    'id' => '',

    'title' => '',

    'slug' => ''

  )

);

$relatedPost

Related posts

array(

  array(

    'id' => '',

    'title' => '',

    'content' => '',

    'excerpt' => '',

    'slug' => ''

  )

);

$commentList

Comment list

array(

    array(

        'id' => '',

        'post_slug' => '',

        'user_id' => '',

        'comment' => '',

        'parent_id' => '',

        'time_created' => '',

        'time_modified' => '',

        'status' => '',

        'user_name' => ''

    )

);