Jump to a specific part of a page in a moodle wiki? - moodle

I should create a moodle wiki and I have got some sections on my wiki-page. Now I would like to create a table of contents where The user can jump between the sections like on Wikipedia.
What I tried:
section1
...
<h2 id="section1">Section1</h2>
The problem I got is that when I save the page the id property will be removed from the tags

If you are using one of the latest version of Moodle, it is possible to make the HTML ids stick if you add you HTML markups within the Wiki HTML editor.
This has to be the ultimate change you do to the document. Once you have your HTML correctly tagged, directly hit the Save button without going back to the editor's preview mode. They should be available in the Wiki after that.
If you need to edit the page again, be sure to keep a local copy of your HTML structure, in order to avoid having to add the HTML markups again. They will be removed everytime you edit the page or if you switch from the HTML editor to the WYSIWYG preview mode.

Related

TYPO3 News Extension - How can i copy and paste content elements of a news entry?

If i created a content elements (f.e. text, image, plugins etc.) in a single news, i cannot copy and paste this content element again. Have I missed something or is it not working (yet)?
Thxs for support
Holger*
It is just not supported, only thing you can do is creating copy of such News record in WEB > List module.
It will create copy of the News itself and copies of all content elements in it. Then you can edit these records to have quite other News and/or CEs. Also if you'll make any change to copied CE it will not reflect the original one(s).

TinyMCE and Dynamics365

I have a TinyMCE editor working with Dynamics365. In it, I'm able to get images to copy and paste into the window. However, I'm wondering where these images get posted to and/or stored and what I need to do to bring them back up when the page is closed and reopened.
When I reopen the page I get a list of errors saying the images can't be found (makes sense).
Thanks
When you copy and paste the image into TinyMCE what actual HTML are you getting before you save the content? What plugins are you loading in TinyMCE to help facilitate the copy/paste? There is a free paste plugin and a commercial powerpaste plugin - these would typically result in slightly different HTML depending on the source of what you are copying.
Knowing what sort of HTML you get after the paste would be the first step in determining possible solutions.
We are using URLs for inserting the images into the page.

TinyMCE in MODX deleting rel attributes in my html links

I have an image gallery built with slimbox and it is in MODX. I need to be able to modify the link tags so the client can add in captions to each image. When you right click on an image in MODX in the TinyMCE editor you can edit the title tag which is where the caption comes from. The problem is when it is saved it is automatically deleting my rel attribute for the lightbox function.
I have checked the xconfig.js file in the TinyMCE folder but the rel attribute seems to be allowed. Do I have to edit this file (I have tried to no avail) or do I need to add a separate line of code to the actual page that the problem is occurring on?
Any help would be appreciated. Thanks.
Looking at the default setup for TinyMce in MODX REvolution it turns out img tags don't allow the use of "rel" by default.
'img[align<bottom?left?middle?right?top|alt|border|class|dir<ltr?rtl|height'
+'|hspace|id|ismap<ismap|lang|longdesc|name|onclick|ondblclick|onkeydown'
+'|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover'
+'|onmouseup|src|style|title|usemap|vspace|width],'
Did you changed this to allow rel? If you did it might just be a caching problem so you might want to clear all the manager caches maybe even flush permissions.

Sitecore copied item displaying wrong content

I'm new to sitecore have been tasked with creating some ppc landing pages for a client who's developer has moved on.
Their previous developer had created several of these pages in the past and the content is very similar so I have copied one of the previous pages and changed the content.
The problem is that the copy is still referencing the content of the original page, i know this as if i change the content of the original the copy also changes too.
The pages sub items are a mix of rich text fields and custom sublayouts.
Have I done something wrong or is this a bug? Can anyone suggest a fix?
Id imagine something like the reference to the subitems in the database has not changed from original.
How did you copy the previous page? In Sitecore you should be able to use either the Copy or Duplicate command, and be able to change the copied item without the original being changed (our content editors have a habit of doing this as well).
My guess would be that the sublayouts are pointing at a specific item, rather than the Context item, but that would be hard to say without code or ascx snippets.

How to edit content more easily?

i add content to my confluence page like a html
inside {html} tags. This page will be changed in future every week. It very difficult to understand html so quick for people who never don't work with html.
Is there any way in confluence to add a simple user interface form which helps to edit information inside html?
I know that confluence have embedded jQuery can anybody give advice how to do it better?
Thanks
Use the scaffolding plugin to Show only some special text fields for editing. Then you can hide the HTML code. But scaffolding is not ready for Confluence 4
http://wiki.customware.net/repository/display/AtlassianPlugins/Scaffolding+Plugin
You could download the page with Atlassian CLI, and parse out the section of html you want to modify, put that in your wysiwyg, and then inject it back into the downloaded html and post it back.
Of course it is as fun as it sounds.
An example of the content would help to answer this question.
One option is to put your content in a word .doc file, save it, upload it to the page. Use the office connector macro to display the content of the .doc on the page. The office connector plugin is free.
Note that Confluence V5 editor now has a basic set of editing features found in Microsoft Word.