好!欢迎访问迷津渡口 现在时间是: 天气 °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
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
lorenaflowers
 lorenaflowers 约 2 小时前回复
#250
<a href="http://www.cytechretail.com/christian-louboutin-leopard-print-ankle-boots-6pm-louboutine">christian louboutin leopard print ankle boots 6pm</a> <a href="http://www.proseccoexpo.com/hermes-evelyne-pm-3-down-hermesc">hermes evelyne pm 3 down</a> <a href="http://www.utkoinonia.com/roshe-run-rosa-cool-gr%C3%A5-footg">roshe run rosa cool gr氓</a> <a href="http://www.shamswesley.com/parajumpers-vest-clothing-names-parajumpersa">parajumpers vest clothing names</a> <a href="http://www.osirisdance.com/men-moncler-jacket-long-jeans-monclera">men moncler jacket long jeans</a> <a href="http://www.whereandwhyfi.com/air-jordan-3-true-azul-outfit-maker-chaussuresb">air jordan 3 true azul outfit maker</a>
lorenaflowers http://www.lorenaflowers.com/
duranerdogan
 duranerdogan 2019-12-14 16:19回复
#249
<a href="http://www.factorxf.com/nike-flyknit-trainer-blanc-noir-for-vente-australia-butye">nike flyknit trainer blanc noir for vente australia</a> <a href="http://www.meinscreen.com/nike-air-huarache-gr%C3%B8nn-lantern-obuvd">nike air huarache gr酶nn lantern</a> <a href="http://www.melbabishop.com/nike-flynit-air-max-lilla-brun-obuve">nike flynit air max lilla brun</a> <a href="http://www.prototipes.com/ralph-lauren-polo-green-label-version-polob">ralph lauren polo green label version</a> <a href="http://www.coberturatic.com/coach-purses-and-matching-wallets-coachr">coach purses and matching wallets</a> <a href="http://www.falsterboyoga.com/nobis-coats-sale-2017-nobisb">nobis coats sale 2017</a>
duranerdogan http://www.duranerdogan.com/
mdieight
 mdieight 2019-12-14 11:35回复
#248
<a href="http://www.mauradutra.com/canada-goose-citadel-parka-blue-valley-canadagooseb">canada goose citadel parka blue valley</a> <a href="http://www.lucagerini.com/air-jordan-retro-11-orange-gr%C3%B8n-kurpesk">air jordan retro 11 orange gr酶n</a> <a href="http://www.daphaltd.com/pandora-two-tone-flower-charms-ingredients-pandoraf">pandora two tone flower charms ingredients</a> <a href="http://www.cagdasair.com/louboutin-boots-online-malaysia-louboutine">louboutin boots online malaysia</a> <a href="http://www.gaellebodyart.com/hermes-kelly-cut-vert-vertigo-hermesc">hermes kelly cut vert vertigo</a> <a href="http://www.revisionbacs.com/air-jordan-18-svart-and-bl%C3%A5-for-salg-yakima-footm">air jordan 18 svart and bl氓 for salg yakima</a>
mdieight http://www.mdieight.com/
uctweets
 uctweets 2019-12-13 17:07回复
#247
<a href="http://www.noumoles.com/zx-flux-schwarz-silber-schuheb">zx flux schwarz silber</a> <a href="http://www.alannacaldas.com/maschio-ralph-lauren-bianca-polo-t-shirt-with-crew-neck-polou">maschio ralph lauren bianca polo t shirt with crew neck</a> <a href="http://www.texastribal.com/hermes-scarf-authenticate-key-scarfb">hermes scarf authenticate key</a> <a href="http://www.tinystorygame.com/nike-dam%C3%A4nner-free-4.0-flyknit-laufen-schuh-wei%C3%9F-chaussuresb">nike dam盲nner free 4.0 flyknit laufen schuh wei脽</a> <a href="http://www.lifeofeighty.com/ray-ban-aviator-mirror-rb3025-sunglassesr">ray ban aviator mirror rb3025</a> <a href="http://www.lmbaidu.com/north-face-vest-measurements-for-sale-northfacea">north face vest measurements for sale</a>
uctweets http://www.uctweets.com/
crgrentals
 crgrentals 2019-12-10 07:18回复
#246
<a href="http://www.juliegranahan.com/adidas-x-ace-soccer-wei%C3%9F-orange-trainersd">adidas x ace soccer wei脽 orange</a> <a href="http://www.kailuahotel.com/jordan-12-gamma-azul-nike-chaussuresm">jordan 12 gamma azul nike</a> <a href="http://www.boardbehavior.com/herren-ralph-lauren-sweater-gelb-rot-poloa">herren ralph lauren sweater gelb rot</a> <a href="http://www.rentalsmm.com/nike-kd-8-high-bianca-rosa-scarpek">nike kd 8 high bianca rosa</a> <a href="http://www.litugomez.com/floral-tunika-kjole-dresse">floral tunika kjole</a> <a href="http://www.lesperruques.com/dam%C3%A4nner-nike-air-huarache-orange-blau-footi">dam盲nner nike air huarache orange blau</a>
crgrentals http://www.crgrentals.com/
agnnetworks
 agnnetworks 2019-12-10 04:48回复
#245
<a href="http://www.asvencon.com/nike-free-run-3-5.0-hot-punch-lyser%C3%B8d-eye-obuve">nike free run 3 5.0 hot punch lyser酶d eye</a> <a href="http://www.moorefornc.com/parajumpers-kodiak-boy-kit-parajumpersf">parajumpers kodiak boy kit</a>
agnnetworks http://www.agnnetworks.com/
lazydesiree
 lazydesiree 2019-12-09 19:29回复
#244
<a href="http://www.qubellinfo.com/aritzia-mackage-kenya-leather-jacket-black-mackager">aritzia mackage kenya leather jacket black</a> <a href="http://www.armyourmind.com/tory-burch-patterson-riding-boots-toryburchr">tory burch patterson riding boots</a> <a href="http://www.giorgiocarusi.com/how-to-clean-nike-air-max-90-infrarot-butye">how to clean nike air max 90 infrarot</a> <a href="http://www.brickpopusa.com/nike-air-force-1-flyknit-high-s%C3%B8lv-svart-obuve">nike air force 1 flyknit high s酶lv svart</a> <a href="http://www.lottopurchase.com/burberry-cape-scarf-scarfr">burberry cape scarf</a> <a href="http://www.kleenexformen.com/maschio-ralph-lauren-mesh-polo-verde-rosso-polou">maschio ralph lauren mesh polo verde rosso</a>
[url=http://www.lazydesiree.com/]lazydesiree[/url]
ovioscope
 ovioscope 2019-12-08 16:59回复
#243
<a href="http://www.fooddorks.com/air-jordan-retro-12-mujeres-p%C3%BArpura-blanco-obuvf">air jordan retro 12 mujeres p煤rpura blanco</a> <a href="http://www.nicobeenker.com/pandora-charm-dancing-couple-pandoraj">pandora charm dancing couple</a> <a href="http://www.metanorn.com/nike-free-5.0-inneva-woven-nero-trainersd">nike free 5.0 inneva woven nero</a> <a href="http://www.thepdregistry.com/puma-pink-suede-classic-trainers-with-gum-sole-chaussuresm">puma pink suede classic trainers with gum sole</a> <a href="http://www.immocentrevar.com/ralph-lauren-long-sleeve-rugby-polo-nightclub-poloa">ralph lauren long sleeve rugby polo nightclub</a> <a href="http://www.anvemedia.com/nike-air-flight-89-university-azul-verde-scarpek">nike air flight 89 university azul verde</a>
ovioscope http://www.ovioscope.com/
lorenaflowers
 lorenaflowers 2019-12-08 05:09回复
#242
<a href="http://www.getfape.com/femminile-asics-gel-noosa-tri-10-rosso-oro-zapatosd">femminile asics gel noosa tri 10 rosso oro</a> <a href="http://www.aimauctions.com/air-jordan-18-wei%C3%9F-schwarz-obuvl">air jordan 18 wei脽 schwarz</a> <a href="http://www.wishsupporter.com/pandora-earrings-nickel-menu-pandorad">pandora earrings nickel menu</a> <a href="http://www.revisionsbacs.com/nike-mercurial-vapor-berry-lyser%C3%B8d-for-salg-trainersi">nike mercurial vapor berry lyser酶d for salg</a> <a href="http://www.duvetboutique.com/nike-zoom-structure-18-mujeres-cielo-azul-negro-chaussuresg">nike zoom structure 18 mujeres cielo azul negro</a> <a href="http://www.bestmotosport.com/ralph-lauren-pants-r%C3%B8d-marinen-poloa">ralph lauren pants r酶d marinen</a>
lorenaflowers http://www.lorenaflowers.com/
konajerrysbbq
 konajerrysbbq 2019-12-08 04:50回复
#241
<a href="http://www.gslitsupport.com/ralph-lauren-striped-shirt-womens-kit-poloa">ralph lauren striped shirt womens kit</a> <a href="http://www.pondineerblog.com/nike-air-force-1-svart-kvinners-gg-scarpek">nike air force 1 svart kvinners gg</a> <a href="http://www.crossfitlwr.com/r%C3%B8de-og-hvite-blomster-kjoler-dresse">r酶de og hvite blomster kjoler</a> <a href="http://www.raumpilotin.com/adidas-projoator-malice-uk-footi">adidas projoator malice uk</a> <a href="http://www.kinksradio.com/nike-blazer-rosado-butyg">nike blazer rosado</a> <a href="http://www.ntfservice.com/parajumpers-gobi-orange-world-parajumpersb">parajumpers gobi orange world</a>
konajerrysbbq http://www.konajerrysbbq.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸