You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#112364 Code Snippets

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Monday, 21 November 2022 09:23 GMT

vicforestheritage
Hi Ryan

Does JCE have a feature something similar to Template Manager in Editor screen for the Code screen. For example we need to add &tmpl=component to the link when creating a popup. There are also other instances where we need to insert code snippets, but need to be in the Code screen to do so.

There is a plugin Content Templater which may do the trick, however every instance of double quote coded as the entity name gets changed to " by JCE when I save it as part of a template snippet in Content Templater. When setting parameters for Lightcase the entity name for " must be used inside the curly brackets instead of ", otherwise it does not work.

If it is all wrapped up between the a tags and href="https://www.joomlacontenteditor.net/" element the entity name is preserved, but otherwise not.

Is there a setting I can change.

Regards

Peter

Ryan
" characters inside an attribute value should always and will always be encoded.

You can try using ' instead if it is supported by Content Templater and Lightcase.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.