Expand my Community achievements bar.

SOLVED

component is not visible

Avatar

Level 6

Hi i have created the Project and created the one custom component in crxde consle

the component is created sucessfully. but when you appling on engilish page that component is not visible.

is there any permission issue.

below is screen shor for the same

1665672_pastedImage_0.png

when u add component into page it is not showing

screen shot is below.

1665673_pastedImage_1.png

1 Accepted Solution

Avatar

Correct answer by
Level 10
  1. Click on Page information icon (middle one on top left corner)
  2. Click on Edit Template option
  3. Choose the specific layout container/component where you want to add your own custom component
  4. Select that layout container/component and click on policy icon
  5. Choose a specific policy to add your custom component under Policy on left side. Leave it default in case you want to modify the default policy.
  6. Find & add your component on the right side Properties > Allowed Components widget
  7. Click Done on the top right corner
  8. Go back to your page & refresh
  9. Check if your component is available on the container where you allowed it to be visible.

View solution in original post

9 Replies

Avatar

Level 10

check the group name of the component and is it allowed/added in the policy of the page-template?

Avatar

Level 10

What is your code in the component - try putting a simple <p>Hello There</p>

Avatar

Community Advisor

Can you check if cq:editConfig or cq:dialog node is created under component or not? If Yes then check allowed component group or component for particular template.



Arun Patidar

Avatar

Level 4

1. make sure you have dialog in your component

2.make sure your component name and jcr:title property value are not same

Avatar

Level 6

Hi gaurav,

As pr you suggestion i have added componentGroup  property but still i'm not able to see that component to add in english page.

1666826_pastedImage_0.png

check the group name of the component and is it allowed/added in the policy of the page-template?

Can you explain little bit more here hoe i can create the custom component and add to the English page

Awaiting for your response.

Reards

Manikantha R

Avatar

Level 6

Hi Arun,

cq:dialog node is there for the custom component  which i have created.

But how i can check the allowed component group or component for particular template.

Regards

Manikantha R

Avatar

Level 6

Hi smacdonald2008

I have added simple <p> the is first componenet </p>

but still i'm not getting the component in english page.

Regards

Manikantha R

Avatar

Correct answer by
Level 10
  1. Click on Page information icon (middle one on top left corner)
  2. Click on Edit Template option
  3. Choose the specific layout container/component where you want to add your own custom component
  4. Select that layout container/component and click on policy icon
  5. Choose a specific policy to add your custom component under Policy on left side. Leave it default in case you want to modify the default policy.
  6. Find & add your component on the right side Properties > Allowed Components widget
  7. Click Done on the top right corner
  8. Go back to your page & refresh
  9. Check if your component is available on the container where you allowed it to be visible.

Avatar

Level 6

Hi gaurav,

Thanks for your quick response.

I have followed the steps which you have provided to me.

It is working fine to me.

I am able to added custom component which i have created now.

Let me ping you if any  more clarification need for me.

Ones again thanks much for your support.

Regards

Manikantha R