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.


2 part query Semihtml and wysiwyg

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#90459 (In Topic #18281)
Avatar

Fan in action

Hi all,
Is there anyway of removing or disabling the inclusion of semihtml & /semihtml
Everytime I save anything it throws in these tags then complains about them not being open but not closed. I know how to close them (d'oh) but it would help if they simply werent included.

Also, is there an easier way to to add an image into a post without knowing the url using wysiwyg editor.
For example, with concrete 5, you can click an icon within the wysiwyg and it allows you to choose from a gallery, or upload one into a gallery then select it for a post.
With this one in ocportal, you have to know the url with no chance of upload and post into.
Using the attachment comode tag option is not really flexible for my needs...

Thanks guys

Be gentle, I'm new to this :)
Back to the top
 
Posted
Item has a rating of 5 (Liked by RoyBoy)  
Rating:
#90460
Avatar

Ensure the 'Convert XHTML to Comcode' option in the Configuration is off and use the attachments feature rather than the image button.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#90466
Avatar

Fan in action

Chris Graham said

Ensure the 'Convert XHTML to Comcode' option in the Configuration is off and use the attachments feature rather than the image button.

Convert XHTML to Comcode is off :o(

Be gentle, I'm new to this :)
Back to the top
 
Posted
Item has a rating of 5 (Liked by Guest)  
Rating:
#90467
Avatar

This is not a problem that has been reported before so you'll need to show precisely step by step how you get to the errors. i.e. exact keypresses and inputted text and clicks – or if you can record a video (e.g. with Jing) that would achieve the same goal.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by RoyBoy)  
Rating:
#90482
Avatar

After sleeping on this…

I remembered that some usergroups may still suffer Comcode conversion if they don't have the "Subject to a more liberal HTML filter" privilege.

Also by examining the code I can see that if the non-bundled 'direct_video_link_posting' addon is installed, and the post contains a URL/image/link, then this would trigger a Comcode conversion.


Otherwise I need to reiterate the need for a clear test case. The Comcode/WYSIWYG functionality is extremely complex, and people use it in very different ways without realising it – there possibly is a bug here but at the moment I don't know how to reproduce it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#92094
Avatar

Well-settled

RoyBoy said

Chris Graham said

Ensure the 'Convert XHTML to Comcode' option in the Configuration is off and use the attachments feature rather than the image button.

Convert XHTML to Comcode is off :o(

I have been having the same problem when editing signatures using just the HTML tags. The SEMIHTML tag is being inserted, along with the HTML tag when using the WYSIWYG editor.

What I did was just edit out the SEMIHTML syntax in the comcode, save it, and problem solved, at least for now. This was giving me fits for a while, as well.
Back to the top
 
Posted
Rating:
#92101
Avatar

If you can show a Jing screencast of exactly how to reproduce the problem (starting from a blank signature) we can take a look at it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#92185
Avatar

Three people reported Comcode problems last week and I asked all to report using Jing, and nobody did :lol:. So I'm taking a look myself now to try and reverse engineer the problems ;)

1)

Pretty sure the one I got by email was user error, although it is hard to tell from what they described.

2)

For this one, I can see that this WYSIWYG input produces an error:

Code

[semihtml]<b>test</b>[/semihtml]

This is because WYSIWYG is itself semihtml, so you get:

Code

[semihtml][semihtml]<b>test</b>[/semihtml][/semihtml]

Because a semihtml tag inside a semihtml tag is treated as text, the first closer closes the first opener, then the second closer then is unmatched and produces an error.

This is correct behaviour, however I will try and make it smart enough to know it can ignore the problem.

3)

Will look at other one in View topic: Pictures not displaying - ocPortal.com next.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#92186
Avatar

Btw, the correct solution to inputting raw HTML to the WYSIWYG is the source view of the WYSIWYG. My 'fix' will be merely to surpress the error, but you'll still see the HTML as plain text rather than rendered – I'm not going to try and make the parser try and keep track of "levels of HTML" and decode them back up a pipeline.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: