I created my own CE in TYPO3 6 and I do get the options "Language", "Columns", "Before", ... , and "Index" in my General Tab when I open the CE in the Backend.
But now I updated to TYPO3 7.6 and I do NOT get the listed options. Only when I use the extension "compatibility6" I do see them.
Here is my TCA configuration:
// Backend configuration
$TCA['tt_content']['types'][$pluginSignature]['showitem'] = '
CType;;4;button;1-1-1, header;' . $locallangXml . ':header,
--div--;' . $locallangXml . ':tabs.plugin,pi_flexform;' . $locallangXml . ':header.plugin,
--div--;' . $locallangXml . ':tabs.plugin,pi_flexform_CType;;;;1-1-1,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime, fe_group, colPos, l18n_parent,l18n_diffsource, backupColPos,
tx_gridelements_backend_layout,tx_gridelements_children,tx_gridelements_container,tx_gridelements_columns';
Finally some screens to show you my problem.
Typo3 7.6 with installed extension "compatibility6"
With installed extension
Typo3 7.6 without the extension. Important features are missing! How do I get them back?
Without the extension
You are using palettes which have been removed from the core and have been migrated to the extension compatibility6. Check out https://github.com/FriendsOfTYPO3/compatibility6/blob/master/Configuration/TCA/Overrides/tt_content.php#L167-L192 for an example.
So instead of using ;;4 you can use ;;general or you copy the palettes from the compabiltity6 ext to your own own.
Related
Im working on Flutter web and I want to render an html code. Since flutter_webview_plugin doesnt support flutter web yet Im using IFrameElement and HtmlElementView. But I have this problem when using dart.ui, platformViewRegistry method isn't defined.
Error message:
The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix.
import 'dart:ui' as ui;
......
ui.platformViewRegistry.registerViewFactory(
createdViewId,
(int viewId) => html.IFrameElement()
..width = MediaQuery.of(context).size.width.toString() //'800'
..height = MediaQuery.of(context).size.height.toString() //'400'
..srcdoc = """<!DOCTYPE html><html>
<head><title>Page Title</title></head><body><h1>This is a Heading</h1><p>This is a paragraph.</p></body></html>"""
..style.border = 'none');
Example Code From: https://stackoverflow.com/a/60089273/12789200
I read some solution to solve this problem. But I don't want to downgrade my flutter version. Since in the past month Flutter has a lot of changes
Flutter Doctor
[√] Flutter (Channel beta, 1.22.1, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] VS Code (version 1.49.3)
[√] Connected device (3 available)
Is there any other solution for this problem? Or another example I can used for WebView on Flutter Web.
Up to my knowledge I have tried several solutions and apparently there is a problem in the 'dart:ui' package .
The solutions I've tried are:
Tried using a WebView widget //Failed No web support yet
Tried rendering on HTML instead of CanvasKit //UI will look rubbish
Tried editing on the **analysis_options.yaml**
Tried adding a comment above the code that said //ignore: undefined_prefixed_name
All these solutions referred to other errors, the solution was to use a package called:
universal_ui from the https://pub.dev/packages/universal_ui , which is apparently the same as 'dart:ui' package, but with all methods included.
Hope this works for you !
I would like to to read my bim360 models which is in otg format in my Forgeviewer (version 7.3). The projects have been converted using the https://otg-bim.herokuapp.com/ app.
Is there any guidelines of how to make my Forge viewer read otg format from Bim360? I found this guideline (https://github.com/wallabyway/OTG-client-sample/blob/552c78b1fe8e1177f6694fd947a17fd189a8505b/public/js/ForgeViewer.js#L26-L29), however it uses Autodesk.Viewing.ViewingApplication which I find in version 2 of the Forge API, but not in version 7.3.
You can use this version of the ForgeViewer.js to work with latest versions of the viewer. https://github.com/jaimerosales/OTG-client-sample/blob/master/public/js/ForgeViewer.js
It seems that it is the same svn. Fault was that options requires autorization, even though I am allready autorized through bim360 login. Providing the access token there, uncomment useCookie and useCrentials and it works.
const options = {
env: 'FluentProduction',
api: 'fluent',
//useCookie: false,
//useCredentials: false,
accessToken: "add access token even though you are allready authorized in in bim360"
};
So far, I have seen a significant improvement loading using otg :-).
The latest version of svf2 works fine when using buckets instead of bim360. I have not vertified it with bim360. Example code which was helpfull for me was this npm package. https://www.npmjs.com/package/ng2-adsk-forge-viewer
I'm having trouble using heatmap.js with Angular 8.
It works fine while serving it live, but I get the following error when I run the production build:
ERROR TypeError: "setting getter-only property "data""
on my component
import * as h337 from 'heatmap.js';
.
.
.
heatmap() {
...
const heatmap = h337.create(options);
const datos = {
max: this.max,
min: this.min,
data: data
};
heatmap.setData(datos);
...
}
I had similar problem and then when I updated angular from 8.0 to 8.2 neither the serving worked. As it turned out there is a problem with the img.data being explicitly set (search for the error you will find more details).
There is an already opened issue at https://github.com/pa7/heatmap.js but it seems that the latest merge in the project was 3 years ago and it is not that active.
So either you fix the bug yourself (in your forked version of the repo) or you use an already forked repo.
I did the second and it seems to work fine. The only thing you need to do is replace the heatmap.js dependency in your package.json.
npm install --save https://github.com/ionata/heatmap.js.git
so at the end your package.json will have this entry:
"heatmap.js": "git+https://github.com/ionata/heatmap.js.git"
Related to this 3-year old question.
Is a way to see if the "Index" and "Query" boxes where checked when a Couchbase server was configured?
I am dealing with a Couchbase 4.0 server that someone else configured, and I'm having problems running N1QL-queries, frequently returning "Requested resource not found.".
Any help here is greatly appreciated.
From the UI, you can click on "Server Nodes". Each node in the cluster will have the services listed:
You could also use the REST API to find this information. For instance, if you use the /pools/nodes endpoint, you'll get a list of nodes which contains a property "services", that will list the available services. Here's a snippet of a typical response:
// . . . snip . . .
"nodes": [{
"services": ["index", "kv", "n1ql"],
// . . . snip . . .
In my drupal site, I have installed the gmap module. But that is in version 2.115. Now I got a mail from google that update the google API version. I have generated the API key version 3. But no idea about implementing them to the module files.
drupal_set_html_head(' $query))) .'" type="text/javascript">');
This I changed to
drupal_set_html_head('');
Also in gmap.js
obj.map = new GMap2(elem, obj.opts); changed to obj.map = new google.maps.Map(elem, obj.opts);
But after adding this, Javascript is required to view this map. is showing.
Please help me
See this thread on d.org. There are several patches and solutions.