anand-patel / oc-seo-extension

SEO Extension for October CMS Pages
12 stars 29 forks source link

SEO-Extension

Inject SEO fields to CMS Pages, Static Pages and Blog.

This plugin add SEO fields to CMS Pages, Static Pages and Blog, and for using it you simply need to drop component on layout/page.

currently included fields:

*more fields will be added on request

Features

Future

Like this plugin?

If you like this plugin, give this plugin a Like or Make donation with PayPal.

Documentation

Installation

To install this plugin you have to click on add to project or need to type AnandPatel.SeoExtension in Backend System > updates > intall plugin

The plugin currently includes three components:

SEO CMS Page

Drop this component in layout`s head section

code of layout look like this

    <html>
        <head>
            {% component 'SeoCmsPage' %}
        </head>
        <body>
           {% page %}
        </body>
    </html>
SEO Blog Post

Drop this component on CMS Page on which you have dropped blogPost Component(i.e you want to show blog post).

pass parameter data = post

here is code of CMS page for Blog Post Page.

    {% component 'blogPost' %}
    {% component 'SeoBlogPost' data=post %}

for using this component you must place SeoCMSPage component on layout.

SEO Static Page

Drop this component on Static Pages layout`s head section

code of static page layout look like this

    <html>
        <head>
            {% component 'SeoStaticPage' %}
        </head>
        <body>
            {% component 'staticMenu' %}
            {% component 'staticBreadcrumbs' %}
            {% page %}
        </body>
    </html>

Configuration

To configure this Plugin goto Backend System then find My Settings in left side bar, then click on SEO Extension , you will get Configuration options.(refer screenshots)