After upgrading to 1.9.0.1 we had a problem with javascript scripts not refreshing after AJAX updates.The official support time is 6 months but even 1 ... Read more

Apr 14, 2015 Poleposition

Certified Magento Enterprise developer Certified Magento developer Certified Magento theme developer Certified Magento specialist

Manadev is certified extension and theme
developer for Magento

Template Reference

Default filter-specific content templates are located in app/code/Manadev/FilterSpecificContent/view/frontend/templates directory.

This document describes all default filter-specific templates: what they do and how they work.

Do not edit default filter-specific templates. Instead, customize them as described in Getting Started guide.

Contents:

description.phtml

Renders visual page description.

Without customization, page description is:

  • category description on category pages
  • CMS page content on CMS pages

Default template doesn't customize visual page description:

<?php echo $this->originalDescription() ?>

h1_title.phtml

Renders visual page title.

Withut customization, page title is:

  • category name on category pages
  • CMS page heading on CMS pages
  • search keyword on quick search page

Default template doesn't customize visual page title:

<?php echo $this->originalH1Title() ?>

h2_title.phtml

Renders visual page subtitle.

Rendered subtitle HTML is added just after closing </h1> tag on the page. There you may add <h2> element, but not necessarily - it may be arbitrary HTML markup.

Default template doesn't render any visual page subtitle.

meta_description.phtml

Renders contents of page meta description tag.

Default template adds all applied filters to the end of meta description:

// show default meta description
echo $this->originalMetaDescription();
$rendered = trim($this->originalMetaDescription()) != '';

// Add labels of all applied filters and separators in between
$filterCount = $this->filters()->countIncluded();
foreach ($this->filters()->allIncluded() as $index => $filter) {
    if ($index == 0) {
        if ($rendered) echo __(". "); else $rendered = true;
    }
    elseif ($index < $filterCount - 1) {
        echo __(", ");
    }
    else {
        echo __(" and ");
    }

    echo $filter->item_label;
}

meta_follow.phtml

Renders FOLLOW or NOFOLLOW inside meta robots tag.

Without customization, FOLLOW or NOFOLLOW is calculated by rules specified in SEO Layered Navigation Plus extension settings.

Default template doesn't customize page following:

// show default FOLLOW or NOFOLLOW
echo $this->originalFollow();

meta_index.phtml

Renders INDEX or NOINDEX inside meta robots tag.

Withut customization, INDEX or NOINDEX is calculated by rules specified in SEO Layered Navigation Plus extension settings.

Default template doesn't customize page indexing:

// show default INDEX or NOINDEX
echo $this->originalIndex();

meta_keywords.phtml

Renders contents of page meta keywords tag.

Default template adds all applied filters to the end of meta keywords:

// show default meta title
echo $this->originalMetaKeywords();
$rendered = trim($this->originalMetaKeywords()) != '';

// Add labels of all applied filters and separators in between
$filterCount = $this->filters()->countIncluded();
foreach ($this->filters()->allIncluded() as $index => $filter) {
    if ($rendered) echo ','; else $rendered = true;

    echo $filter->item_label;
}

meta_title.phtml

Renders contents of page meta title tag.

Default template adds all applied filters and page number to the end of meta title:

// show default meta title
echo $this->originalMetaTitle();

// Add labels of all applied filters and separators in between
$filterCount = $this->filters()->countIncluded();
foreach ($this->filters()->allIncluded() as $index => $filter) {
    if ($index == 0) {
        echo __(": ");
    }
    elseif ($index < $filterCount - 1) {
        echo __(", ");
    }
    else {
        echo __(" and ");
    }

    echo $filter->item_label;
}

// Add page number to page title
if ($this->page() > 1) {
    echo __(" (Page %d)", $this->page());
}

We Accept: PayPal Visa MasterCard American Express Discover