| Re: how to disable the xoops linebreak option in mytube module |
| by nmshah on 2009/1/9 18:55:09 Thanks a lot |
| Re: how to disable the xoops linebreak option in mytube module |
| by McDonald on 2009/1/9 12:58:24 Sorry, forgot something... Also open the file singlevideo.php and find this line: le="color: #000000"><?php $video['description2'] = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 1 ); And replace it with this line: le="color: #000000"><?php $video['description2'] = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 0 );
|
| Re: how to disable the xoops linebreak option in mytube module |
| by McDonald on 2009/1/9 12:51:27 Open the file include/videoloadinfo.php and find this line: le="color: #000000"><?php $description = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 1 ); And replace it with this one: le="color: #000000"><?php $description = $xtubemyts -> displayTarea( $video_arr['description'], 1, 1, 1, 1, 0 ); Explanation: le="color: #000000"><?php displayTarea( $text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) So when you apply the 2nd line from above you have: - HTML enabled, - Smiley enabled, - XOOPS code enabled, - images enabled and - linebreaks disabled. |
| how to disable the xoops linebreak option in mytube module |
| by nmshah on 2009/1/9 12:42:50 I am using the mytube module with fckeditor as the default editor for the complete site. Every time i add a description in the mytube module for any video clip i line break is automatically added. Since i am using fckeditor i'll like to disable the auto linebreak option. Can some one tell me how to do this? |