Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Plugin for FCKeditor
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
sunjester
Smarty n00b


Joined: 24 Aug 2009
Posts: 2

PostPosted: Mon Aug 24, 2009 5:52 pm    Post subject: Reply with quote

I got this to work once, so I decided I would use it again. Now I can't seem to get it to work.

Code:
Fatal error: Smarty error: [in default/article_add.tpl line 35]: syntax error: unrecognized tag 'fckeditor' (Smarty_Compiler.class.php, line 590) in C:\wamp\www\newfu\templates\libs\Smarty.class.php on line 1113


this is in my view:
Code:
{fckeditor BasePath="fckeditor/" InstanceName="art" Width="650px" Height="300px" ToolbarSet="Basic"}


controller:
Code:

$smarty = new Smarty();
$smarty->display("default/header.tpl");
$smarty->display("default/article_add.tpl");


Last edited by sunjester on Wed May 05, 2010 11:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
sunjester
Smarty n00b


Joined: 24 Aug 2009
Posts: 2

PostPosted: Mon Aug 24, 2009 5:58 pm    Post subject: Reply with quote

sorry i fixed this, i didnt name my plugin file properly. i promptly changed it to "function.fckeditor.plugin" and it works flawlessly now Razz thanks

Last edited by sunjester on Wed May 05, 2010 11:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
elpmis
Smarty Elite


Joined: 07 Jun 2007
Posts: 259

PostPosted: Tue Aug 25, 2009 12:24 pm    Post subject: Reply with quote

Has anyone checked (or adapted) this with the FCK follower - CKEditor?
Back to top
View user's profile Send private message
bsh
Smarty Rookie


Joined: 16 Sep 2009
Posts: 5

PostPosted: Wed Sep 16, 2009 1:29 pm    Post subject: Reply with quote

nice job
Back to top
View user's profile Send private message
oclejiq
Smarty Rookie


Joined: 18 Dec 2011
Posts: 5

PostPosted: Mon Dec 17, 2012 11:48 am    Post subject: Reply with quote

This post should be closed.
Now we have a CKEditor and the year 2013 will be soon.

Arrow People looking for information about integration CKEditor with Smarty:
"CKEditor plugin"
http://www.smarty.net/forums/viewtopic.php?t=17319
Back to top
View user's profile Send private message
Watch-Style
Smarty n00b


Joined: 13 Oct 2013
Posts: 1
Location: http://watchstyle.com.ua/

PostPosted: Sun Oct 13, 2013 7:38 pm    Post subject: Reply with quote

after reading the threads solved the problem, thanks
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP