Welcome, Guest
Please Login or Register.    Lost Password?
TinyMCE editor for Pligg CMS (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: TinyMCE editor for Pligg CMS
#25
TinyMCE editor for Pligg CMS 2 Years, 7 Months ago Karma: 30  
Steps:
1] copy files tiny_mce to /3rdParty folder (if you chose to get files from the tinyMCE main site then please copy only the folder tiny_mce under /tinymce/jscripts/ to 3rdParty in Pligg base) or download this topic.
2] Enable HTML in submit from admin panel to include the following tags
Code:

<br><font><img><p><a><strong><ul><li><ol><u><em><span><pre><h1><h2><h3><hr><embed>
3] Edit Pligg.tpl to have the following lines after the
Code:

{checkForJs}
Code:

{if $pagename eq "submit" or "editlink"} <script language="javascript" type="text/javascript" src="{$my_pligg_base}/3rdparty/tiny_mce/tiny_mce.js"></script> {/if}
4] Edit submit_step_2.tpl to have the following lines after
Code:

{config_load file="/libs/lang.conf"}
add
Code:

{literal} <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "exact", elements : "bodytext,summarytext", theme : "advanced", plugins : "advimage,advlink,emotions,iespell,insertdatetime,preview,media,visualchars,xhtmlxtras", theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,insertdate,inserttime,|,forecolor,backcolor,|,hr,removeformat,formatselect", theme_advanced_buttons2 : "link,unlink,image,media,|,undo,redo,cleanup,|,code,preview", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]", browsers : "msie,gecko,opera,safari" }); </script> {/literal}
5] Edit editlink_edit_center.tpl to have the following lines after
Code:

{config_load file="/libs/lang.conf"}
add
Code:

{literal} <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "exact", elements : "bodytext,summarytext", theme : "advanced", plugins : "advimage,advlink,emotions,iespell,insertdatetime,preview,media,visualchars,xhtmlxtras", theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,insertdate,inserttime,|,forecolor,backcolor,|,hr,removeformat,formatselect", theme_advanced_buttons2 : "link,unlink,image,media,|,undo,redo,cleanup,|,code,preview", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]", browsers : "msie,gecko,opera,safari" }); </script> {/literal}
File Attachment:
File Name: tiny_mce.zip
File Size: 443186
pliggtemplates (Moderator)
Moderator
Posts: 1105
graph
User Offline Click here to see the profile of this user
Gender: Male
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/23 15:08 By pliggtemplates.
 
Sorry for my English !
 
The administrator has disabled public write access.  
#108
Re:TinyMCE editor for Pligg CMS 2 Years, 5 Months ago Karma: 2  
i can't find {config_load file="/libs/lang.conf"} in submit_step_2.tpl and also the following steps how can i add that modul to starnews templet
sachwork (User)
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sach.work BharatBoom sach4sach Location: Ahmedabad Birthdate: 1985-01-25
Report to moderator   Logged Logged  
 
Have a Look at my Website www.bharatboom.com
 
The administrator has disabled public write access.  
#113
Re:TinyMCE editor for Pligg CMS 2 Years, 5 Months ago Karma: 30  
Pligg 9.9. Steps 4; 5; in your topic. Insert that code into begin of files named as submit_step_2.tpl and editlink_edit_center.tpl.
pliggtemplates (Moderator)
Moderator
Posts: 1105
graph
User Offline Click here to see the profile of this user
Gender: Male
Report to moderator   Logged Logged  
 
Sorry for my English !
 
The administrator has disabled public write access.  
#118
Re:TinyMCE editor for Pligg CMS 2 Years, 5 Months ago Karma: 2  
thanks Mod i will do it can you tell me how to display images in my story summary on main page and can i use image link to display images
sachwork (User)
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sach.work BharatBoom sach4sach Location: Ahmedabad Birthdate: 1985-01-25
Report to moderator   Logged Logged  
 
Have a Look at my Website www.bharatboom.com
 
The administrator has disabled public write access.  
#121
Re:TinyMCE editor for Pligg CMS 2 Years, 5 Months ago Karma: 30  
Hi,
What did you mean, I unfortunately can't understand?

What is a story summary means? Can you take a link from your site to story summary?
Or your question is to SlideShow.
pliggtemplates (Moderator)
Moderator
Posts: 1105
graph
User Offline Click here to see the profile of this user
Gender: Male
Report to moderator   Logged Logged  
 
Sorry for my English !
 
The administrator has disabled public write access.  
#123
Re:TinyMCE editor for Pligg CMS 2 Years, 5 Months ago Karma: 2  
i had try that one but it's not working see the screen shot
http://img409.imageshack.us/my.php?image=85245307wm3.jpg
sachwork (User)
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sach.work BharatBoom sach4sach Location: Ahmedabad Birthdate: 1985-01-25
Report to moderator   Logged Logged  
 
Have a Look at my Website www.bharatboom.com
 
The administrator has disabled public write access.  
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
PliggTemplatesTemplate Club