Custom widget creation

pandeyved
Tera Contributor

Hi All,
I need a widget to display the following content like this, whether any OOB widget present or need to create custom one. If custom, then how I can create.

This is widget to display image and when we click it takes up to cat item

pandeyved_0-1700554855116.png

 

Similarly like this one more

pandeyved_1-1700554855118.png

 

Please guide

Thanks

1 ACCEPTED SOLUTION

@pandeyved You can try out card size as 'small' to get the below kind of design with OOB widget. 

SajalGupta_4-1700561348995.png

 

 

If you still want to achieve that design. The space is too small to show 2 cards back to back, you can customize the widget and update the size in the below widget code from 20 rem to 8 rem to achieve that.

SajalGupta_2-1700561211865.png

SajalGupta_3-1700561269997.png

 

 

View solution in original post

19 REPLIES 19

Thanks @Sajal Gupta 

Is there a possibility that if I am making any change on sub-topics widgets which is mapped to each topic page. and I want that, the change which I have done should reflect in only one topic page not the others

Hey @pandeyved 

Create a topic template with a custom subtopic widget as per your requirements. Associate that template to topics where you want to show your sub-topic widget.

Reference: Topic Template Documentation

Thanks

Hi @Sajal Gupta 

If you can see my topic has templates: 

pandeyved_0-1700629045803.png

Let's say I have a widget called GET HELP, which I want to show on this topic only. But if I am adding this widget on topic page, it is getting visible to each topic page.
Pls guide on this.
thanks

@pandeyved 

Clone this template and create a new one, Add your widget to the cloned template. Update the new template to only topic pages where you want to show that specific widget.

Regards

Sajal

Sorry, it is difficult to understand. Can you tell How I can attach widget to template