Khoros Atlas Logo

%3CLINGO-SUB%20id%3D%22lingo-sub-501200%22%20slang%3D%22en-US%22%3EHow%20to%20Actually%20Edit%20Widgets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-501200%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20a%20widget%20called%20%22blogs.widget.archives%22%2C%20which%20I%20need%20to%20edit%20so%20it%20will%20behave%20consistently.%20I've%20seen%20a%20couple%20of%20threads%20about%20this%20same%20question%2C%20and%20they%20talk%20about%20either%20overriding%20logic%20in%20the%20component%20or%20using%20CSS%20to%20re-style%20it.%20It%20seems%20rather%20difficult%20to%20override%20a%20piece%20of%20code%20if%20I%20can't%20get%20to%20it%2C%20and%20what%20I%20need%20isn't%20styling.%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20actually%20edit%20a%20widget%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-501200%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%20%26amp%3B%20Studio%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-501207%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Actually%20Edit%20Widgets%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-501207%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1292%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40Warren_Brill%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EThere%20is%20no%20way%20to%20access%20the%20code%20to%20edit%20OOB%20component.%20So%20you%20can't%20edit%20them.%3C%2FP%3E%3CP%3ELithium%20provide%20override%20the%20components%2C%20see%20topic%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2FComponents-endpoints-and-the%2FUsing-override-to-change-core-components%2Fta-p%2F61358%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20This%20will%20guide%20you%20to%20add%20your%20custom%20code%20in%20place%20to%20that%20component%20area.%3C%2FP%3E%3CP%3EOr%20you%20can%20use%20delegate%20tag%20to%20add%20any%20code%20or%20text%20which%20we%20can%20show%20that%20before%20and%20after%20the%20OOB%20component.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Honored Contributor Honored Contributor
Honored Contributor

How to Actually Edit Widgets

There is a widget called "blogs.widget.archives", which I need to edit so it will behave consistently. I've seen a couple of threads about this same question, and they talk about either overriding logic in the component or using CSS to re-style it. It seems rather difficult to override a piece of code if I can't get to it, and what I need isn't styling.

Is there a way to actually edit a widget?

Warren

Labels (1)
0 Kudos
1 Reply 1
Highlighted
Honored Contributor
Honored Contributor

Re: How to Actually Edit Widgets

@Warren_Brill,

There is no way to access the code to edit OOB component. So you can't edit them.

Lithium provide override the components, see topic here. This will guide you to add your custom code in place to that component area.

Or you can use delegate tag to add any code or text which we can show that before and after the OOB component.

 

.......
Do you know we work with Kudos and Accepted Solution.
0 Kudos
Reply
Loading...