好!欢迎访问迷津渡口 现在时间是: 天气 °C ~ °C

迷津渡口

越感到迷惑 越接近真理

ueditor for emlog完整安装方法(小指亲测可用)

ueditor for emlog这是一个由星知苑出品的hack emlog编辑器的代码(不是插件)。

【安装方法】

备份博客,完整备份或重点备份admin目录。解压下载的ueditor for emlog代码包,用FTP把代码包里的admin文件夹上传到emlog根目录,提示覆盖选择全部覆盖即可。(有覆盖提示的就是正确安装的,没有就是路径错误),这时可以看看后台是否是ueditor编辑器了。(出现错误删掉浏览器的缓存即可)。

注意:覆盖前请必须先备份自己的博客!

【代码高亮】

ueditor其实自带了SyntaxHighlighter的css和js,可以在博客admin/ueditor/third-party/SyntaxHighlighter路径下找到shCoreDefault.css和shCore.js。如果admin设置了权限无法访问,可以移动到其他地方,例如content/目录下,自定义一个SyntxtHighlighter目录,把两个文件放在目录下。

然后将下面代码添加到当前模板header.php文件的<head>标签里:

<link href="<?php echo BLOG_URL; ?>content/SyntaxHighlighter/shCoreDefault.css" rel="stylesheet" type="text/css" />      
<script type="text/javascript" src="<?php echo BLOG_URL; ?>content/SyntaxHighlighter/shCore.js"></script>
<script type="text/javascript">      
    SyntaxHighlighter.all();       
</script>

【卸载方法】

使用emlog这5个原始文件add_log.php,add_page.php,edit_log.php,edit_page.php,js/common.js,替换到admin/views下,操作完成后,请更新本地浏览器的缓存。

注意:因为ueditor自带上传和图片本地化功能会把文件存在ueditor/php/upload文件夹下,所以删除ueditor编辑器的时候请保留这个文件夹

【配置方法】:如果要修改相关ueditor的相关设置,只要修改admin文件夹下的ueditor中的editor_config.js文件。

附:具体修改请参看ueditor的官方文档,如有什么不懂请留言评论。


 

所有版本下载:百度网盘(请根据自己的版本下载适合自己的emlog的编辑器版本)

Github项目主页:https://github.com/myxzy/ueditor-for-emlog

Ueditor百度官方演示:Demo


点赞8
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
ebooksandme
 ebooksandme 约 9 小时前回复
#69
<a href="http://www.mynewsoutlet.com/asics-gel-kayano-21-flash-gul-hvit-svart-kurpesb">asics gel kayano 21 flash gul hvit svart</a> <a href="http://www.yudfdgi.com/adidas-copa-mundial-soccer-rosado-azul-schuhec">adidas copa mundial soccer rosado azul</a> <a href="http://www.djdiscgolf.com/air-jordan-13-bianca-maize-schuheg">air jordan 13 bianca maize</a> <a href="http://www.guesthousesas.com/nike-free-5.0-sort-and-r%C3%B8d-kurpesc">nike free 5.0 sort and r酶d</a> <a href="http://www.lindatompkin.com/nike-air-max-90-vt-gr%C3%B8nn-hvit-obuvg">nike air max 90 vt gr酶nn hvit</a> <a href="http://www.marilynbos.com/nike-shox-gr%C3%BCn-and-schwarz-scarped">nike shox gr眉n and schwarz</a>
ebooksandme http://www.ebooksandme.com/
noteplays
 noteplays 2019-02-14 11:56回复
#68
<a href="http://www.deaffireside.com/adidas-superstar-l%C3%A6der-sort-hvid-obuvf">adidas superstar l忙der sort hvid</a> <a href="http://www.fixcustard.com/yeezy-boost-350-jaune-kit-obuve">yeezy boost 350 jaune kit</a> <a href="http://www.habeshalife.com/zx-flux-bright-cyan-core-violet-bright-jaune-kurpesg">zx flux bright cyan core violet bright jaune</a> <a href="http://www.healtobfree.com/adidas-neo-leder-rot-obuvb">adidas neo leder rot</a> <a href="http://www.ilikeruffles.com/adidas-neo-derby-qt-schwarz-rosa-butya">adidas neo derby qt schwarz rosa</a> <a href="http://www.lasercatop.com/patrick-sharp-dallas-stars-jersey-nflu">patrick sharp dallas stars jersey</a>
[url=http://www.noteplays.com/]noteplays[/url]
nowaitnails
 nowaitnails 2019-02-13 15:21回复
#67
<a href="http://www.mandydugan.com/nike-free-tr-svart-gr%C3%A5-obuvl">nike free tr svart gr氓</a> <a href="http://www.dxnkofe.com/nike-air-max-lunar-1-gold-green-shoesh">nike air max lunar 1 gold green</a> <a href="http://www.yurasmirnov.com/maschio-nike-flyknit-roshe-run-oro-arancia-scarpei">maschio nike flyknit roshe run oro arancia</a> <a href="http://www.blovese.com/air-jordan-retro-14-blau-orangen-schuhej">air jordan retro 14 blau orangen</a> <a href="http://www.ztsurfboards.com/rvca-parrot-hat-hath">rvca parrot hat</a> <a href="http://www.visheshcap.com/hommes-asics-gel-noosa-tri-7-bleu-noir-chaussuresh">hommes asics gel noosa tri 7 bleu noir</a>
nowaitnails http://www.nowaitnails.com/
danieladirosa
 danieladirosa 2019-02-13 06:13回复
#66
<a href="http://www.atrapaniapp.com/air-jordan-retro-3-oranger-gamma-bleu-chaussuresh">air jordan retro 3 oranger gamma bleu</a> <a href="http://www.maplebeyond.com/oklahoma-state-cowboys-top-of-the-world-ncaa-rtx-visor-hatl">oklahoma state cowboys top of the world ncaa rtx visor</a> <a href="http://www.collisionsix.com/air-jordan-1-blanc-bleu-chaussuresh">air jordan 1 blanc bleu</a> <a href="http://www.todololitas.com/nike-lebron-11-negro-diffused-jade-zapatosp">nike lebron 11 negro diffused jade</a> <a href="http://www.jcwjrlaw.com/nike-air-max-90-womens-blue-white-shoesi">nike air max 90 womens blue white</a> <a href="http://www.vstsblog.com/dam%C3%A4nner-nike-roshe-yeezy-boost-gelb-lila-schuhei">dam盲nner nike roshe yeezy boost gelb lila</a>
danieladirosa http://www.danieladirosa.com/
kamilotomotiv
 kamilotomotiv 2019-02-11 16:17回复
#65
<a href="http://www.myfraimz.com/nike-air-jordan-retro-6-nero-varsity-rosso-chaussuresa">nike air jordan retro 6 nero varsity rosso</a> <a href="http://www.winnercells.com/emmanuel-sanders-pittsburgh-steelers-jersey-88-black-elite-nike-jersey-nfle">emmanuel sanders pittsburgh steelers jersey 88 black elite nike jersey</a> <a href="http://www.atppest.com/nike-free-flyknit-mercurial-savage-beauty-runningg">nike free flyknit mercurial savage beauty</a> <a href="http://www.windriftbar.com/zdeno-chara-33-boston-bruins-reebok-premier-alternate-jersey-small-nflv">zdeno chara 33 boston bruins reebok premier alternate jersey small</a> <a href="http://www.kidtokidboise.com/air-jordan-11-space-jam-for-sale-kansas-city-trainersa">air jordan 11 space jam for sale kansas city</a> <a href="http://www.mesmertronic.com/jordan-6-sort-infrar%C3%B8d-ticket-scarped">jordan 6 sort infrar酶d ticket</a>
kamilotomotiv http://www.kamilotomotiv.com/
cinderstorm
 cinderstorm 2019-02-10 09:01回复
#64
<a href="http://www.brickolino.com/nike-air-max-2017-kpu-ii-carbon-grau-kurpesb">nike air max 2017 kpu ii carbon grau</a> <a href="http://www.buymyhost.com/air-jordan-true-flight-orange-himmelbl%C3%A5-schuhec">air jordan true flight orange himmelbl氓</a> <a href="http://www.chaiwanmei.com/kvinners-air-jordan-11-kaffe-schuhef">kvinners air jordan 11 kaffe</a> <a href="http://www.getwithfido.com/air-jordan-5-for-salg-billig-kurpesc">air jordan 5 for salg billig</a> <a href="http://www.hemppiers.com/nike-roshe-run-flyknit-grigio-uk-in-obuvf">nike roshe run flyknit grigio uk in</a> <a href="http://www.introtecint.com/femminile-nike-cortez-verde-nero-scarped">femminile nike cortez verde nero</a>
cinderstorm http://www.cinderstorm.com/
demointegrate
 demointegrate 2019-02-10 04:39回复
#63
<a href="http://www.nonnagrazia.com/mackage-priya-down-coat-mackager">mackage priya down coat</a> <a href="http://www.warthogrugby.com/nike-free-trail-kvinners-r%C3%B8d-sportsb">nike free trail kvinners r酶d</a> <a href="http://www.uncwliving.com/charles-barkley-air-max-foamposite-footc">charles barkley air max foamposite</a> <a href="http://www.halemhomes.com/adidas-neo-mesh-for-sale-georgia-sneakerc">adidas neo mesh for sale georgia</a> <a href="http://www.virgocity.com/mackage-kenya-jacket-mackager">mackage kenya jacket</a> <a href="http://www.vspeyedoctors.com/nike-hyperdunk-flyknit-low-skor">nike hyperdunk flyknit low</a>
demointegrate http://www.demointegrate.com/
mengenmetal
 mengenmetal 2019-02-09 20:30回复
#62
<a href="http://www.injost.com/oakley-sunglasses-polarized-nuclear-sunglassesc">oakley sunglasses polarized nuclear</a> <a href="http://www.wonjuvally.com/cody-whitehair-womens-limited-whitepink-jersey-nike-nfl-chicago-bears-rush-fashion-65-nflr">cody whitehair womens limited whitepink jersey nike nfl chicago bears rush fashion 65</a> <a href="http://www.carrollgrp.com/kd-trey-5-multicolor-jewelry-skoa">kd trey 5 multicolor jewelry</a> <a href="http://www.nrastogi.com/nike-air-waffle-womens-green-silver-sneakere">nike air waffle womens green silver</a> <a href="http://www.annersroofing.com/kobe-7-wolf-gr%C3%A5-orange-kurpesa">kobe 7 wolf gr氓 orange</a> <a href="http://www.orderollie.com/nike-air-max-2014-38-sneakerb">nike air max 2014 38</a>
mengenmetal http://www.mengenmetal.com/
illustrateh
 illustrateh 2019-02-09 18:03回复
#61
<a href="http://www.betascgx.com/nike-huarache-utility-dam%C3%A4nner-schwarz-shoesc">nike huarache utility dam盲nner schwarz</a> <a href="http://www.hobbyfreaks.com/oakley-sunglasses-encounter-sunglassesr">oakley sunglasses encounter</a> <a href="http://www.ruoiled.com/ralph-lauren-polo-shirts-uk-cheap-polob">ralph lauren polo shirts uk cheap</a> <a href="http://www.zanascuisine.com/ray-ban-aviator-small-silver-mirror-sunglassesr">ray ban aviator small silver mirror</a> <a href="http://www.puyichinese.com/hermes-kelly-double-tour-bracelet-size-jewelryr">hermes kelly double tour bracelet size</a> <a href="http://www.philipelara.com/nike-lebron-14-gold-pink-shoesv">nike lebron 14 gold pink</a>
illustrateh http://www.illustrateh.com/
yeliseeva
 yeliseeva 2019-02-09 13:19回复
#60
<a href="http://www.yeliseeva.com/nike-lebron-11-low-wei%C3%9F-gr%C3%BCn-schuhei">nike lebron 11 low wei脽 gr眉n</a> <a href="http://www.miembrojr.com/nike-foamposite-oro-rojo-zapatosp">nike foamposite oro rojo</a> <a href="http://www.faridekhalaf.com/adidas-neo-campus-hvid-lyser%C3%B8d-skoi">adidas neo campus hvid lyser酶d</a> <a href="http://www.rawbiofast.com/kvinners-nike-air-max-95-r%C3%B8d-oransje-obuvq">kvinners nike air max 95 r酶d oransje</a> <a href="http://www.mabarrel.com/adidas-harden-purple-pink-shoesh">adidas harden purple pink</a> <a href="http://www.almarsecurity.com/nike-zoom-pegasus-31-femminile-grigio-scarpei">nike zoom pegasus 31 femminile grigio</a>
yeliseeva http://www.yeliseeva.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸