Yii富文本编辑器插件 kcFinder

2014-7-28 liyangweb.com 李杨 PHP

插件官方地址:

http://www.yiiframework.com/extension/ckkceditor

 

1.在官方下载一个叫ckkceditor的拓展组件:地址  http://www.yiiframework.com/extension/ckkceditor

2.将压缩包中的editor放到项目的extension目录下

3.将以下代码放到你表单中要使用文本编辑器的textarea处,替换textarea

 <?php
$this->widget('application.extensions.editor.CKkceditor',array( 
    "model"=>$model,         //数据模型
    "attribute"=>'content',   //文本域中的字段,也就是之前文本域的名字
     "height"=>'400px',       //编辑器的高度
    "width"=>'100%',          //编辑器的宽度
    "filespath"=>Yii::app()->basePath."/../data/", //data文件夹是在项目根目录创建的可写权限文件夹,存放上传的图片和文件
    "filesurl"=>Yii::app()->baseUrl."/data/", ) );
?>

 

4.大功告成

标签: YiiKcFinder

评论:

capitanleston
2019-01-17 16:32
<a href="http://www.sitopromo.com/jordan-retro-13-bl%C3%A5-and-gul-kurpese">jordan retro 13 bl氓 and gul</a> <a href="http://www.yatabase.com/air-max-1-lunar-noir-anthracite-blanc-volt-lyrics-schuhef">air max 1 lunar noir anthracite blanc volt lyrics</a> <a href="http://www.alexiancancer.com/air-max-zero-plata-bullet-for-venta-schuheb">air max zero plata bullet for venta</a> <a href="http://www.bandaangatu.com/nike-mercurial-vapor-amarillo-naranja-julius-chaussuresd">nike mercurial vapor amarillo naranja julius</a> <a href="http://www.brianrubeo.com/kd-9-oreo-nero-duck-butyg">kd 9 oreo nero duck</a> <a href="http://www.darngoodpizza.com/air-jordan-retro-12-rosa-brot-scarpea">air jordan retro 12 rosa brot</a>
capitanleston http://www.capitanleston.com/
gokcenotoboya
2019-01-15 23:21
<a href="http://www.goodbuysindia.com/jordan-5-svart-fire-r%C3%B8d-butyf">jordan 5 svart fire r酶d</a> <a href="http://www.marijuanapeer.com/nike-huarache-ultra-blanco-collar-obuvf">nike huarache ultra blanco collar</a> <a href="http://www.monolitcenter.com/nike-sb-blazer-bl%C3%A5-hvid-obuvd">nike sb blazer bl氓 hvid</a> <a href="http://www.podcastboyz.com/adidas-springblade-naranja-negro-dog-kurpesg">adidas springblade naranja negro dog</a> <a href="http://www.tentplezier.com/air-jordan-9-retro-low-bl%C3%A5-r%C3%B8d-obuvb">air jordan 9 retro low bl氓 r酶d</a> <a href="http://www.uacurryclub.com/nike-free-flyknit-5.0-kvinders-himmelbl%C3%A5-butya">nike free flyknit 5.0 kvinders himmelbl氓</a>
gokcenotoboya http://www.gokcenotoboya.com/
2o14lqiq
2019-01-14 09:12
<a href="http://www.xkf6a16y.com/nike-air-max-tn-oro-coins-scarpec">nike air max tn oro coins</a> <a href="http://www.hbpewjoe.com/nike-hypervenom-noir-and-orange-indoor-schuhee">nike hypervenom noir and orange indoor</a> <a href="http://www.lpdkiia0.com/nike-flyknit-air-max-bianca-kitchen-scarpeb">nike flyknit air max bianca kitchen</a> <a href="http://www.9iwx2z7l.com/nike-dunk-bambini-scarpe-viola-rosso-schuhee">nike dunk bambini scarpe viola rosso</a> <a href="http://www.oz834rgf.com/nike-air-jordan-retro-4-wei%C3%9F-military-blau-butyf">nike air jordan retro 4 wei脽 military blau</a> <a href="http://www.50656zme.com/nike-free-3.0-urban-arancia-zone-obuve">nike free 3.0 urban arancia zone</a>
2o14lqiq http://www.2o14lqiq.com/
redtokill
2019-01-06 11:39
<a href="http://www.sellingmason.com/adidas-neo-ventilation-verde-nero-scarpea">adidas neo ventilation verde nero</a> <a href="http://www.soflexdance.com/unisex-nike-roshe-run-blomstret-bl%C3%A5-guld-kurpese">unisex nike roshe run blomstret bl氓 guld</a> <a href="http://www.visiotimes.com/mens-zach-ertz-limited-camo-nike-jersey-nfl-philadelphia-eagles-86-2018-salute-to-service-nflr">mens zach ertz limited camo nike jersey nfl philadelphia eagles 86 2018 salute to service</a> <a href="http://www.whitegayshop.com/lunarglide-7-grigio-paint-kurpese">lunarglide 7 grigio paint</a> <a href="http://www.alahedsports.com/nike-air-max-2017-gr%C3%A5-gr%C3%B8n-schuhef">nike air max 2017 gr氓 gr酶n</a> <a href="http://www.beautyestyle.com/herre-nike-flyknit-lunar-3-hvid-gr%C3%A5-obuvg">herre nike flyknit lunar 3 hvid gr氓</a>
redtokill http://www.redtokill.com/
torsenli
2019-01-04 05:13
<a href="http://www.cakeeaterspgh.com/nike-roshe-run-speckle-orange-grey-shoesc">nike roshe run speckle orange grey</a> <a href="http://www.leesgoedplus.com/billig-nike-zoom-pegasus-32-kvinders-bl%C3%A5-skog">billig nike zoom pegasus 32 kvinders bl氓</a> <a href="http://www.lieupekings.com/yellow-purple-womens-nike-air-force-1-high-shoes-sportsf">yellow purple womens nike air force 1 high shoes</a> <a href="http://www.marieebeaute.com/nike-air-max-tailwind-5-orange-dream-runningd">nike air max tailwind 5 orange dream</a> <a href="http://www.dentaleden.com/limited-jason-hanson-jersey-detroit-lions-4-camo-fashion-black-nflg">limited jason hanson jersey detroit lions 4 camo fashion black</a> <a href="http://www.jellyville.com/nike-flyknit-lunar-3-silver-black-skoa">nike flyknit lunar 3 silver black</a>
torsenli http://www.torsenli.com/
arenewedimage
2019-01-02 13:18
<a href="http://www.hookupwithher.com/mens-corey-clement-limited-green-nike-jersey-nfl-philadelphia-eagles-30-rush-vapor-untouchable-nflw">mens corey clement limited green nike jersey nfl philadelphia eagles 30 rush vapor untouchable</a> <a href="http://www.lumalend.com/nike-air-max-2015-bleu-rose-schuheg">nike air max 2015 bleu rose</a> <a href="http://www.normazlin.com/air-huarache-brojo-yet-scarpeg">air huarache brojo yet</a> <a href="http://www.sevenkarma.com/air-jordan-retro-12-kinder-schwarz-braun-kurpese">air jordan retro 12 kinder schwarz braun</a> <a href="http://www.alpacificos.com/nike-mercurial-vapor-superfly-ii-hvit-bl%C3%A5-schuheg">nike mercurial vapor superfly ii hvit bl氓</a> <a href="http://www.cinderstorm.com/nike-air-max-95-jacquard-marrone-argento-schuheb">nike air max 95 jacquard marrone argento</a>
[url=http://www.arenewedimage.com/]arenewedimage[/url]
annersroofing
2019-01-01 12:55
<a href="http://www.helpforaspen.com/nike-air-max-2015-womens-pink-green-skog">nike air max 2015 womens pink green</a> <a href="http://www.mcmartial.com/nike-kd-7-real-pink-purple-skob">nike kd 7 real pink purple</a> <a href="http://www.puurderleven.com/minnesota-twins-bomber-hat-knitting-pattern-hata">minnesota twins bomber hat knitting pattern</a> <a href="http://www.ipartybooths.com/pink-purple-womens-air-jordan-son-of-mars-shoes-runninge">pink purple womens air jordan son of mars shoes</a> <a href="http://www.senegalreview.com/nike-zoom-pegasus-32-mennns-svart-mold-schuhea">nike zoom pegasus 32 mennns svart mold</a> <a href="http://www.poshandpearls.com/nike-air-max-zero-kvinders-hvid-gr%C3%A5-scarpeb">nike air max zero kvinders hvid gr氓</a>
annersroofing http://www.annersroofing.com/

发表评论:

Powered by emlog 冀ICP备13011830号-1