Giter VIP home page Giter VIP logo

oc-seo-extension's Introduction

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:

  • Meta Title
  • Meta Description
  • Meta Keywords
  • Canonical URL
  • Meta Redirect to other URL
  • Robot Index & Follow

*more fields will be added on request

####Features

  • New Open Graph(og) Tags added for better sharing on social networking sites like Facebook
  • New Settings added in backend to configure meta and Open Graph tags

####Future

  • Add more fields on request.
  • Integration of SEO optimizer to optimize page(if possible).

####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
  • SEO Blog Post
  • SEO Static Page

#####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)

oc-seo-extension's People

Contributors

anand-patel avatar frontendstudio avatar hambern avatar mahony0 avatar matissjanis avatar pvaass avatar vannut avatar vojtasvoboda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

oc-seo-extension's Issues

Compatibility with Winter CMS

Hi,

are there any plans on making this plugin compatible with Winter CMS?
I'm eager to help and provide you with a PR.

og description

I can't see the og:description in my <head>. I don't know why, because title, url, site_name and app_id appear.

Settings break on lastest edge release

I changed the below file to correct the issue:

/models/settings/fields.yaml

line 38 :path: '$/anandpatel/seoextension/models/settings/_other_tags_hint.htm'
...
line 50: path: '$/anandpatel/seoextension/models/settings/_og_tags_description.htm'

OG:Image field request

Can you add OG:image field support to the plugin? Would be awesome, is the only thing that's still missing In my opinion..

readme update request: install instructions

I'm leaving a note that the the plugin assumes your layout has a placeholder named meta which needs to come before the component, and this isn't straightforward in the existing documentation.

{% component 'SeoBlogPost' data=post %}    
{% placeholder meta %} 

I'm new to OctoberCMS, so I could be missing something - but the install was a bit of a headache for me.

bug with translate to components/StaticPage

I have translate plugin, and i am use default language without prefix, but system not work:
code

$url = Request::path(); // test/test

if (class_exists('RainLab\Translate\Behaviors\TranslatableModel'))
            $url = substr($url, 3); // t/test

$this->page = $this->page['page'] = $router->findByUrl($url); // null

Title and description tags are duplicated

There are no visual difference between the fields

image

Can you just identify where is <meta name="description" ... and where if <meta name="og:description" ?

And separate the fields with a simple hr?

Code formatting

Great job! Everything is fine, but format code in output...

vv9b65f 1

Maybe should think about it?

Thanks for the plugin :)

I18N and L10N

I'm developing E-commerce system with October and using this plugin. If you can add lang folder and make texts and inputs dynamic -takes only 5-10 mins.- this plugin will be very useful for me and others. I can help editing the plugin btw. Thanks.

SEO Settings Error with Build 349

I have updated from build 318 to 349, and now, in SEO Settings, I'm getting the following error:
"The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 38 (near "path: @/plugins/anandpatel/seoextension/models/settings/_other_tags_hint.htm")." on line 259 of /home/NAMEHERE/public_html/vendor/symfony/yaml/Inline.php
image

Add Permissions For Users

It would be really nice to add permissions to prevent certain users for accessing the SEO tab. We have clients that like to mess with things and blame us later. I think this is really important especially if using the Static Pages plugin.

Shouldn't require too much work:
Documentation here:
http://octobercms.com/docs/backend/users

If it's not a huge priority for you, I'll likely implement it at a later date and issue a pull request. Thanks!

Path naming in settings model field.yaml

Hi,

This is a really great plugin, thank you !

I've thing a small issue that was raising an exception (curiously only on distant server, localy all was fine).
In SeoExtension\Models\Settings\fields.yaml you make path to plugin class like this :

      path: @/Plugins/AnandPatel/SeoExtension/models/Settings/_other_tags_hint.htm

instead of :

      path: @/plugins/anandpatel/seoextension/models/settings/_other_tags_hint.htm

Of course it's the same for :

      path: @/Plugins/AnandPatel/SeoExtension/models/Settings/_og_tags_description.htm

which should be :

      path: @/plugins/anandpatel/seoextension/models/settings/_og_tags_description.htm

Don't know if someone else has had this problem but this will fix paths on both local and distant servers for me.

repeater field is bugged after installing this plugin

After installing this plugin the repeater is not working as it should be, meta tag fields of this plugin are also repeating with the fields of the repeater.

{repeater name="content_sections" prompt="Add More"} <h2>{text name="title" label="Title"}Title{/text}</h2> {/repeater}

After installation
https://www.dropbox.com/s/ezjuiu1lj8bqnu1/after-installation.png?dl=0

Before installation
https://www.dropbox.com/s/g3hxnrusd2ux4i0/before-installation.png?dl=0

Plugin alters other plugins' tables

I commented on this at: http://octobercms.com/plugin/anandpatel-seoextension/database-problem-with-blog-plugin?page=1#post-7954

Since the plugin depends on that other tables exists before being installed it crashes the installation procedure when a project is attached to a fresh octobercms install. It then tries to alter Blog's tables that haven't been created yet.

A much better implementation would be if it created it's own tables and just referenced the rows from Blog, but include cascading settings for the database so that no redundant rows are left cluttering the database. (like http://octobercms.com/plugin/bedard-blogtags does it)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.