Is there a way to add a custom button which adds 'text-shadow' to selected text?
Thanks!
Related
I am trying to update field in a XFA pdf file. I am able to do so for text fields:
XFA xfa = doc.getForm().get_xfa();
xfa.set_Item("field", "value");
How to make a radio button selection this way?
Here are the Steps:
Edit Sitecore UI content Item
Scroll to Content section --> Click on Show Editor
Richtext Editor --> Image manager --> Select an Image
Missing Alt Text value from the Image selected.
Is there any way to get the Alt Text auto filled from the Image stored in MediaLibrary which has existing Alt value?
I have made some changes to add caption to opencart owl carousel , I am using title input to store some captions that contains html codes .
Opencart strips input html codes and then shows them as plain text.
How can i prevent Opencart From stripping banners title input?
try this:
$my_banner_caption = html_entity_decode($my_banner_caption, ENT_QUOTES, 'UTF-8');
Where in sitecore do I configure what fields are displayed when I click this button? (Currently, it lists 3 of the 7 fields that are on the template, I'd like to add another to be editable).
Screenshot
It is one of Edit Frame buttons. When you open your control markup, you see something like this:
<sc:EditFrame ID="editFrame" runat="server" Buttons="/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Default">
...
</sc:EditFrame>
It differs for MVC, but is similar. You need to get Buttons attribute value.
When you open /sitecore/content/Applications/WebEdit/Edit Frame Buttons/Default path in core database you see list of children. It is your buttons. For your case it should be only one button: Edit Item. This item has Fields field where using pipe as delimiter is list of fields that are available for editing.
I have two radio buttons and on the selection of one radio button i want to show the textbox. if the user selects the radio button with the value of "other" then display the textbox, if its anything else dont display the textbox.
apply_type= (
('Online',_('Online')),
('Others',_('Others')),
)
how_to_apply = models.CharField(verbose_name=_('How to Apply'),max_length=255,null=True, choices=apply_type,default='Online')
How can this be done in django?
One way is to just use javascript client-side to show an input when a certain radio button is checked.
If you want to do it in django, you could use a form wizard and have the selections that are made on the first form affect the rest of the forms that are displayed.