활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
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.
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
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>
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
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>
조회 수
답글
좋아요 수
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>
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
Oh yeah -- click the down arrow on the side kick while in design mode to get out of Design mode:
[img]Design2.png[/img]
조회 수
답글
좋아요 수