mvo/contao-opengraph-tags 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mvo/contao-opengraph-tags

Composer 安装命令:

composer require mvo/contao-opengraph-tags

包简介

Add opengraph tags to your pages in Contao Open Source CMS

README 文档

README

This bundle adds OpenGraph meta tags to pages in Contao Open Source CMS.

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require mvo/contao-opengraph-tags

Step 2: Enable the Bundle

Skip this point if you are using a Managed Edition of Contao.

Enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new \Mvo\ContaoOpenGraphTags\MvoContaoOpenGraphTagsBundle(),
        );

        // ...
    }

    // ...
}

Use the Bundle

OpenGraph tags can be enabled foreach page root in the backend. If enabled <og> tags are generated in the head section that among others will output the page title, page description if set or one ore more images. Images can be selected for each page and apply for all child pages that have no images set.

统计信息

  • 总下载量: 774
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固