Start page
Start page
Start page

Start page / Advanced topics / Content highlighting / InplaceIncludeJS

WEBeditInplaceIncludeJS

If the render format template WEBeditInplaceIncludeJS is to be used to define highlighting with content highlighting (with simultaneous use of Easy Edit), it must be added to all page templates in which content highlighting is to be used, between the opening and closing HTML tag "head" with $CMS_RENDER(...)$:

...
<html>
<head>
<title>Page template</title>
$CMS_RENDER(template:"WEBeditInplaceIncludeJS")$
</head>
<body>
...

WEBeditInplaceIncludeJS does not require any other parameters for content highlighting.

Important Alternatively, the "WE_css" stylesheet can be integrated in the page templates in which content highlighting is to be used:
<link href="$CMS_REF(media:"WE_css")$" rel="stylesheet" type="text/css"/>

Parallel use with Easy Edit

If Easy Edit is used in parallel with content highlighting, the render format template WEBeditInplaceIncludeJS should be used. If content highlighting is to be used alone, the highlighting function can be made available by integrating the "WE_css" stylesheet (see note above), use of WEBeditInplaceIncludeJS is then not necessary.

In addition, the optional animated and fastMode parameters can be used for this format template for Easy Edit; however, they have no effect for content highlighting. For notes on restrictions and other configuration options in Easy Edit see there.

© 2005 - 2012 e-Spirit AG | All rights reserved. | Last change: 17.07.2009