321
blueteen
Re: error when printing articles in news 1.3.1 stable
  • 2005/7/4 7:48

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


Hello,

in printp.php, replace line

$xoopsTpl->assign('xoops_meta_description'$story->description());


with

$xoops_meta_description $story->description();



322
blueteen
Re: [mini guide] How to quickly replace all the textarea with kiovi in Xoops
  • 2005/6/12 9:07

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


ok scuse me, it was an old file...

try this : in \modules\system\admin\blocksadmin\blockform.php


replace

$textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT'bcontent'$block['content'], 1570);


with

$textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT'bcontent'$block['content'], '100%''500px');


to update module 'system' is not needed, you can see the result immediately



323
blueteen
Re: [mini guide] How to quickly replace all the textarea with kiovi in Xoops
  • 2005/6/11 12:00

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


in \modules\system\admin\blocksadmin\blockform.php

find this line


$textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT'bcontent'$block['content'], 1570);


and replace with

$textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT'bcontent'$block['content'], 4070);


it works for me :)



324
blueteen
Re: [mini guide] How to quickly replace all the textarea with kiovi in Xoops
  • 2005/6/3 12:57

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


Thanks for your second tip !!
i've modified 5 files for newBB.
it works perfectly for me :)
i only hope there's no bad effect !

Quote:

tzvook wrote:
Since no good soul came to help, here is my solution (which is very welcome for critic ... though it works great for me till now)

I found 2 solutions for two cases

1. In the file that is responsible to show the data (depends on which module you need it for) find the field inwhich you have the wysiwyg (or want to make html enable from any other reason) ... replace:
$myts->makeTareaData4Show($your-field,0)


with:
$myts->undoHtmlSpecialChars($your-field,0)


2. If fields look like this:
$this->initVar("description"XOBJ_DTYPE_TXTAREAnullfalse);


Add in the end of the list:
$this->initVar("dohtml"XOBJ_DTYPE_INT1false);


Till now it covered my need with the wysiwyg fields replacement (see my posts above) ... hope it'll help ....



325
blueteen
Re: xoops_url - virtual path - domain redirection
  • 2004/7/16 8:37

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


great !
it works for me also !
thank you !!




TopTop
« 1 ... 30 31 32 (33)



Login

Who's Online

236 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits