내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

CQ 5.5: Why doesn't the Sidekick show up on a new page created from a new template?

Avatar

Level 1

I've been attempting to make the most basic of basic templates/pages in CQ 5.5.  I have followed the instructions on:  http://dev.day.com/docs/en/cq/5-5/howto/website.html

But unlike in the instructions on the site, the Sidekick is never displayed.  There aren't any Javascript errors and everything in my setup looks the same as what is in the instruction guide.

Any ideas why the Sidekick would never show up?  Am I missing something obvious?

Thank you.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

Looks like you are missing this line of code:

 

<cq:include script="/libs/wcm/core/components/init/init.jsp"/>

displays the CQ sidekick in the page during design time. 

 

Try this code:

<%@include file="/libs/foundation/global.jsp" %>
<cq:include script="/libs/wcm/core/components/init/init.jsp"/>
<html>
<head>
<title>Test</title>
</head>
<body>
<h2>This page displays the sidekick</h2>
<cq:include path="par" resourceType="foundation/components/parsys" />
</body>
</html>

원본 게시물의 솔루션 보기

6 답변 개

Avatar

Level 10

Have you tried different web browsers and clear the cache?  

Can you paste the code to your template please - i want to make sure that you did not miss any thing in the template. 

Avatar

Level 10

TO make component appear on the side -- first you click the design icon located at the bottom of the side kick:

[img]design.png[/img]

Then you will see the Edit button - click it and you will see the Edit Component box as shown here.

[img]sidekick.png[/img]

Click a category under Allow components and the component in the category will appear in the sidekcik. 

Avatar

Level 1

Hi - Thanks for the quick reply!  The template is literally the simplest thing that I just copied from the instruction guide:

 

<%--

Content Page Component component.

  This is the Content Page Component.

--%><%
%><%@include file="/libs/foundation/global.jsp"%><%
%><%@page session="false" %><%
%><%
    // TODO add you code here
%>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>My title</title>
</head>
<body>
<div>My body</div>
</body>
</html>

Avatar

정확한 답변 작성자:
Level 10

Looks like you are missing this line of code:

 

<cq:include script="/libs/wcm/core/components/init/init.jsp"/>

displays the CQ sidekick in the page during design time. 

 

Try this code:

<%@include file="/libs/foundation/global.jsp" %>
<cq:include script="/libs/wcm/core/components/init/init.jsp"/>
<html>
<head>
<title>Test</title>
</head>
<body>
<h2>This page displays the sidekick</h2>
<cq:include path="par" resourceType="foundation/components/parsys" />
</body>
</html>

Avatar

Level 1

Awesome.  I very much appreciate the help.  So - now the Sidekick shows up, but there are no components in it?

I apologize, should this be obvious to me?  Maybe I'm just missing the basics of CQ.

Avatar

Level 10

Oh yeah -- click the down arrow on the side kick while in design mode to get out of Design mode:

[img]Design2.png[/img]