Want to add google ads code in editor in Drupal - drupal-7

I want to add google ads code in a content type but when I try to do this editor remove ins tags from ads. I am using ck-Editor in Drupal 7.x
Thanks

I haven't check adding Google Ads code in CK-editor but if "tags got removed" is only your problem you can fix this by following the below instructions.
1. Navigate to admin->configurations->Text Formats.
2. Select a format FilterHTML/FullHTML for change its configurations.
3. On the edit form you will be able to insert tags which you want to allow by CK-editor from you editors source code.
This will appear by default, but if not for you please select the check box options "Limit allowed HTML tags" above in the form. Now clear you cache and check. It might resolve your issue.

Related

The wagtail example of using entities isn't working for me

The Wagtail example of using entities as given in this page of documentation isn't working for me. I am following the third example of using Entities which is supposed to create a button for stock price but no button is appearing for me in the rich text field in the admin editor. I have created a minimum reproducible example which demonstrates just this problem. https://github.com/kiwiheretic/stockentity. I am using Wagtail 4.1.1 which I understand is the latest version.
Can anyone help me see what I have missed and why the button doesn't appear as expected?
This or a similar question was asked in the Wagtail Slack. To get the button to appear, it either needs to be included in the features list when you create a new RichTextField OR you need to add it to the default configuration using the WAGTAILADMIN_RICH_TEXT_EDITORS setting.

How Embed Gist in Wagtail?

How to insert dynamic gist code in the middle of posts generated by Wagtail (Django Cms)?
I searched the documentation of wagtail but did not find anything that could help me automatically insert the github codes.
Gist is one of the built in content types supported by Wagtail's embedded content feature. Within a rich text field, editors can use the 'media' toolbar icon to enter the URL to the Gist page, and it will appear embedded in the rich text content. Within a StreamField, the developer can EmbedBlock to the set of available block types, and the editor will then be able to enter the Gist URL into that field.

How to setup the Pre-Chat form for Live Agent in Salesforce?

I am newbie to the salesforce and working on the Live Agent setup and its other useful features. Now I am looking to implement the Pre-Chat form, but I dont see the option to choose form. I see the below, Could you please guide what setting needs to be done ?
I have created a custom VF page and now I want to choose that form. But I dont see that option. I created the Pre-chart form using : https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_pre_chat_forms_code_sample.htm
For that we need to register the site for your own force.com site like below and then only you will be able to see the
And Now you will be able to see
Paste the URL of the page eg. https://cs-19.salesforce.com/apex/PreChatForm in the Pre Chat Form field

Using intermediate appPage xpages mobile

I have a simple issue, but I don´t how to solve the problem.
Using XPages Mobile controls, I have a document with some actions, and one of them is "Send to Signature".
The workflow is: select the signer of document (from names) and send to signature.
I need to show for the current user, one field to select the signer (I already have a field with typeahead funcion to select him).
I would like to use an intermediate appPage for this, but when I´m in the new appPage, the currentDocument is gone.
How can I use the same document (opening from a dataView) for solve this problem?
Can I navigate between appPages (inside SinglePageApp) using the currentDocument??
Thanks in advance
It might be worth looking at Mobile Value Picker on OpenNTF. The mobile prefix may need setting in XSP Properties to "Mobile_" (or it could be that I messed around with the development version after the last upload). But it gives code to have a button / link to go to a subsequent appPage to select values from a list. It starts from a DataView, to a document, to the selection page.
The project has not changed for a couple of years, but I've just tested it in Chrome setting user agent to Android and it still seems to work fine on 9.0.1 FP2.

Drupal wysiwyg menu not showing

Drupal 7, wysiwyg module with the ckeditor library installed. The text formats are configured. I have used and set up this module/editor configuration various times with no problems, so I'm baffled.
In this case there is simply no editor showing at all in the content creation pages, just the default text box.
Any ideas?
Kind of late to the party, but I just faced this issue and managed to solve.
What i did was:
1) Go to /admin/config/content/wysiwyg
2) for each entry under "text format" I clicked edit.
3) expanded "Show Buttons and plugins" and checked all of them
4) cick save
Worked for me...
In case anyone else is having this issue - I just managed to fix it for a role by allowing them to view the admin theme
I had a similar issue, but here the wysiwyg menu was not showing only for one of my content types.
I have de JQuery Update module installed. The problem was solved when I went to /admin/config/development/jquery_update and changed the Default JQuery version for administrative pages from 1.7 to 1.10.
It was working fine for me. Let me describe the working example.
1) Download drupal 7 wysiwyg module
2) Go to CKEditor download or else v3.5.3 .Please only download version 3.5.3 because other versions may be giving problem. (Read it more from here)
3) After downloading the editor library, put it into sites\all\libraries\ckeditor .
4) Goto -> admin -> configuration -> Wysiwyg profiles
if you placed library correctly into " sites\all\libraries\ckeditor ", then you can see the edit options.
According to your need set the options.
5) Go to content creation area, here you can find your result based upon your setting.
ie, if you enabled it for Full html text format, it will be available only when you set text format as Full Html.
Please see the attached image for more help.
can you try to disable the menu that is created inside the node editing if this option is checked, save your node without this option and see if it works
I had a simular problem. All the answers I found previously did not help me.
The solution for me was the following: disable the "Aggregate JavaScript files." option!
You can find this option under: Configuration -> Development -> Performance
I hope it helped

Resources