Q: TYPO3 - RTE doesn't contain 'insert image' button [closed] - image

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
Hello stackoverflow friends,
i have a problem, i'm new to typo3 and want to create some text with image. i try it for some time now but i dont get it. I don't have an insert image button in my text editor. installed several extensions, CKEditor and stuff.
Here is an image of my symbols:
We tried "text & media" and "text and pictures". There is just no button for inserting an image.
Yours sincerely or so

"Text and Images" and "Text and Media" content elements don't add images to the CKEditor text; you add them with the "Images" tab and they are not "embedded" in the text written with CKEditor. They are written in the HTML wrapped with the markup necessary to create a grid of images with multiple rows/columns.
In the "Gallery Settings" box inside the same tab you can decide the position of the images with respect to the text.
If you want to add support for the images inside the CKEditor, you have to install the extension https://extensions.typo3.org/extension/rte_ckeditor_image/
You can find here some articles about how to customize the configuration of CKEditor on TYPO3:
https://typo3worx.eu/2017/02/configure-ckeditor-in-typo3/
https://usetypo3.com/ckeditor.html

Related

How to display WIRIS formula without the Editor

I am using WIRIS in my website to add questions to database. I need to display the question on the on the website without the editor.
I have retrieved the question from the database but unable to get the styling right. Instead, the question only displays numbers instead o a well formatted formula.
Is there a way to get the equations styled without the editor
You have to add <script src="https://www.wiris.net/demo/plugins/app/WIRISplugins.js?viewer=image"></script> to your html page's head tag and it will render your MathML formula as image.
Please refer documentation provided by wiris
https://docs.wiris.com/en/mathtype/mathtype_web/integrations/mathml-mode

Hide certain posts on tumblr home [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I would like to hide certain posts on my tumblr homepage that have the a specific tag (#journal). I've already tried some codes, but it didn't work.
Here is my actual HTML code:
pastebin.com/JT4KtyVz
My tumblr:
http://heynotspecial.tumblr.com/
Do you guys know how to do that?
Sorry, not used to post code here :(
You need to identify a commonality for posts that have the Journal # tag. I suspect there could be a class name applied to posts with this tag.
You can apply this rule in your CSS stylesheet to hide div elements with the infscrjournal classname.
{block:HomePage}
div[class~=infscrjournal] {
display: none;
}
{/block:HomePage}
**** you need to surround the code with the homepage variable to make sure it only appears on the first page and nothing else. Try that

LibreOffice: Text for footer of last page [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to create a custom LibreOffice Writer template of our company. This template should include a disclamer in the footer of the last page of each document.
In our existing M$ Word template we use a field with "IF({current page}={last page};...", but LibreOffice seems not to be able to use the current page number in conditional texts.
The LibreOffice Help page says:
You cannot use internal variables, such as page and chapter numbers, in condition expression.
Using a custom page style for the last page also seems not to be a good decision, because if someone inserts too much content into that "last page" and causes an automatic page break then he gets the disclamer twice.
How can I create a footer in LibreOffice that will automatically be shown on the last page of a document, but not on any other page?
edit: I managed to write a macro that can insert a page break for the last page. Still not the complete solution, but might be a way to go:
Sub PageBreakForLastPage
' create cursor
Cursor = ThisComponent.CurrentController.getViewCursor
' move to start of last page
Cursor.jumpToLastPage
Cursor.jumpToStartOfPage
' create page break
Cursor.BreakType = com.sun.star.style.BreakType.PAGE_BEFORE
Cursor.PageDescName = "First Page"
End Sub
We had the same issue using the OpenOffice template engine (i suppose it's the same :D) and the only way to solve this problem was to add a footer with a custom field for the page number and fill this after each page is created.

Like Button: Make Facebook NOT take specific images [duplicate]

This question already has answers here:
Closed 11 years ago.
I'd still like my users to have a choice of image to select when sharing links from my site but I would like to restrict certain images from showing in the Facebook sharer. I don't want to select a specific image using meta tags (this has been suggested often).
Would appreciate any help!
EDIT (9 Jul 2012): This question is not an exact duplicate to any others on stack overflow. I asked for a method to restrict images from showing without specifying OG or meta tags, unlike others who have simply asked how to show a specific image. Why do people on this site assume (and rate my question down) before even reading it carefully and considering whether it is a duplicate.
The only way to do this is to specify multiple og:image tags of images that you want to allow and then the user will be able to choose from the images you select.

Looking for Greasemonkey Scriptwriting basics/tutorial [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have been searching the internet for days now trying to find out how to write my own script, one more complicated than the "Hello World" script.
I understand for the most part how to find specific elements using firebug (I have Firefox). I understand the metadata and how to do all that.
I do not however understand how I am supposed to get whatever I want into the page. Be it links or tabs for Facebook or other sites.
Can anyone help me get a full tutorial/guide that is up to date and easy to understand for total scriptwriting beginners?
From what you have described in the, I suspect that anything that meets your criteria will actually just be a Javascript tutorial with some extra Greasemonkey-specific sections / focus
There's not links to many guides and tutorials (might add them in later) but I really think that what you need is a beginner's guide to Javascript such as sections 1-8 (except 5) of the one provided at the Mozilla Developer Network.
Greasemonkey stuff:
Specifically, the Greasemonkey-related topics that you will need to read up on are related to the DOM, altering styles of DOM nodes, and the Greasemonkey API. All else that you need will be generic Javascript that will be specific to the script you are creating.
DOM Manipulation:
Inserting / editing / deleting "nodes" ( in the HTML code) - for example, <a>nchors, <div>s, <img>s
This is how the extra links and tabs etc are added into the page.
Specifically, look into appendChild(), createNode() and insertNodeBefore().
DOM Traversal
Moving around the DOM (HMTL Document) and selecting where to insert the new nodes / selecting which nodes to editor delete.
Specifically, look into XPATH, getElement(s)By_____, parentNode, querySelectorAll()
Introduction to using XPath in JavaScript - XPath | MDN
Node.parentNode - Web APIs | MDN
CSS Using Javascript
The basics of changing the CSS of a node are to either use .setAttribute() to set the 'style' attribute, or to alter specific CSS properties using nodeReference.style.cssAttribute = 'value'.
Greasemonkey API
Again, this stuff will be specific to what you want to use within the script you create but the basics include GM_getValue(), GM_setValue(), GM_log()
Greasemonkey Manual:API - GreaseSpot Wiki
Look at Greasemonkey Hacks archived, especially the part Avoid Common Pitfalls archived - I'm often returning to the latter.
Edit: the original links are dead, added links to recent archived version in superscript.

Resources