CQ 5.5: Why doesn't the Sidekick show up on a new page created from a new template? | Community
Skip to main content
asaxesmartling
October 16, 2015
Solved

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

  • October 16, 2015
  • 6 replies
  • 2008 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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 replies

smacdonald2008
Level 10
October 16, 2015

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. 

smacdonald2008
Level 10
October 16, 2015

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. 

asaxesmartling
October 16, 2015

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>

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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>
asaxesmartling
October 16, 2015

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.

smacdonald2008
Level 10
October 16, 2015

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

[img]Design2.png[/img]