When inserting iframe via page embed plugin and setting the 'name' parameter to iframe, it does not exists in resulting html source.
It's also actual in plugin demo at page https://www.tiny.cloud/docs/plugins/premium/pageembed/ for tinyMCE v5.
Is it possible to fix it in one of the nearest releases?
iframe dialog
html source code
Related
I would like to render a page which just has a tt_content element on it (so I can Ajax it into another page). However, due to the way it needs to be set up, this content element needs to remain uncached until rendered.
The same plugin renders perfectly fine when adding via TYPO3, however I want to be able to taget this plugin via JavaScript (without having to load the whole page again).
How can I render the content on the page? When I do the following I get the uncached INT_SCRIPT marker - is there anyway I can force this to render on page load (or make it a “cached” element when selected?
$content = $TSFE->cObj->cObjGetSingle('RECORDS', [
'tables' => 'tt_content',
'source' => 123
]);
$response->getBody()->write($content);
I'm using TYPO3 9.5.
Thanks for any help in advance.
(I found this but the solution doesn't work: How to render INT_SCRIPT in StandaloneView?
You could work with a simple uncached page setup provided as another page type and then target that page with your AJAX call.
A solution for that approach has been provided here: TYPO3 Ajax Page Configuration
I'm trying to select facebook comment form that is under each post using a content script of a chrome extension. Unfortunately after inspecting the DOM I've noticed that they use a lot of divs and I'm unable to find the correct one beacuse of the class names. I think they are using react or angular to generate the dom. Is there any way to achive my scope?
I want to create a Salesforce Web to Case from on my Kentico Site.
I have a template built and am inheriting the from that.
I create a new page and then add my form code to the Page Tab > Source and Save.
When I load the page on my site, the form is displayed, but when I hit submit, the form does not do the post action.
How do I accomplish this?
TIA, Jason
Since Kentico is built on web forms, each page's content is wrapped inside a form tag.
Adding your markup (including a form tag) in the middle of a Kentico page results in a nested form, which is invalid.
The quickest way to make this work is probably:
Create a basic HTML document with your markup, and put it on a new page in a "Custom Response" web part. https://www.screencast.com/t/PuwwnFTGGpAJ
Then display that new document in an iframe on your current page.
If that won't work, you can put your form markup in a div hidden by CSS. Then use javascript to move the div to a location after the page's main form tag. You can then use CSS to absolutely position the form on the page.
I hope this is helpful, good luck.
I've put like button on joomla site with cyrillic text:
http://womanew.kz/index.php/2011-10-22-01-42-12/2011-11-01-05-34-04/147-2011-11-07-06-22-02
When I push like button facebook's scraper incorrectly encodes the page.
Also I've created static test html page equal to this URL (http://womanew.kz/test.html), and it scrapes well.
All two pages have equal content, but the problem page is generated from Joomla PHP script.
Also I've noticed that scraper reencodes not full document (it keeps head block unchanged), please see its "See exactly what our scraper sees for your URL" debuging page on facebook.
What can I do to struggle this problem?
When I did this I use this manual and didn't have such problem. This is for Joomla website:
1.Go to the Facebook developer page here: http://developers.facebook.com/docs/reference/plugins/like-box
2.Enter the page number (found in your Facebook page URL) of your Facebook page.
3.If you don't have one, go to Facebook Create Page wizard and create a Brand >> Website page for your site.
4.Enter the height (typically 400 pixels) that you want for the Like widget
5.Click the Get Code button to generate the Facebook Code.
6.Open the Joomla Administrator on your site
7.Navigate to the Module Manager
8.Click the New button
9.Select Custom HTML
10.Paste the code into the HTML box (make sure the editor is turned off).
11.Give the module a name
12.Click the Hide Title radio button
13.Select the Module Position where you want the widget to appear
14.Click Save
Also, take a look at http://www.abolkog.com/portal/tutorials-how-to/100-how-to-add-a-facebook-like-box-to-your-joomla-site
Hope, it will help you!
I've found a bug in the site. One of joomla's modules was truncating UTF-8 strings in byte boundaries and this was created one-byte bug character in the page, after this character scraper starts using incorrect encoding.
I´m trying to place a Facebook button - count on a site.
I´m building the site all the way through javascript.
So I´m adding an iframe inside a div (created through javascript) created used createElement('iframe'). I´ve added the iframe properties as the code I got from facebook page.
The problem is:
In the src iframe property, I have layout setted as 'button_count' (as I want a button_count layout for the site), but it appears as 'standard' layout.
Any help?
Thanks :)
I´ve just changed the src to another one and now it works :)