Does tx-news work with the workspaces preview? - typo3

Does tx-news extension (v7.3.1) work with the workspaces feature of TYPO3? The documentation at https://docs.typo3.org/p/georgringer/news/7.3/en-us/Misc/MissingKnownErrors/Index.html only mentions known problems with versioning feature.
When a record is created in a preview workspace, can it be previewed correctly?
thanks
s

I tested it and I'm happy to say that news & TYPO3 v9.x work very well with the workspaces feature (see attachment of preview page).preview of workspace changes with news EXT

Related

TYPO3 – TypoScript auto-complete in backend

It's just a simple question but couldn't find any helpful solution or hints...I have the current TYPO3 version and watched some videos on YouTube about it and wondered why I have no autocomplete when writing some TypoScript.
I saw it in this video: https://www.youtube.com/watch?v=ZCSIK3lFfwM&list=PL1D69sw7eWECaiqIOLhcSnjgTTjLJdd4I&index=5 at 03:45
Is it possible to do it in the newest version or do I have to use an IDE?
First install the extension ts3editor.
Then you can "activate" auto complete just by pressing CTRL+SPACE. For example, write:
->config.
then press
->"CTRL+SPACE"
then the autocomplete advice/suggestion will pop-up.
I use version 9 and it works fine.
The TYPO3 core offers the extension "t3editor", which is based on CodeMirror and provides syntax highlighting and codecompletion.
I suspect it just isn't activated in your TYPO3 instance. You can check this in the Extension Manager in your TYPO3 backend.
1st edit: As the extension seems to be working in general – please try writing config. on a new line in your editor. The Top Level Objects (e.g. config) aren't auto-completed in the backend, but it should open a box with suggested configurations after you wrote the dot.
t3editor has some restrictions: Nesting isn't supported (see example below). I read it can have problems inside conditions, too.
// This is auto-completed:
config.no_cache = 1
// This isn't:
config {
no_cache = 1
}
In short: t3editor can only help you to a certain degree. It is considered best practice to save all TypoScript (and everything else related to templating) in files into a dedicated templating extension (or sitepackage) and use an IDE. There are TypoScript auto-complete plugins for several editors and IDEs, for example PhpStorm.
If you want more information about using sitepackages, see this video series on YouTube by the offical TYPO3 account, or take a look at my personal templating extension which I use for new websites.
2nd edit: After you wrote you're using the Sprint Release 9.1.0, I was able to test the behaviour in this version and can confirm that code completion won't work in it.
Actually, that seems to be the intended future behaviour of t3editor for the TYPO3 core team. They want to remove this extension in TYPO3 v10 altogether (it's planned to be available on GitHub then). The reason is that they don't recommend to use/save TypoScript directly in the database, but in a separate template extension (see explanation above).
Sources:
TYPO3 Bug tracker, issue #81885
Communication platform TYPO3 Slack, Channel #typo3-cms-coredev, Nov 19th, 2017
So again, I recommend to use an API instead.

Can I use the atto editor for my website?

Atto editor is an editor built specifically for moodle. It has the option to pick images from my own personal computer instead of choosing an image from the server.
Can I use this editor for my website? If yes, then how?
I have tried using tinyMCE and CKeditor but the image browsing function was not working. I have the atto editor plugin installed but it doesnt seem to work. Nothing much is available on the net for atto editor as a standalone, it is used in moodle only.
Atto was written for Moodle and is designed entirely to work within Moodle. It may be possible to rewrite it to work independently of Moodle, but I'm guessing it would be quite a lot of work to do so.

TYPO3 RealURL does not generate link in workspace

Does anybody know, if TYPO3 extension RealURL has support fo workspace?
If I switch to workspace and click to preview each of links on page has href="mydomain.com/index.php?id=xxx" instead of href="mydomain.com/page-1".
In LIVE version everythings OK
I have used automatic conf of RealURL and I have multidomain page...
The Workspace Preview may look like the Frontend, but in fact it runs in Backend context. The Backend may run on a different port, with a different URL etc. and therefore you don't have speaking URLs available in this context. So there is no solution, as far as I know.
Does anybody know, if TYPO3 extension RealURL has support fo workspace?
No, RealURL does not do anything when working in a workspace. This is by design.

CSS property wizard in PHP project using NetBeans

Long time reader, first time asking a question.
Most of my development work has been in .NET using Visual Studio. Recently I took over maintenance of a website built on PHP and downloaded NetBeans as an IDE.
NetBeans has a very nice CSS property wizard for HTML projects that highlights the CSS rules in use for a particular element and lets you edit the rules directly. However, this doesn't appear to be available for PHP projects, even for pure HTML files within the project. Is that correct, or am I just missing some configuration? I can't seem to find any confirmation either way in the documentation or forums. (It would be unfortunate if it didn't work... it's a really useful feature.)
Thanks,
Terry
If you are referring to the visual CSS editing support that works with Google Chrome and the WebKit browser embedded in NetBeans, then this feature will be available for PHP projects in the upcoming NetBeans 7.4 release. See also this blog post: https://blogs.oracle.com/netbeanswebclient/entry/html5_development_with_java_ee
Hope this helps,
Petr

Plugins + Extensions on Safari 5.0.1

My question is very simple: Is it possible to pack plugins into extensions for Safari? For instance, the exact NPAPI plugins which work on Google Chrome also work on Safari. However in Chrome I'm shipping the plugins as a part of an extension (a CRX package). This is needed because HTML and JavaScript is injected into a specific web page, and this code uses the plugins. I do not see an option in Extension Builder to specify plugin files and I haven't come across any proper documentation saying that plugins cannot be packed into extensions.
Any help will be greatly appreciated!
The first comment:
I don't think that is supported. A workaround could be a custom installer that installs both the plugin and the extension. – Georg Fritzsche
This is the only possible way to do it! FYI: Apple guys are against the idea of extensions accessing native code (ie, plugins). An obvious security loop-hole, but a necessity here! :)