项目作者: ThomasJanda

项目描述 :
create better rich meta content for whatsapp, skype....
高级语言: Smarty
项目地址: git://github.com/ThomasJanda/oxid-linkshare.git
创建时间: 2019-11-20T21:58:28Z
项目社区:https://github.com/ThomasJanda/oxid-linkshare

开源协议:GNU General Public License v3.0

下载


Install

Description

Customize the title, image and description which use to show a nice link in WhatsApp, Skype and other messages and websites.

Module was created for Oxid 6.x

Install

  1. Copy files into following directory

    1. source/modules/rs/linkshare
  2. Add to composer.json at shop root

    1. "autoload": {
    2. "psr-4": {
    3. "rs\\linkshare\\": "./source/modules/rs/linkshare"
    4. }
    5. },
  3. Refresh autoloader files with composer.

    1. composer dump-autoload
  4. Create table and update views

    1. CREATE TABLE `rs_linkshare` (
    2. `oxid` char(32) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
    3. `rstype` enum('article','category','content') NOT NULL DEFAULT 'article',
    4. `rstitle` varchar(250) DEFAULT NULL,
    5. `rstitle_1` varchar(250) DEFAULT NULL,
    6. `rstitle_2` varchar(250) DEFAULT NULL,
    7. `rsdescription` varchar(250) DEFAULT NULL,
    8. `rsdescription_1` varchar(250) DEFAULT NULL,
    9. `rsdescription_2` varchar(250) DEFAULT NULL,
    10. `rsimage` varchar(250) DEFAULT NULL,
    11. `rsimage_1` varchar(250) DEFAULT NULL,
    12. `rsimage_2` varchar(250) DEFAULT NULL,
    13. PRIMARY KEY (`oxid`)
    14. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  5. Enable module in the oxid admin area, Extensions => Modules

  6. Fill out the settings in the module and upload images, title and description in the article, categories and cms pages.