theme-next / hexo-theme-next

Elegant and powerful theme for Hexo.
https://theme-next.org
Other
8.15k stars 2.05k forks source link

needmoreshare2 misfunction [solved] #64

Closed Changzw closed 6 years ago

Changzw commented 6 years ago

I agree and want to create new issue


Expected behavior

应该出来 可以share 的社区icon should have icon of community that I want to share

Actual behavior

只有一个 share button,点击以后啥也没有 there is only share button, nothing happens when I click this button

Steps to reproduce the behavior

  1. theme/next/_config.yml
  2. change needmoreshare2 configs
  3. hexo clean, hexo g, hexo s

Hexo Information

my social share config:
needmoreshare2:
  enable: true
  postbottom:
    enable: true
    options:
      iconStyle: box
      boxForm: horizontal
      position: bottomCenter
      networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook

  float:
    enable: true
    options:
      iconStyle: box
      boxForm: horizontal
      position: Right
      networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook

NexT Information

NexT Version:

[] Latest Master branch.
[X] Latest Release version.
[] Old version - 

NexT Scheme:

[] All schemes
[X] Muse
[] Mist
[] Pisces
[] Gemini

Other Information

使用 6.0 I use v6.0

wafer-li commented 6 years ago

image

It should be a needsharebutton.js here.

Are you sure you fully clone all the needsharebutton stuff?

ivan-nginx commented 6 years ago

Most 3rd-party plugins now need to install separately. See config:

# NeedMoreShare2
# Dependencies: https://github.com/theme-next/theme-next-needmoreshare2
# See: https://github.com/revir/need-more-share2
# Also see: https://github.com/DzmVasileusky/needShareButton
# iconStyle: default | box
# boxForm: horizontal | vertical
# position: top / middle / bottom + Left / Center / Right
# networks: Weibo,Wechat,Douban,QQZone,Twitter,Linkedin,Mailto,Reddit,
#           Delicious,StumbleUpon,Pinterest,Facebook,GooglePlus,Slashdot,
#           Technorati,Posterous,Tumblr,GoogleBookmarks,Newsvine,
#           Evernote,Friendfeed,Vkontakte,Odnoklassniki,Mailru
needmoreshare2:
  enable: false
  postbottom:
    enable: false
    options:
      iconStyle: box
      boxForm: horizontal
      position: bottomCenter
      networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook
  float:
    enable: false
    options:
      iconStyle: box
      boxForm: horizontal
      position: middleRight
      networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook

See description:

Dependencies: https://github.com/theme-next/theme-next-needmoreshare2

Go to link with next instructions.

Changzw commented 6 years ago

Thx, I config it again, It works now.