[pmwiki-users] More on Richedit . . .

Ben Wilson dausha at gmail.com
Thu Sep 15 09:58:13 CDT 2005


Okay, I have everything set up but I'm getting the jumble of HTML 
mentioned in RichText/LearnMore. I have Javascript running and all.

I do not see a javascript file being called in the HTML page source.

Ben

Patrick R. Michaud wrote:
> On Thu, Sep 15, 2005 at 09:37:51AM -0500, Ben Wilson wrote:
> 
>>>>Where you have include_once('scripts/. . .');, please make it 
>>>>include_once("$FarmD/scripts/. . .");
>>>
>>>I disagree with this -- there are some farm installations where
>>>the richedit package might be installed in a field but not in
>>>the farm as a whole.  
>>>
>>>Still best is to have a script that detects where it's located and
>>>builds paths relative to that.
>>
>>But, the include is looking for 'scripts/wikistyle.php' in the $FarmD path.
> 
> 
> Woops, you're right -- I was totally thinking of something else from
> a very long time ago.  Sorry about that.
> 
> You're correct, to get to things in scripts/ directory it's best to 
> always use "$FarmD/scripts" in recipes.
> 
> Pm
> 





More information about the pmwiki-users mailing list