Get Page Name/ID of Content Element in Backend Edit View - typo3

I'm new to Typo3.
Inside the Configuration section of my own Content element I need the ID or name of the Content element's page. How would you implement that?
I already tried to use flux:field.input but I dont know what to do with typoscript.

record.pid was the thing I was looking for!
<f:debug>{record}</f:debug>

Related

TYPO3: pass categories to mask content element

In a TYPO3 8.7 project I am using a DatabaseQueryProcessor to fetch the categories of a page and pass them as a parameter to fluid. Works.
But I want to have these categories in a mask content element as well. What is the best approach to achieve this?
Thank you!
I found a solution myself.
Problem was that I used the data processor on the page template level. Now I moved the data processor to a single typoscript object of type "FLUIDTEMPLATE" which is accessible inside a mask template as well.

TinyMCE get form content without using submit button

I'm trying to put TinyMCE on my website. I figured out how to get it to show up, but I'm lost on how to process the content. In their example, they just have a link that references the top of the page and clicking on it somehow magically causes their dump.php script to execute. I don't understand what's going on here. Here is the link:
http://www.tinymce.com/tryit/basic.php
The "Submit" button at the bottom is really a link in a span element with href="#". The form action is dump.php. I want to know how they configured this to run without an actual submit button. Any help in understanding this is greatly appreciated!
To Get Content From Tinymce You Can Use GetContent Method of Currently ActiveEditor Instance
tinyMCE.activeEditor.getContent();
method is used to getting Content .. to Set The Content
tinyMCE.activeEditor.setContent("I Want Text To Be in Tinymce");
to find a perticular element in tinymce get body and find element
var body = tinyMCE.activeEditor.getBody();
$(body).find("#elem_id")
to get a full html
tinyMCE.activeEditor.getDoc().documentElement.innerHTML
hope that helps ..
Since I use PHP, I found this which is also useful:
http://www.tinymce.com/wiki.php/TinyMCE3x:How-to_implement_TinyMCE_in_PHP

Generic component in CQ5 page

My question is very basic . I am creating a new template and in that template, I will have a concrete structure using DIV elements. But in almost 7-8 if the DIV's, I need the data to be entered by the user.
What component/line of code I can use to have all those 7-8 DIV's editable and customizable by the page creator ?
I tried multiple paragraphs with :
<cq:include path="par" resourceType="foundation/components/parsys"/>
But only the top one appears on the page. !!
For having multiple paragraph just rename the path value in the cq:include tag. also check here

Fetching content from subpages of current UiD

I'm developing my first site in TYPO3, currently I have a structure that looks like:
Page1
subpage1
subpage2
subpage folder -> with images
Page2
subpage1
subpage2
subpage3 folder -> with images
What I want to do is load content from subpages of Page1 into my subpage(say images from folder would part of slider, subpage1 would be main content and subpage2 would be sidebar content.
The idea is to use templavoila and map it via Typoscript object.
Now the problem I'm facing is, I have no idea how to fetch content from current UID subpages. How would I do that in the mentioned context?
I'm not asking for a done solution, just point me in the right direction or show similar example etc.
Thanks. :)
You would need to get the list of pids first and then you can use the CONTENT TS object. Properly you can use the stdWrap.cObject property to generate your list of page ids just inside the CONTENT object.
Post a comment of you need an example.

Plone/XDV Related Item Overlay is Empty

I have a Plone 4 site using collective.xdv for the theme. Overlays for the login and contact form work fine.
But if I go to edit > categorization tab and try to add a related item, the overlay is blank. Looking at it in Firebug, the tags are correct down to div.overlaycontent. But inside of that div is my static HTML from the XDV theme's index.html.
Is there a special rule that I need for the overlays?
I cannot use plone.app.theming because this site is using more than just Plone.
In the xdv configuration(or append "##xdv-settings" onto site url), you can add unstyled paths.
I think what you'll need is:
^.*/referencebrowser_popup(\?.*)?$
or
^.*refbrowser_popup(\?.*)?$
If neither of those work, figure out the url that's being requested and add it as an unstyled path.