HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Emoticon problem (#catalogues_469)

Login / Search

 [ Join | More ]
 
 
This is a spacer post for an ocPortal comment topic. The content this topic relates to: Emoticon problem
 


Avatar
Having a problem with this one for the following reasons:

  • Can't find the first snippet of code that requires replacing. I think it is because there is an additional 'close-bracket' at the end of the line.
  • The lines where this snippet of code appears in my template are 418, 470, 499, 571

Please amplify on what to edit.

Thanks.

Avatar
I've double checked and the instructions seem correct, but perhaps there's a version mismatch somewhere.

The first line is about 11 lines into the do_emoticon function and the second is about 1 liens into the insertTextbox function.

Avatar
I'm confused about the 'version mismatch' thingy.

Version 3.2.4 had the following code appear in lines 418, 469, 497, 568

Code

   if (element.style.display=='none')

Version 3.2.5 amended that, and the following code appears in lines 418, 470, 499, 571 (as one would expect because of the extra snippets of code that were added)

Code

   if ((element.style.display=='none') || ((window.wysiwyg_on) && (wysiwyg_on())))

So, which version am I missing?

Avatar
I've double-checked on the file from the last upgrade archive, and the lines seem correct on there also. However I've attached the updated JAVASCRIPT_EDITING template if you want to just replace the whole file.

There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: