rpqa99/simplerpmenu 问题修复 & 功能扩展

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

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

rpqa99/simplerpmenu

最新稳定版本:1.0.1

Composer 安装命令:

composer require rpqa99/simplerpmenu

包简介

This is a simple menu to add Singles, Structures, Channels, Categories, Custom menus (with description), etc to your name menu for CRAFT CMS V3.x

README 文档

README

This is a simple menu to add Singles, Structures, Channels, Categories, Custom menus (with description), etc to your name menu for CRAFT CMS V3.x

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     > cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     > composer require rpqa99/rp-simple-menu
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Simple RP Menu.

Simple RP Menu Overview

This is a simple menu to add Singles, Structures, Channels, Categories, Custom menus (with description), etc to your name menu for CRAFT CMS V3.x

Configuring Simple RP Menu

  1. Install plugin if not automatically installed by this console command

      cd /path/to/project
     
      ./craft plugin/install rp-simple-menu
    

Using Simple RP Menu

  1. Backend menu create url :

     SITE_URL/adminName/simplerpmenu/default
    

    a. All Menus Screenshot

    b. Add New Menu Screenshot

    c. Edit Menu items/ drag item to chage order / delete items etc Screenshot

  2. Call this in the frontend for usage

a. Use this code to embed this menu in your templates:

    {{ craft.simplerpmenu.getRpMenuHTML('HandleName') }}

b. Optionally you can add an array of settings to the call, to set extra configurations for the menu:

    {{ craft.simplerpmenu.getRpMenuHTML('HandleName',{ 'menu-id': 'main-menu' }) }}
    
    {{ craft.simplerpmenu.getRpMenuHTML('HandleName',{ 'menu-id': 'headerMenu','menu-class':'menuGroup','ul-class':'navbar-nav justify-content-end','li-class':'nav-item','sub-menu-ul-class':'container mega-menu px-0 px-lg-_5 px-xl-1_5' }) }}

Brought to you by rpqa99

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-30