Essential plugins for OctoberCMS

Five essential plugins. Once you install fresh octobercms with default theme, these plugins will help you to kickstart your newly created octobercms project.

These plugins will help you to create and manage your content, blog and will help you to optimise your site for SEO (Search engine optimization). greate thing about these all are free plugins.

  1. Static pages
  2. Blog
  3. Sitemap
  4. Magic Forms (Contact Form)
  5. Super Simple SEO

lets check them one by one

1. Static pages

static_pages

Static pages plugin is used to manage your sites almost static like content. static pages have three required parameters - Title, URL, Layout and your Content. You can easily create new pages and publish your content directly. You need to make sure to use satic-page layout for pages. you can easily add static-page-layout component to any layout to make it static page layout.

Just add title and it will automatiallu generate seo friendly URL from it either you can modify it your self. now select your layout. and start adding content. content is rich editor you can add html as well images to it.

for further more documentation you can refer this link : Rainlab Pages Help

To install plugin directly from terminal you can use below command
$ php artisan plugin:install RainLab.Pages

2. Blog

blog_plugin

If you are planing to write blog posts this plugin will meet to your requirements. you can easily set title, slug and start wrting you blog post.

You can define when to publish post, author, you can also add feature images to display on your blog post. You can write blog post in markdown syntex. you can add your own html content inside, its plus point of having markdown syntex.

The plugin provides several components for building the post list page (archive), category page, post details page and category list for the sidebar. You need to setup those component to CMS pages first to actually see your posts on frontend.

for further more documentation you can refer this link : Rainlab Post Help

To install plugin directly from terminal you can use below command
$ php artisan plugin:install RainLab.Blog

3. Magic Forms

magic-form

Once you have your sie up and running you need some feedback about yout site or may be some way of bridge between you and your visitors. so, incase your visitor need some information or help they shuould be able to contact you.

You can easily setup contact form using this plugin and you can define what kind of fieldss and validation you want then you can show this form to front-end and user can interact with it.

To install plugin directly from terminal you can use below command
$ php artisan plugin:install Martin.Forms

4. Sitemap

sitemap

All setup and now your site is working and has all the necessary pages. now we need share this infomration to whole word and for that we need to make our sit SEO friendly.

By using this plugin you can create sitemap.xml.

Sitemap.xml is basically infomration about your site. for Ex. how much pages are there in your site and what are the URL of those sites. this information is processed by google or other search engines and they crawl your pages for futher details. now other user try to find topic related to your content then these serch engine will show your website metadata and url to that user so they reach to your website.

for further more documentation you can refer this link : Rainlab Sitemap Help

To install plugin directly from terminal you can use below command
$ php artisan plugin:install RainLab.Sitemap

5. Super Simple SEO

seo

Super Simple SEO plugins is necessary for adding relative meta information about your page. we already defined sitemap.xml for search engine but its only contaning our urls so, we need to add meta information about our page content in meta tags. this is what this plugin is design to do.

you just need to include its component in your head tag. now within your page you can add meta data about your page.

Its very easy to use this component
use JDSEOSEO;

//public function onRun() // from your component 
public function onEnd() // if you are in page code section
{
    SEO::meta()->title($title)
        ->description($description)
        // Twitter tags
        ->twitter([
            'title' => $title,
            'description' => $description,
            'image' => $image,
            'url' => 'https://tutorialmeta.com',
        ])            
        // OpenGraph tags
        ->og([
            'site_name' => 'Tutorial Meta',
            'url' => 'https://tutorialmeta.com',
            'title' => $title,
            'description' => $description,
            'image' => $image,
        ])
        ->keywords(['awesome', 'page']);
}

for further more documentation you can refer this link : JD SEO Help

To install plugin directly from terminal you can use below command
$ php artisan plugin:install JD.SEO

We will take closer look to these 5 plugins in upcoming tutorial posts.

js interview questions