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

清空信息
关闭评论
martinmakeup
 martinmakeup 25 分钟前回复
#167
<a href="http://www.avantajreyonu.com/russell-westbrook-college-jersey-nflh">russell westbrook college jersey</a> <a href="http://www.oranjeskishop.com/adidas-gazelle-all-gr%C3%A5-obuvi">adidas gazelle all gr氓</a> <a href="http://www.johannafrost.com/mens-red-adidas-samba-shoesj">mens red adidas samba</a> <a href="http://www.rolandviet.com/nike-air-max-2013-mens-shoes-black-white-shoesl">nike air max 2013 mens shoes black white</a> <a href="http://www.classmedya.com/lyst-ralph-lauren-polo-us-open-vneck-cardigan-in-blue-for-men-poloh">lyst ralph lauren polo us open vneck cardigan in blue for men</a> <a href="http://www.anteageserums.com/nike-air-griffey-max-gd-ii-sort-r%C3%B8d-skok">nike air griffey max gd ii sort r酶d</a>
[url=http://www.martinmakeup.com/]martinmakeup[/url]
conniesegal
 conniesegal 约 7 小时前回复
#166
<a href="http://www.dastforoush.com/ray-ban-new-wayfarer-polarized-price-sunglassesh">ray ban new wayfarer polarized price</a> <a href="http://www.etxekalte.com/washington-hat-hatj">washington hat</a> <a href="http://www.tumbhimall.com/adidas-neo-bianca-prezzo-philippines-scarpej">adidas neo bianca prezzo philippines</a> <a href="http://www.formulaforfun.com/adidas-ultra-boost-off-wei%C3%9F-schuhei">adidas ultra boost off wei脽</a> <a href="http://www.icallvoters.com/kvinders-sort-adidas-tubular-skoh">kvinders sort adidas tubular</a> <a href="http://www.megadomenl.com/von-miller-white-super-bowl-jersey-nfli">von miller white super bowl jersey</a>
conniesegal http://www.conniesegal.com/
ericwinzenried
 ericwinzenried 2019-04-23 20:38回复
#165
<a href="http://www.spiritriver.net/adidas-zx-750-viola-marrone-obuve">adidas zx 750 viola marrone</a> <a href="http://www.ssrichardmontgomery.net/kvinders-nike-roshe-run-bl%C3%A5-gr%C3%B8n-obuve">kvinders nike roshe run bl氓 gr酶n</a> <a href="http://www.starninedata.net/nike-zoom-winflo-3-lyser%C3%B8d-dark-bl%C3%A5-kurpesd">nike zoom winflo 3 lyser酶d dark bl氓</a> <a href="http://www.stephandjeff.net/femmes-nike-air-force-1-boots-orange-schuhee">femmes nike air force 1 boots orange</a> <a href="http://www.stmnetworks.net/adidas-protator-gold-kurpesf">adidas protator gold</a> <a href="http://www.stulynn.net/kobe-9-elite-inspiration-billig-obuva">kobe 9 elite inspiration billig</a>
ericwinzenried http://www.ericwinzenried.net/
ssrichardmontgomery
 ssrichardmontgomery 2019-04-23 08:26回复
#164
<a href="http://www.estadologico.net/hommes-nike-air-huarache-tout-bleu-obuve">hommes nike air huarache tout bleu</a> <a href="http://www.exploretalkingstick.net/nike-pegasus-32-mujeres-negro-amarillo-obuve">nike pegasus 32 mujeres negro amarillo</a> <a href="http://www.expresswelding.net/air-jordan-7-retro-marvin-the-martian-for-venta-kurpesd">air jordan 7 retro marvin the martian for venta</a> <a href="http://www.faithandprosperity.net/nike-free-run-4.0-v3-amarillo-verde-schuhee">nike free run 4.0 v3 amarillo verde</a> <a href="http://www.fauconneriemarche.net/air-jordan-3-naranja-rojo-kurpesf">air jordan 3 naranja rojo</a> <a href="http://www.fernandfeather.net/nike-zoom-alle-out-flyknit-brun-gr%C3%B8n-obuva">nike zoom alle out flyknit brun gr酶n</a>
ssrichardmontgomery http://www.ssrichardmontgomery.net/
marjalfun
 marjalfun 2019-04-22 11:29回复
#163
<a href="http://www.sugarforspice.com/air-jordan-retro-11-womens-purple-orange-shoesj">air jordan retro 11 womens purple orange</a> <a href="http://www.mybancorphsa.com/herre-asics-gel-sendai-2-bl%C3%A5-gr%C3%A5-skop">herre asics gel sendai 2 bl氓 gr氓</a> <a href="http://www.scopatore.com/nike-air-max-tailwind-6-gr%C3%A5-gull-obuvk">nike air max tailwind 6 gr氓 gull</a> <a href="http://www.galacticlogos.com/mens-nike-air-max-lunar-1-grey-red-shoesi">mens nike air max lunar 1 grey red</a> <a href="http://www.ispardmore.com/herre-nike-lunarglide-6-sort-gr%C3%A5-skoj">herre nike lunarglide 6 sort gr氓</a> <a href="http://www.radioramabc.com/adidas-zx-750-gr%C3%B8nn-bl%C3%A5-obuvi">adidas zx 750 gr酶nn bl氓</a>
marjalfun http://www.marjalfun.com/
erstube
 erstube 2019-04-22 03:55回复
#162
<a href="http://www.unefinemouche.com/air-jordan-future-plata-hombresta-verde-zapatosk">air jordan future plata hombresta verde</a> <a href="http://www.ayuinc.com/kvinders-air-jordan-retro-12-sort-r%C3%B8d-skoq">kvinders air jordan retro 12 sort r酶d</a> <a href="http://www.unirlisboa.com/nike-roshe-run-heather-grigio-scarpeh">nike roshe run heather grigio</a> <a href="http://www.escortfeeds.com/femminile-nike-air-max-1-viola-grigio-scarpei">femminile nike air max 1 viola grigio</a> <a href="http://www.rdjanitorial.com/nike-air-max-bw-dam%C3%A4nner-blau-silber-schuheh">nike air max bw dam盲nner blau silber</a> <a href="http://www.bookoobeats.com/nike-zoom-pegasus-31-gold-orange-shoesq">nike zoom pegasus 31 gold orange</a>
erstube http://www.erstube.com/
prada black bag
 prada black bag 2019-04-22 03:04回复
#161
<a href="http://www.norigomme.com/mens-nike-zoom-structure-18-white-green-trainerse">mens nike zoom structure 18 white green</a> <a href="http://www.bestcloisonne.com/asics-onitsuka-tiger-mexico-66-gelb-blau-chaussuresa">asics onitsuka tiger mexico 66 gelb blau</a> <a href="http://www.distrodepot.com/blue-red-womens-nike-air-force-1-high-shoes-footg">blue red womens nike air force 1 high shoes</a> <a href="http://www.localeldernet.com/slim-fit-long-sleeve-polo-shirts-for-m%C3%A6nd-polo_m">slim fit long sleeve polo shirts for m忙nd</a> <a href="http://www.birddogcams.com/womens-nike-jacksonville-jaguars-46-carson-tinker-limited-gold-rush-vapor-untouchable-nfl-jersey-nflt">womens nike jacksonville jaguars 46 carson tinker limited gold rush vapor untouchable nfl jersey</a> <a href="http://www.talgesq.com/air-max-1-bhm-metallic-gold-trainersd">air max 1 bhm metallic gold</a>
prada black bag http://www.localeldernet.com/prada-black-bag-pradar
findnewcoupon
 findnewcoupon 2019-04-21 17:54回复
#160
<a href="http://www.snifferwalk.com/air-jordan-retro-12-alle-lyser%C3%B8d-skoi">air jordan retro 12 alle lyser酶d</a> <a href="http://www.fishmackerel.com/air-max-1-dave-hvit-obuvq">air max 1 dave hvit</a> <a href="http://www.lauraenergy.com/nike-zoom-lebron-james-soldier-1-black-gold-shoesh">nike zoom lebron james soldier 1 black gold</a> <a href="http://www.magellantt.com/air-jordan-retro-8-cielo-blu-scarpei">air jordan retro 8 cielo blu</a> <a href="http://www.sportablecrew.com/nike-zoom-pegasus-34-dam%C3%A4nner-orangen-blau-schuhej">nike zoom pegasus 34 dam盲nner orangen blau</a> <a href="http://www.digisolnc.com/puma-mclean-cap-hath">puma mclean cap</a>
findnewcoupon http://www.findnewcoupon.com/
tonyaespinoza
 tonyaespinoza 2019-04-19 12:46回复
#159
<a href="http://www.hopitalhayek.com/nike-free-run-4.0-kvinners-svart-and-hvit-zombies-obuvk">nike free run 4.0 kvinners svart and hvit zombies</a> <a href="http://www.cheapartsale.com/adidas-ultra-boost-1.0-core-nero-scarpei">adidas ultra boost 1.0 core nero</a> <a href="http://www.xjdscnuh.com/nike-roshe-mujer-azul-blanco-zapatosh">nike roshe mujer azul blanco</a> <a href="http://www.cybcarusa.com/dark-lyser%C3%B8d-high-top-converse-skok">dark lyser酶d high top converse</a> <a href="http://www.drfoxxdds.com/adidas-football-adizero-f50-dragon-tf-r%C3%B8d-svart-hvit-obuvi">adidas football adizero f50 dragon tf r酶d svart hvit</a> <a href="http://www.hagemannlaw.com/air-jordan-31-blanco-zapatosl">air jordan 31 blanco</a>
tonyaespinoza http://www.tonyaespinoza.com/
ceracustica
 ceracustica 2019-04-19 01:19回复
#158
<a href="http://www.postthatass.com/italy-18-montolivo-2014-world-cup-home-long-sleeve-thailand-jerseys-nfli">italy 18 montolivo 2014 world cup home long sleeve thailand jerseys</a> <a href="http://www.houseoftys.com/mujer-adidas-zx-630-naranja-verde-negro-zapatosh">mujer adidas zx 630 naranja verde negro</a> <a href="http://www.amvdiplomados.com/air-jordan-retro-31-rojo-blanco-azul-zapatosk">air jordan retro 31 rojo blanco azul</a> <a href="http://www.ybsimports.com/boys-north-face-aconcagua-jacket-northfaceh">boys north face aconcagua jacket</a> <a href="http://www.rochlockyer.com/nike-roshe-run-blum%C3%A4nner-schwarz-wei%C3%9F-schuhek">nike roshe run blum盲nner schwarz wei脽</a> <a href="http://www.allsocialdata.com/kvinder-nike-air-huarache-nm-hvid-skoi">kvinder nike air huarache nm hvid</a>
ceracustica http://www.ceracustica.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸